Create widget avatar

Sets the avatar for an agent displayed in the widget

Pfadparameter

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

Header

xi-api-keystringOptional

Anfrage

This endpoint expects a multipart form containing a file.
avatar_filefileErforderlich
An image file to be used as the agent's avatar.

Antwort

Successful Response
agent_idstring
avatar_urlstringOptional

Fehler

422
Avatar Create Request Unprocessable Entity Error