Skip to main content
PUT
/
api
/
v1
/
sip-trunks
/
{trunk_id}
curl -X PUT "https://app.talkover.ai/api/v1/sip-trunks/trunk-uuid-1" \
  -H "Authorization: Bearer talq_your_environment_token_here" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Primary Carrier — US (renamed)",
    "is_active": false
  }'
{
  "success": true,
  "data": {
    "id": "trunk-uuid-1",
    "name": "Primary Carrier — US (renamed)",
    "is_active": false,
    "is_verified": true,
    "updated_at": "2024-01-15T15:00:00Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.talkover.ai/llms.txt

Use this file to discover all available pages before exploring further.

Update SIP Trunk

Update a SIP trunk’s configuration. All fields are optional — only fields you send are updated. Changes that affect connectivity (domain, transport, credentials) automatically reset is_verified to false.

Endpoint

PUT /api/v1/sip-trunks/{trunk_id}

Path Parameters

trunk_id
string
required
SIP trunk UUID.

Request Headers

Authorization
string
required
Bearer token. Format: Bearer talq_your_environment_token_here
Content-Type
string
required
Must be set to application/json

Request Body

Same fields as Create SIP Trunk, all optional.

Examples

curl -X PUT "https://app.talkover.ai/api/v1/sip-trunks/trunk-uuid-1" \
  -H "Authorization: Bearer talq_your_environment_token_here" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Primary Carrier — US (renamed)",
    "is_active": false
  }'

Response

{
  "success": true,
  "data": {
    "id": "trunk-uuid-1",
    "name": "Primary Carrier — US (renamed)",
    "is_active": false,
    "is_verified": true,
    "updated_at": "2024-01-15T15:00:00Z"
  }
}

Notes

  • After updating credentials/domain/transport, re-run Verify SIP Trunk before reactivating.