Create a link that reopens one chat conversation for its visitor

POST /Platform/chat/resume-token

Create a link that reopens one chat conversation for its visitor.

Called from a live visitor chat session (its chat_session token, or the token of the personal link the visitor opened, is the credential), for example to email the visitor a link back to the conversation. The link opens the hosted chat page locked to that one conversation; it cannot start a new chat or reach any other conversation. The token is in the URL fragment, so it never reaches servers in referrer headers or access logs. It is valid for 30 days, renewed while in use, and cannot be revoked individually: treat it like the conversation itself.

Body parameters

Returns

ChatTokenResponse

Example request

curl -X POST "https://api.hilus.ai/Platform/chat/resume-token" \
  -H "Authorization: Bearer $HILUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'