Skip to content
v1

Reference Catalog

Catalog

Search published products and send reviewed variants with current availability and prices.

Select published products

Use POST /v1/catalog/search to discover current permitted published variants. Results include published prices, units and scheduling information when a Totem service is linked. A manually available product does not guarantee a scheduling slot; an unchecked result must remain unchecked.

Review the current revision, then submit distinct returned variant references to POST /v1/catalog/send with that revision and the current conversation. Current channel support, visibility and recipient rules are checked again before delivery. The returned operation must complete before delivery is claimed. Catalog delivery does not create a booking or attest payment.

Search published catalog items

POST /v1/catalog/search

Reads bounded currently published permitted variants, prices and availability basis with an explicit catalog-content grant. Draft and provider administration fields stay private. Advisory availability is not a booking offer; use the booking availability operation to select an actionable offer.

Scopes
catalog:read
Rate limit
Read

Headers

  • Totem-Team string Conditional ID prefix team_…

    The team to read, as a team_… id. Omit it when the key reads one team; it is required when the key reads several (400 team_required). When you send it, it must name a team the key reads: a malformed id gets 400 invalid_request, and a team outside the key gets 404 team_not_accessible, as does a request without it once the key reads no team at all.

Request body

  • catalog string 40–16384 chars Pattern ^tcnt1\.[A-Za-z0-9_-]+$

    Current server-issued opaque content reference; never parse or modify it.

  • query string ≤ 500 chars

    Optional text to match against the published catalog.

  • requested_start string Format date-time

    Optional requested start in UTC; linked Totem services check their real scheduling availability.

  • party_size integer Range 1–10000

    Requested party size for linked scheduling, between one and ten thousand.

Returns

Returns a CatalogSearch object.

Errors

+ 12 common errors

POST /v1/catalog/search
# Fictional fixtures: replace references and dates with current API values.
# Send consent or confirmation attestations only after the person confirms.
curl -X POST 'https://api.totemstudio.ai/v1/catalog/search' \
  -H "Authorization: Bearer $TOTEM_API_KEY" \
  -H "Totem-Team: $TOTEM_TEAM_ID" \
  -H "Content-Type: application/json" \
  --data '{}'
Response · 200JSON
{
  "object": "catalog_result_list",
  "complete": true,
  "data": []
}

Send reviewed catalog items

POST /v1/catalog/send

Starts one durable card send of the reviewed current published selection to an owned retained conversation. Current variant revision, provider synchronization, sender, recipient and messaging policy are rechecked at the provider boundary. Unknown provider acceptance is not retried automatically.

Scopes
catalog:readmessages:send
Rate limit
write

Headers

  • Totem-Team string Conditional ID prefix team_…

    The team to read, as a team_… id. Omit it when the key reads one team; it is required when the key reads several (400 team_required). When you send it, it must name a team the key reads: a malformed id gets 400 invalid_request, and a team outside the key gets 404 team_not_accessible, as does a request without it once the key reads no team at all.

  • Idempotency-Key string Required 1–255 chars Pattern ^[\x21-\x7e]+$

    One unique visible-ASCII key per logical write; reuse exactly on retries and never retry outcome_unknown automatically.

Request body

  • catalog string Required 40–16384 chars Pattern ^tcnt1\.[A-Za-z0-9_-]+$

    Current server-issued opaque content reference; never parse or modify it.

  • variants Array<string> Required 1–30 items

    One to thirty distinct reviewed variant references from this catalog.

  • expected_revision integer Required Range ≥ 0

    Published catalog revision that was reviewed before sending.

  • conversation_id string ID prefix conv_…

    Current retained conversation. Tenant keys must select it; hosted execution derives its exact retained source when omitted.

  • body_text string ≤ 1024 chars

    Optional message accompanying the reviewed catalog selection.

Returns

Returns an Operation object.

Errors

+ 12 common errors

POST /v1/catalog/send
# Fictional fixtures: replace references and dates with current API values.
# Send consent or confirmation attestations only after the person confirms.
curl -X POST 'https://api.totemstudio.ai/v1/catalog/send' \
  -H "Authorization: Bearer $TOTEM_API_KEY" \
  -H "Totem-Team: $TOTEM_TEAM_ID" \
  -H "Idempotency-Key: ${TOTEM_IDEMPOTENCY_KEY:?Set one unique key for this logical write}" \
  -H "Content-Type: application/json" \
  --data '{"catalog": "tcnt1.bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb", "variants": ["tcnt1.cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"], "expected_revision": 1, "conversation_id": "conv_m3GhGjRHmFbww1g10oqOp7j3gWqPJ"}'
Response · 202JSON
{
  "object": "operation",
  "id": "op_m3yGe1tkVy6hn3m9LH9m7e640wg0O",
  "status": "queued",
  "endpoint": "catalog.send",
  "created_at": "2026-10-01T09:30:00.000Z",
  "updated_at": "2026-10-01T09:30:00.000Z",
  "result": null,
  "error": null
}

The CatalogSearch object

Attributes

  • object string

    Always catalog_result_list.

  • complete boolean

    Whether this bounded result includes every matching published variant.

  • data Array<object> ≤ 100 items

    Authorized matching published variants, up to one hundred.

CatalogSearch · exampleJSON
{
  "object": "catalog_result_list",
  "complete": true,
  "data": []
}

The CatalogSendReceipt object

Attributes

  • object string

    Always catalog_send_receipt.

  • sent_as string

    The accepted single-product or product-list provider format.

    Possible values
    • catalog_product
    • catalog_product_list
  • variant_count integer Range 1–30

    Number of reviewed variants in the accepted selection.

CatalogSendReceipt · exampleJSON
{
  "object": "catalog_send_receipt",
  "sent_as": "catalog_product",
  "variant_count": 1
}

API version 1.0.0