API docs
Book a demo

Content Enrichment API

Approval Links

Page
  • Accept approval image upload

    POST /v2/project/content/acceptApprovalImageUpload

    Accept one pending photo upload: the photo becomes an image of the hotel and is appended to the approval page's photo list, and the upload's feedback item is resolved.

  • Create approval links (bulk)

    POST /v2/project/content/createApprovalLinks

    Mint one approval link per requested hotel that does not have a live one, and return the link of every requested member hotel in request order.

  • Export approved hotel text with image URLs

    POST /v2/project/content/exportApprovedHotelText

    Download one hotel's approved catalog text, followed by the image URLs its approval page serves, as a .txt file.

  • List approval image uploads

    POST /v2/project/content/listApprovalImageUploads

    List one member hotel's photo uploads in every state but withdrawn (an upload the hotel undid), newest first, at most 200.

  • List approval links

    POST /v2/project/content/listApprovals

    List the calling project's approval links with their status, approver and last-opened time — the read behind an approval column in a hotel list or an approval panel on a hotel page.

  • Reject approval image upload

    POST /v2/project/content/rejectApprovalImageUpload

    Reject one pending photo upload: the upload's feedback item is rejected and the photo is never served.

  • Revoke approval link

    POST /v2/project/content/revokeApprovalLink

    Revoke one hotel's approval link by stamping RevokedAt, and change nothing else.

  • Rotate approval link

    POST /v2/project/content/rotateApprovalLink

    Replace one hotel's link token.