v5

OpenAPI 3.1.02026-08-043621,4011.8 MB
Agents Platform

Post Agent Avatar

Sets the avatar for an agent displayed in the widget

post/v1/convai/agents/{agent_id}/avatar

Path parameters

agent_idstring required

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

Example:agent_3701k3ttaq12ewp8b7qv5rfyszkz

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

Headers

xi-api-keystring nullable

Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.

Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.

Response

Successful Response

agent_idstring required
avatar_urlstring nullable