Get widget

Retrieve the widget configuration for an agent

Path parameters

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

Headers

xi-api-keystringRequired

Query parameters

conversation_signaturestringOptional

An expiring token that enables a websocket 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

Errors