Get Widget

GET
/v1/convai/agents/:agent_id/widget

Retrieve the widget configuration for an agent

Path parameters

agent_idstringRequired

The id of an agent. This is returned on agent creation.

Query parameters

conversation_signaturestringOptional

An expiring token that enables a conversation to start. These can be generated for an agent using the /v1/convai/conversation/get_signed_url endpoint

Response

Successful Response

agent_idstring
widget_configobject