Create widget avatar

Sets the avatar for an agent displayed in the widget

路径参数

agent_idstring必需
The id of an agent. This is returned on agent creation.

请求头

xi-api-keystring可选

请求

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

响应

Successful Response
agent_idstring
avatar_urlstring可选

错误

422
Avatar Create Request Unprocessable Entity Error