PropertyPixel Uploads API
Signed uploads from a script, and no-login upload links for a phone.
Signed uploads from a script, and no-login upload links for a phone.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/propertypixel-app:propertypixel-app-uploads-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: PropertyPixel Uploads API
version: 1.1.0
summary: Enhance and stage real estate photos, and turn them into listing videos.
description: 'The PropertyPixel REST API covers the photo workflow (create projects, add photos, enhance and stage them, and download the results) and listing videos made from those photos. The MCP server at `https://mcp.propertypixel.app` exposes these operations as tools.
Authenticate with an API key (`Authorization: Bearer pp_live_…`) created in Settings → Developers, or with an OAuth access token. Each credential is bound to one workspace and spends that workspace''s credits.
Operations that spend credits use a quote → confirm flow. Errors are `application/problem+json` with a stable `code`. Guides: https://docs.propertypixel.app.'
termsOfService: https://propertypixel.app/terms
contact:
name: PropertyPixel support
email: hello@propertypixel.app
url: https://docs.propertypixel.app
x-logo:
url: https://propertypixel.app/branding/logo-full-teal.svg
altText: PropertyPixel
href: https://propertypixel.app
servers:
- url: https://api.propertypixel.app/v1
description: This deployment
security:
- bearerAuth: []
- oauth2: []
tags:
- name: Uploads
description: Signed uploads from a script, and no-login upload links for a phone.
paths:
/uploads:
post:
operationId: create_upload
summary: Start a signed upload
description: 'Reserve room in a project for up to 25 photos and get one signed URL per file. PUT each file''s raw bytes to its upload_url with exactly the returned headers, then call POST /uploads/{id}/complete with the storage_path, filename, size and content_type of every file that uploaded. Files must be JPEG, PNG, WebP, HEIC or HEIF, at most 25 MB each; a project holds at most 100 photos. The reservation expires at expires_at (about 15 minutes); complete before then. Files are stored exactly as sent, except HEIC/HEIF, which is converted to JPEG on completion. Downscale large images yourself (the web app uses a 2048px long edge).
Requires a connection with edit access.'
tags:
- Uploads
x-required-scope: write
parameters:
- $ref: '#/components/parameters/IdempotencyKey'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
project_id:
type: string
format: uuid
pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
description: The project the photos go into.
files:
minItems: 1
maxItems: 25
type: array
items:
type: object
properties:
filename:
type: string
minLength: 1
maxLength: 255
content_type:
type: string
minLength: 1
description: image/jpeg, image/png, image/webp, image/heic or image/heif.
size:
type: integer
exclusiveMinimum: 0
description: Exact size in bytes.
required:
- filename
- content_type
- size
required:
- project_id
- files
responses:
'201':
description: Start a signed upload
headers:
RateLimit-Limit:
$ref: '#/components/headers/RateLimitLimit'
RateLimit-Remaining:
$ref: '#/components/headers/RateLimitRemaining'
RateLimit-Reset:
$ref: '#/components/headers/RateLimitReset'
content:
application/json:
schema:
$ref: '#/components/schemas/Upload'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'409':
$ref: '#/components/responses/Conflict'
'422':
$ref: '#/components/responses/Unprocessable'
'429':
$ref: '#/components/responses/RateLimited'
'500':
$ref: '#/components/responses/InternalError'
/uploads/{id}/complete:
post:
operationId: complete_upload
summary: Complete a signed upload
description: 'Finish a signed upload: verifies each stored file (size, type and content) and adds it to the project as a photo. List every file that uploaded; files left out are discarded and their reserved room released. HEIC/HEIF files are converted to JPEG. Returns the new photos and a `failed` list with a reason per file.
Requires a connection with edit access.'
tags:
- Uploads
x-required-scope: write
parameters:
- in: path
name: id
schema:
type: string
format: uuid
pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
description: The upload id from POST /uploads.
required: true
description: The upload id from POST /uploads.
- $ref: '#/components/parameters/IdempotencyKey'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
project_id:
type: string
format: uuid
pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
description: The same project_id used to create the upload.
files:
maxItems: 25
type: array
items:
type: object
properties:
storage_path:
type: string
minLength: 1
filename:
type: string
minLength: 1
maxLength: 255
size:
type: integer
exclusiveMinimum: 0
content_type:
type: string
minLength: 1
required:
- storage_path
- filename
- size
- content_type
required:
- project_id
- files
responses:
'200':
description: Complete a signed upload
headers:
RateLimit-Limit:
$ref: '#/components/headers/RateLimitLimit'
RateLimit-Remaining:
$ref: '#/components/headers/RateLimitRemaining'
RateLimit-Reset:
$ref: '#/components/headers/RateLimitReset'
content:
application/json:
schema:
$ref: '#/components/schemas/UploadCompletion'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'409':
$ref: '#/components/responses/Conflict'
'422':
$ref: '#/components/responses/Unprocessable'
'429':
$ref: '#/components/responses/RateLimited'
'500':
$ref: '#/components/responses/InternalError'
/projects/{project_id}/upload-links:
post:
operationId: create_upload_link
summary: Create an upload link
description: 'Create a private link (with a QR code) the user opens on their phone or computer to add photos to a project, with no login. Use it when the user needs to send photos you can''t receive directly, such as photos on their phone. Share the url, or show the QR code, and tell the user the link works for 2 hours. Photos appear in the project as they upload. To follow progress, call get_project and read upload_link.status and upload_link.photos_received until status is done (the user tapped Done), or simply ask the user to tell you when they''ve finished.
Requires a connection with edit access.'
tags:
- Uploads
x-required-scope: write
parameters:
- in: path
name: project_id
schema:
type: string
format: uuid
pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
description: The project the photos go into.
required: true
description: The project the photos go into.
- $ref: '#/components/parameters/IdempotencyKey'
responses:
'201':
description: Create an upload link
headers:
RateLimit-Limit:
$ref: '#/components/headers/RateLimitLimit'
RateLimit-Remaining:
$ref: '#/components/headers/RateLimitRemaining'
RateLimit-Reset:
$ref: '#/components/headers/RateLimitReset'
content:
application/json:
schema:
$ref: '#/components/schemas/UploadLink'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'409':
$ref: '#/components/responses/Conflict'
'422':
$ref: '#/components/responses/Unprocessable'
'429':
$ref: '#/components/responses/RateLimited'
'500':
$ref: '#/components/responses/InternalError'
components:
schemas:
UploadLinkStatus:
type: string
enum:
- waiting
- receiving
- done
- expired
ErrorCode:
type: string
enum:
- unauthorized
- forbidden_scope
- forbidden
- upgrade_required
- not_found
- validation_failed
- insufficient_credits
- quote_required
- quote_expired
- quote_mismatch
- idempotency_conflict
- idempotency_in_progress
- conflict
- video_not_ready
- rate_limited
- upload_rejected
- internal
description: Stable machine-readable error code.
UploadLink:
type: object
properties:
object:
type: string
const: upload_link
id:
type: string
format: uuid
pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
url:
type: string
format: uri
description: Share this with the user. It opens a page that adds photos to the project, with no login. Treat it like a password.
qr_svg:
type: string
description: The same URL as a QR code (SVG markup), for scanning with a phone.
expires_at:
type: string
format: date-time
pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
status:
$ref: '#/components/schemas/UploadLinkStatus'
photos_received:
type: integer
max_photos:
type: integer
description: How many photos this link accepts (the project's free space).
project_id:
type: string
format: uuid
pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
required:
- object
- id
- url
- qr_svg
- expires_at
- status
- photos_received
- max_photos
- project_id
additionalProperties: false
Upload:
type: object
properties:
object:
type: string
const: upload
id:
type: string
format: uuid
pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
description: Pass to POST /uploads/{id}/complete.
expires_at:
type: string
format: date-time
pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
files:
type: array
items:
type: object
properties:
filename:
type: string
upload_url:
type: string
format: uri
method:
type: string
const: PUT
headers:
type: object
propertyNames:
type: string
additionalProperties:
type: string
storage_path:
type: string
required:
- filename
- upload_url
- method
- headers
- storage_path
additionalProperties: false
failed:
type: array
items:
type: object
properties:
filename:
type: string
error:
type: string
required:
- filename
- error
additionalProperties: false
description: Files rejected before upload (type or size).
required:
- object
- id
- expires_at
- files
- failed
additionalProperties: false
Problem:
type: object
properties:
type:
type: string
format: uri
description: Link to the documentation for this error code.
title:
type: string
description: Short summary of the error code.
status:
type: integer
description: The HTTP status code.
code:
$ref: '#/components/schemas/ErrorCode'
detail:
type: string
description: What went wrong, in plain language.
errors:
description: Per-field problems, for validation_failed.
type: array
items:
type: object
properties:
path:
type: string
message:
type: string
code:
description: A stable code for this problem.
type: string
account_id:
description: The account the problem is about, when it is about one.
type: string
required:
- path
- message
additionalProperties: false
retry_after:
description: Seconds to wait before retrying, for rate_limited.
type: integer
required:
- type
- title
- status
- code
- detail
additionalProperties: false
description: An RFC 9457 problem details object (`application/problem+json`).
UploadCompletion:
type: object
properties:
object:
type: string
const: photo_list
photos:
type: array
items:
$ref: '#/components/schemas/Photo'
failed:
type: array
items:
type: object
properties:
filename:
type: string
error:
type: string
required:
- filename
- error
additionalProperties: false
required:
- object
- photos
- failed
additionalProperties: false
Photo:
type: object
properties:
object:
type: string
const: photo
id:
type: string
format: uuid
pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
project_id:
anyOf:
- type: string
format: uuid
pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
- type: 'null'
filename:
type:
- string
- 'null'
room_type:
type:
- string
- 'null'
width:
type:
- integer
- 'null'
height:
type:
- integer
- 'null'
original:
anyOf:
- $ref: '#/components/schemas/MediaUrl'
- type: 'null'
thumbnail:
anyOf:
- $ref: '#/components/schemas/MediaUrl'
- type: 'null'
created_at:
type: string
format: date-time
pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
required:
- object
- id
- project_id
- filename
- room_type
- width
- height
- original
- thumbnail
- created_at
additionalProperties: false
MediaUrl:
type: object
properties:
url:
type: string
format: uri
expires_at:
type: string
format: date-time
pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
description: Signed URL expiry (about 1 hour). Re-fetch for a fresh URL.
required:
- url
- expires_at
additionalProperties: false
responses:
Unprocessable:
description: 'An Idempotency-Key was reused with a different body, or an upload was rejected. Codes: `idempotency_conflict`, `upload_rejected`.'
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
NotFound:
description: 'The resource doesn''t exist in this workspace. Codes: `not_found`.'
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
RateLimited:
description: 'Too many requests for this connection. Codes: `rate_limited`.'
headers:
RateLimit-Limit:
$ref: '#/components/headers/RateLimitLimit'
RateLimit-Remaining:
$ref: '#/components/headers/RateLimitRemaining'
RateLimit-Reset:
$ref: '#/components/headers/RateLimitReset'
Retry-After:
$ref: '#/components/headers/RetryAfter'
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
Conflict:
description: 'The request conflicts with the current state. Codes: `conflict`, `idempotency_in_progress`.'
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
Forbidden:
description: 'The credential can''t do this. View-only connections get forbidden_scope on writes. Codes: `forbidden_scope`, `forbidden`.'
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
Unauthorized:
description: 'Missing, invalid or revoked credential. Codes: `unauthorized`.'
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
InternalError:
description: 'Something failed on our side. Retry later. Codes: `internal`.'
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
BadRequest:
description: 'The request is invalid. Codes: `validation_failed`.'
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
headers:
RetryAfter:
required: true
description: Seconds to wait before retrying.
schema:
type: integer
description: Seconds to wait before retrying.
RateLimitReset:
required: true
description: Seconds until the window resets.
schema:
type: integer
description: Seconds until the window resets.
RateLimitLimit:
required: true
description: Requests allowed per window.
schema:
type: integer
description: Requests allowed per window.
RateLimitRemaining:
required: true
description: Requests left in this window.
schema:
type: integer
description: Requests left in this window.
parameters:
IdempotencyKey:
in: header
name: Idempotency-Key
schema:
description: A unique key (for example a UUID) that makes retries safe. A retry with the same key and body returns the stored response; the same key with a different body returns 422. Keys last 24 hours.
type: string
maxLength: 255
description: A unique key (for example a UUID) that makes retries safe. A retry with the same key and body returns the stored response; the same key with a different body returns 422. Keys last 24 hours.
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: pp_live_…
description: An API key from Settings → Developers (`pp_live_…`), or an OAuth access token.
oauth2:
type: oauth2
description: OAuth 2.1 with PKCE, for apps acting for a user. The user picks a workspace and access level on the consent screen.
flows:
authorizationCode:
authorizationUrl: https://llflgtovnkrsjqydycyu.supabase.co/auth/v1/oauth/authorize
tokenUrl: https://llflgtovnkrsjqydycyu.supabase.co/auth/v1/oauth/token
scopes: {}
externalDocs:
description: Guides and quickstarts
url: https://docs.propertypixel.app
x-rate-limits:
read: 120 requests per 60s per connection
write: 20 requests per 60s per connection