A single-use token for a browser to talk to an agent in real time on a chat site
post/voice/live/sessions
A single-use token for a browser to talk to an agent in real time on a chat site: bound to the agent, the site and the page's origin, valid for one minute.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
voice:write- Graphql
Mutation.voiceLiveStart- Sdk
voice.live.start- Cli
voice live start
Request bodyapplication/json, required
- agentIdstring (uuid)required
- siteIdstringrequiredAt most 120 characters.
- originstringrequiredAt most 200 characters.
- languagestringAt most 20 characters.
- maxMinutesintegerAt least 1. At most 60.
Responses
- 201application/jsonSuccess
- tokenstringrequired
- urlstringrequired
- expiresAtstringrequired
- maxMinutesnumberrequired
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring