Get widget

Retrieve the widget configuration for an agent

Parametry ścieżki

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

Nagłówki

xi-api-keystringOpcjonalny

Parametry zapytania

conversation_signaturestringOpcjonalny

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

Odpowiedź

Successful Response
agent_idstring
widget_configobject

Błędy

422
Widget Get Request Unprocessable Entity Error