Create a personal chat link for one recipient

POST /Platform/chat/link

Create a personal chat link for one recipient.

For a message you send before the recipient opens a chat, such as a follow-up text. Opening the link starts a new chat with the flow's agent, which reads variables in its templates as {link.<name>} (initial tools, greeting, first page) and gets brief as the conversation's brief. The values are signed and kept on the server: the link carries only an opaque token in its fragment (or, as a short link, only a code), so the values never appear in the link, referrer headers or access logs. Anyone holding the link can open it until it expires or is revoked, and each open starts a new chat.

Body parameters

Returns

ChatPersonalLink

Example request

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