Identity verification
Tell the agent who is chatting, safely. Conversations then belong to the user across devices, and account-aware actions become possible.
Token claims
Sign on your server
Use it
Verifying without JWT (legacy)
Sending { userId, hash } where hash is the hex HMAC-SHA256 of the user id with your secret is still accepted. Prefer JWTs — they expire and can carry profile fields.
What you get
- Conversation history follows the user across web, iOS, Android and the API (GET /agents/{id}/users/{userId}/conversations).
- The contact record is matched by email, so leads and tickets are linked to the person.
- A bad, expired or wrong-secret token returns 401 — the chat will not start as that user.