Create widget avatar

Sets the avatar for an agent displayed in the widget

Path parameters

agent_idstringRequired

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

Headers

xi-api-keystringRequired

Request

This endpoint expects a multipart form containing a file.
avatar_filefileRequired

An image file to be used as the agent’s avatar.

Response

Successful Response

agent_idstring
avatar_urlstringOptional

Errors