Create widget avatar

Sets the avatar for an agent displayed in the widget

Parâmetros de caminho

agent_idstringObrigatório
The id of an agent. This is returned on agent creation.

Cabeçalhos

xi-api-keystringOpcional

Solicitação

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

Resposta

Successful Response
agent_idstring
avatar_urlstringOpcional

Erros

422
Avatar Create Request Unprocessable Entity Error