Create widget avatar

Sets the avatar for an agent displayed in the widget

Paramètres de chemin

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

En-têtes

xi-api-keystringOptionnel

Requête

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

Réponse

Successful Response
agent_idstring
avatar_urlstringOptionnel

Erreurs

422
Avatar Create Request Unprocessable Entity Error