Support

Answer the survey in a closing email

The last click in a support conversation. The token arrives only in the mail that closes a ticket, and only when the ticket was solved, was not spam or quarantined, and the requester wrote at least once. It is answered once; a second answer and an unknown token are answered identically, so nothing here can be used to test whether a token exists. No proof of work: unlike every other unauthenticated write under /v1/support this one cannot be aimed at a stranger, and taxing somebody for answering a question we asked them is the wrong trade.

POST
/v1/support/csat
POST
/v1/support/csat
Answer the survey in a closing email
The last click in a support conversation.
Authorizationstringrequired
Your API key. It is sent only when you press Send, to this request alone, and never stored.
Answer the survey in a closing email
curl --request POST \
  --url 'https://api.auray.ai/v1/support/csat' \
  --header 'Authorization: Bearer <api-key>'
  --header 'Content-Type: application/json' \
  --data '{
  
}'
{
  "recorded": true
}
Answer the survey in a closing email
curl -X POST https://api.auray.ai/v1/support/csat \
  -H "content-type: application/json" \
  -d '{
  "token": "…",
  "score": 1
}'
{
  "recorded": true
}

Authorizations

No key needed — this document is public.

Body

application/json
tokenstringrequired
The 43-character token from the survey link. 0 to 64 characters.
scoreintegerrequired
One to five. Anything else is refused. 1 to 5.
commentstring
Optional. Kept with the score on the ticket, where support reads it. Sent again with the same score after the survey was answered, it is kept once — the page's second box — and a later one is not. 0 to 2000 characters.

Response

application/json

Thank you. recorded is false when the token was unknown, or already answered (and, for a comment, already commented); the cases are deliberately indistinguishable.

recordedboolean

Was this page helpful?

Answer the survey in a closing email
curl -X POST https://api.auray.ai/v1/support/csat \
  -H "content-type: application/json" \
  -d '{
  "token": "…",
  "score": 1
}'
{
  "recorded": true
}

Use the up and down arrow keys to select a result, Enter to open it, and Escape to close search.