Skip to main content
PUT
/
v1
/
agents
/
{agentId}
/
voice
Set the project's active voice
curl --request PUT \
  --url https://api.us.poly.ai/v1/agents/{agentId}/voice \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "voiceId": "<string>"
}
'
{
  "voiceId": "<string>"
}

Authorizations

x-api-key
string
header
required

Path Parameters

agentId
string
required

Body

application/json

Set the project's primary voice.

voiceId
string
required

Voice ID to set as the project's active voice

Response

Updated project voice

Confirmation of the newly set project voice.

voiceId
string
required

The voice ID now set as the project's active voice

Last modified on May 27, 2026