Skip to main content
PATCH
/
v1
/
agents
/
{agentId}
/
telephony
/
connectors
/
{connectorId}
Update a connector
curl --request PATCH \
  --url https://api.us.poly.ai/v1/agents/{agentId}/telephony/connectors/{connectorId} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "variantId": "<string>",
  "asrLangCode": "<string>",
  "voiceName": "<string>",
  "projectId": "<string>"
}
'
{
  "connectorId": "<string>",
  "name": "<string>",
  "accountId": "<string>",
  "projectId": "<string>",
  "clientEnv": "<string>",
  "variantId": "<string>",
  "asrLangCode": "<string>",
  "ttsLangCode": "<string>",
  "voiceName": "<string>",
  "disableHandoff": true
}

Authorizations

x-api-key
string
header
required

Path Parameters

agentId
string
required
connectorId
string
required

Body

application/json

Partial update to a connector.

Only fields present in the request body are changed; absent fields are left alone. Pass null to clear a value explicitly.

variantId
string

Variant ID to assign, or null to unassign

asrLangCode
string

ASR language code (e.g. en-US)

voiceName
string

Google TTS voice name (e.g. en-US-Neural2-A). tts_lang_code is auto-derived from the voice name prefix. Validated via TTS probe.

projectId
string

Move connector to a different project. API key must have access to both projects.

Response

Successful response

A connector: the voice, language, variant, and environment bundle that handles incoming calls. Multiple phone numbers can share one connector.

connectorId
string
required

Unique connector identifier

name
string
required

Connector display name

accountId
string
required

Account this connector belongs to

projectId
string
required

Project this connector belongs to

clientEnv
string
required

Client environment (sandbox, pre-release, live)

variantId
string
required

Assigned variant ID (empty string if unassigned)

asrLangCode
string
required

ASR language code (e.g. en-US)

ttsLangCode
string
required

TTS language code (e.g. en-US)

voiceName
string
required

Google TTS voice name (e.g. en-US-Neural2-A)

disableHandoff
boolean
required

Whether call handoff is disabled

Last modified on April 22, 2026