Skip to main content
PATCH
Update an extension

Authorizations

X-API-Key
string
header
required

Path Parameters

account_id
string
required

ID of the account that owns the SIP Trunk.

trunk_id
string
required

The SIP Trunk ID.

extension
string
required

The dialed number or extension (URL-encoded).

Body

application/json
agent
object
required

The PolyAI agent to bind an extension to.

Response

The updated extension.

An Extension binds a dialed number on a trunk to a PolyAI agent.

extension
string
required

The dialed number or extension.

agent
object
required

The PolyAI agent an extension routes calls to.

created_at
string<date-time>
required

RFC 3339 timestamp of when the extension was created.

updated_at
string<date-time>
required

RFC 3339 timestamp of when the extension was last updated.

Last modified on July 30, 2026