Bootstrap widget visitor
Mints a signed anonymous visitor id and returns it with the widget's presentation configuration. No credential is required.
The client presents the minted id as X-Visitor-Id on /v2/agent_aliases/{alias_key}/end_user_sessions requests, using the alias_key returned here; the widget connector the id was minted through travels inside it.
Returns 404 if the alias does not front a widget connector, or that connector is disabled, does not have public_access enabled, or belongs to a disabled customer.
The visitor id never expires. Store it durably; a repeat call mints a fresh identity that owns none of the previous identity's sessions.
Path parameters
The platform-generated key of the alias fronting a widget connector, as reported in the connector's alias_key and bootstrap_path. Always als_-prefixed; the prefix is reserved, so no operator-chosen alias ever matches it.
The platform-generated alias the widget fronts, as carried by the embed snippet.
Headers
The platform makes a best effort to complete the request in the specified seconds, or it times out.
The platform makes a best effort to complete the request in the specified milliseconds, or it times out.
Response
A minted visitor identity and the widget's presentation configuration.
Example response
{
"alias_key": "support",
"presentation": {
"version": "beta"
},
"end_user_sign_in": {
"trusted_token_issuer_id": "tki_9Kx2QpVn4mZr8YbLc5TdWe"
}
}Changes
No recorded changes to this endpoint across all 7 revisions of this API.