Skip to main content
POST
/
v1
/
voiceai
/
agents
/
{agent_id}
/
avatar
Post Agent Avatar
curl --request POST \
  --url https://api.example.com/v1/voiceai/agents/{agent_id}/avatar \
  --header 'Content-Type: multipart/form-data' \
  --header 'x-api-key: <api-key>' \
  --form 'avatar_file=<string>'
{
  "agent_id": "<string>",
  "avatar_url": "<string>"
}

Authorizations

x-api-key
string
header
required

API key for programmatic access

Path Parameters

agent_id
string
required

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

Example:

"agent_3701k3ttaq12ewp8b7qv5rfyszkz"

Body

multipart/form-data
avatar_file
string
required

Response

Successful Response

agent_id
string
required

The ID of the agent

avatar_url
string | null

The public URL of the uploaded avatar