AgentConnect
Sessions

Mint a session-continuation webchat token

Mints a short-lived token the browser presents to the relay pool to continue an existing session from the console composer — a chat thread (the human turn is mirrored back to it) or a hook-origin session such as a GitHub or GitLab event, whose only surface is the console. Requires continuation authorization, un-purged content, a daemon that can still serve the session content (its recorder, or a live member of the shared store it was written to), and continuation-capable daemon and relay pool.

POST
/v1/orgs/{orgId}/sessions/{sessionId}/webchat/token

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

orgId*string
sessionId*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/orgs/string/sessions/string/webchat/token"
{  "token": "string",  "relayUrl": "string",  "conversationId": "string",  "expiresAt": "2019-08-24T14:15:22Z"}