Get an agent's public chat link and share slug

POST /Platform/chat/token

Get an agent's public chat link and share slug.

Returns the link of the agent's chat flow: the hosted chat page any visitor can open without an account. Read-only and stable: every call returns the same link until the flow's slug is rotated, and the link does not expire. Anyone holding it can chat with the agent.

Body parameters

Returns

ChatTokenResponse

Example request

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