Bootstrap widget visitor
POST/v2/widgets/:connector_id/bootstrap
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 connector does not exist, is not a widget 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.
Request
Responses
- 200
- 404
- 429
A minted visitor identity and the widget's presentation configuration.
The connector does not exist, is not a widget connector, is disabled, does not admit anonymous visitors, or belongs to a disabled customer.
The caller's network address exceeded the per-address minting rate. Try again shortly.