Get widget

Retrieve the widget configuration for an agent

Pfadparameter

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

Header

xi-api-keystringOptional

Abfrageparameter

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

Antwort

Successful Response
agent_idstring
widget_configobject

Fehler

422
Widget Get Request Unprocessable Entity Error