Quotes

Create a quote

Price a spending request without running it. Pass the returned id as quote_id to the operation within 10 minutes.

Requires a connection with edit access.

post/quotes

Request

  • Base URL: https://api.propertypixel.app/v1
  • URL: https://api.propertypixel.app/v1/quotes
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://llflgtovnkrsjqydycyu.supabase.co/auth/v1/oauth/authorize, token URL https://llflgtovnkrsjqydycyu.supabase.co/auth/v1/oauth/token)

Headers

Idempotency-Keystring

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.

Request body

operation'enhance_photos' | 'stage_photos' | 'apply_recommendations' | 'create_video' required

The spending operation to price.

inputobject required

The exact body you will send to that operation.

Response

Create a quote

object'quote' required
idstring uuid required
operationstring required

The operation this quote prices, e.g. enhance_photos.

creditsinteger required

Total credits the request will spend.

sufficientboolean required

False when the balance can't cover the request.

descriptionstring required
watermarkedboolean required

True for trial accounts: results carry a watermark.

expires_atstring date-time required
manage_credits_urlstring nullable required

Where to add credits. Null inside ChatGPT.

confirm_instructionsstring required

Changes

No recorded changes to this operation across all 1 revision of this API.