public

POST /v1/public/chat/{publicKey}/conversations/{conversationId}/ticket/answer

The AI answer shown before the chat's ticket is filed (our own websites only).

All public endpoints

All developer docs →

Authentication

This endpoint is public. It takes no credential and no organisation — it is what our own marketing site and AI answer engines read.

This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.

Try it

Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.

curl -X POST https://api.zinndigital.com/v1/public/chat/{publicKey}/conversations/{conversationId}/ticket/answer \
  -H "Content-Type: application/json" \
  -d '{ "message": <string> }'

Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console

Details

Anonymous, authorised by X-Zinn-Chat-Token (s1014 L39). Only OUR OWN chat widget has this route; every customer's widget answers 404. The same grounded answer as POST /v1/public/support/deflect (surface chat); pass its deflection_id to the ticket route when the visitor still wants the ticket. Never blocks the ticket.

Parameters

NameTypeRequiredWhat it is
publicKey (path)stringYesThe widget's public key. Public by design — it ships in the page source of every site that embeds the widget — so it NAMES a widget and authorises nothing; the Origin header is…
conversationId (path)stringYes—

Request body

NameTypeRequiredWhat it is
messagestringYes—
localestringNo—

Response

NameTypeRequiredWhat it is
deflection_idUuidYesUUIDv7 identifier — sortable by creation time (docs/02 §8).
answerTicketDeflectionAnswerYesThe AI answer in front of the ticket form (s1014 L39). ⛔ Never blocks the ticket: the form always offers "Still need help? Send it to the team" beside it.
articlesobject[]YesPublished help articles matching the question, in the visitor's language.

Errors this endpoint can return

404 · 422 · 429