Get widget

Retrieve the widget configuration for an agent

Paramètres de chemin

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

En-têtes

xi-api-keystringOptionnel

Paramètres de requête

conversation_signaturestringOptionnel

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

Réponse

Successful Response
agent_idstring
widget_configobject

Erreurs

422
Widget Get Request Unprocessable Entity Error