Browse documentation
Inventory, changes, verification, publish, recheck, undo, and operating mode.
Product response envelope
Current product endpoints return a resource envelope: data.object, data.brand_id, data.page, and nested data.data containing the dashboard data. Pagination fields for these endpoints are inside data.data. Unknown measurements remain null; verified zeros remain 0. Sensitive values are redacted.
Write operations require the appropriate scopes on your key. Draft and calendar edits do not publish content. External effects require the confirmation rules described below.
Endpoint | Operation | Query |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The change detail contains the change set (version, state, gates), items (before/after values), qa results for the current version, publications and verifications. A prepared or accepted change is not proof of a verified live change.
POST …/website/actions (website:write, external), operation website_action
The body is one of:
For set_mode, choose review, autopilot, or paused.
Arrays have 1–50 items. Every supplied ID must belong to this brand (404). publish, recheck and set_mode (review/autopilot) require api.publishing.enabled and an active subscription. undo and set_mode: paused are recovery actions that work without them. Costs: see limits and credits. publish replays by idempotency_key. The action is forwarded to the website-api Edge Function, which applies the existing QA, version, entitlement and verification gates. Work is asynchronous, so poll the Website changes.
Request examples
Choose a language for each endpoint. Set your assigned HTTPS API origin and environment variables, then replace the <placeholders>. These examples do not run requests in your browser.
GET/v1/brands/{brand_id}/website
: "${CITERA_API_BASE_URL:?Set CITERA_API_BASE_URL}"
: "${CITERA_API_KEY:?Set CITERA_API_KEY}"
: "${BRAND_ID:?Set BRAND_ID}"
curl --fail-with-body --connect-timeout 10 --max-time 30 -X GET "${CITERA_API_BASE_URL%/}/v1/brands/${BRAND_ID}/website" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${CITERA_API_KEY}"GET/v1/brands/{brand_id}/website/resources
: "${CITERA_API_BASE_URL:?Set CITERA_API_BASE_URL}"
: "${CITERA_API_KEY:?Set CITERA_API_KEY}"
: "${BRAND_ID:?Set BRAND_ID}"
curl --fail-with-body --connect-timeout 10 --max-time 30 -X GET "${CITERA_API_BASE_URL%/}/v1/brands/${BRAND_ID}/website/resources" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${CITERA_API_KEY}"GET/v1/brands/{brand_id}/website/changes
: "${CITERA_API_BASE_URL:?Set CITERA_API_BASE_URL}"
: "${CITERA_API_KEY:?Set CITERA_API_KEY}"
: "${BRAND_ID:?Set BRAND_ID}"
curl --fail-with-body --connect-timeout 10 --max-time 30 -X GET "${CITERA_API_BASE_URL%/}/v1/brands/${BRAND_ID}/website/changes" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${CITERA_API_KEY}"GET/v1/brands/{brand_id}/website/changes/{change_set_id}
: "${CITERA_API_BASE_URL:?Set CITERA_API_BASE_URL}"
: "${CITERA_API_KEY:?Set CITERA_API_KEY}"
: "${BRAND_ID:?Set BRAND_ID}"
: "${CHANGE_SET_ID:?Set CHANGE_SET_ID}"
curl --fail-with-body --connect-timeout 10 --max-time 30 -X GET "${CITERA_API_BASE_URL%/}/v1/brands/${BRAND_ID}/website/changes/${CHANGE_SET_ID}" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${CITERA_API_KEY}"GET/v1/brands/{brand_id}/website/activity
: "${CITERA_API_BASE_URL:?Set CITERA_API_BASE_URL}"
: "${CITERA_API_KEY:?Set CITERA_API_KEY}"
: "${BRAND_ID:?Set BRAND_ID}"
curl --fail-with-body --connect-timeout 10 --max-time 30 -X GET "${CITERA_API_BASE_URL%/}/v1/brands/${BRAND_ID}/website/activity" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${CITERA_API_KEY}"POST/v1/brands/{brand_id}/website/actions
This is a write operation. Review the body and confirmation requirements before running it.
: "${CITERA_API_BASE_URL:?Set CITERA_API_BASE_URL}"
: "${CITERA_API_KEY:?Set CITERA_API_KEY}"
: "${BRAND_ID:?Set BRAND_ID}"
# Review this write and replace every <placeholder> before running.
curl --fail-with-body --connect-timeout 10 --max-time 30 -X POST "${CITERA_API_BASE_URL%/}/v1/brands/${BRAND_ID}/website/actions" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${CITERA_API_KEY}" \
-H "Content-Type: application/json" \
--data-raw '{"action":"recheck","resource_ids":["<resource_id>"],"confirm":true}'