Files
Authorizations
AuthorizationstringRequired
Bearer token authentication. Pass the session token obtained from /auth/sync.
Body
filestring · binaryRequired
Image file (jpg, jpeg, png, webp, heic, heif)
Responses
200
Photo uploaded successfully
application/json
urlstring · uriOptional
Full URL to the uploaded image
keystringOptional
S3 file key (e.g., reloc/uuid-filename.jpg)
400
Bad request
application/json
401
Unauthorized
application/json
500
Internal server error
application/json
post
/upload/relocalizationPath parameters
fileIdintegerRequired
File ID
Responses
200
Conversion result
application/json
messagestringOptional
conversionTimestringOptional
Time taken for conversion (e.g., '2.34s')
400
Bad request
application/json
404
Resource not found
application/json
408
Conversion timeout
500
Internal server error
application/json
post
/upload/{fileId}/converted_fileQuery parameters
fileIdintegerRequired
ID of the file to retrieve
Responses
200
File information retrieved successfully
application/json
or
400
fileId is required and must be a number
application/json
404
File not found
application/json
500
Failed to retrieve file
application/json
get
/upload/convertBody
filestring · binaryRequired
File to upload. GLB files will be automatically converted to USDZ.
Responses
200
File uploaded successfully. If GLB file, conversion completed.
application/json
or
400
File is required or invalid
application/json
500
Upload or conversion failed
application/json
post
/upload/convertLast updated