Skip to content

Loading…

Retrieve publication status

Check requested visibility, processing state and marked images.

GET/v1/properties/{property_id}/publication

Requires the properties:publish scope

On this page

status is private, pending, processing, published, ready or failed. requested is desired catalogue visibility; published is effective visibility. ready means public copies are available for an export without publishing the property. New photos are watermarked; migration-grandfathered photos retain their unmarked copies.

While pending or processing, poll every two seconds. When failed, inspect the safe error code, fix the cause and repeat the publication request. Automatic retries are bounded; do not busy-loop failed requests.

Example request

curl "https://api.vestta.app/v1/properties/1/publication" \
  -H "X-Api-Key: $VESTTA_API_KEY"

Authorization

  • X-Api-Keystringheaderrequired

    Your API key, AC_LIVE_<key_id>.<secret>. Authorization: ApiKey <key> is also accepted.

Path parameters

  • property_idintegerrequired≥ 1

Response

200 Successful response.

Example response
{
  "status": "ok",
  "data": {
    "status": "private",
    "published": false,
    "requested": false,
    "images": []
  }
}

Response fields

  • statusstring default: ok always ok
  • dataPublicationStaterequired

Errors

StatusWhen
401 UnauthorizedThe API key is missing, malformed, unknown, revoked or expired.
403 ForbiddenThe API key lacks the required scope.
404 Not FoundThe resource does not exist in this business.
409 ConflictDuplicate contact or idempotency key reused with a different payload.
422 Unprocessable ContentA path parameter, query parameter or body field is invalid.
500 Internal Server ErrorUnexpected server error while processing the request.

Error bodies and how to handle each case: Errors.