Create File

HTTP Request

POST/gallery/api/v1/files/

Example Response

{
"id": 0,
"site": 0,
"file_size": 0,
"content_type": "string",
"created": "2026-09-08T14:40:54.737Z",
"modified": "2026-09-08T14:40:54.737Z",
"deleted": "2026-09-08T14:40:54.737Z",
"uuid": "770bba28-9f80-4d40-9c51-6e022364af91",
"source_ref": "string",
"file": "http://www.example.com",
"accepted": false,
"caption": "string",
"ordinal": -2147483648,
"file_type": "string",
"private": false,
"model": "string",
"tagged_date": "string"
}

NameDescription

source_ref

string

A unique reference to use for linking records back to *your* system. NB: This must be unique across the entire Prop Data system, so it's best to use a consistent prefix unique to your integration to avoid conflicts with other api consumers.

file

required

file

File

accepted

boolean

caption

string

ordinal

integer

file_type

required

string

private

boolean

model

required

string

tagged_date

string

Responses

201
400 Bad request body
403 You do not have permission to perform this action
500 Internal server error
503 This website is not active