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"
}
}
Custom SIP Trunks
Update SIP Trunk
Update a SIP trunk’s configuration
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"
}
}
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 resetis_verified to false.
Endpoint
PUT /api/v1/sip-trunks/{trunk_id}
Path parameters
string
required
SIP trunk UUID.
Request headers
string
required
Bearer token. Format:
Bearer talq_your_environment_token_herestring
required
Must be set to
application/jsonRequest 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.
Was this page helpful?