Get the link that starts a fresh chat with the same agent

POST /Platform/chat/new-chat-url

Get the link that starts a fresh chat with the same agent.

For a chat page that wants to offer "start a new conversation". Resolves the agent from its chat share slug and returns its public chat link. Authenticated with a chat session token; a resume token is refused, so a resume link can never be widened into new chats. Read-only.

Body parameters

Returns

ChatTokenResponse

Example request

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