Issue a new digest password — shown once
🔴 The previous password stops working within seconds, and the new one exists only in this response — so calls from your PBX are refused until it has the new password. Rotate in a quiet window and update the PBX straight away.
Requires the admin scope. A key with less gets 403 insufficient_scope.
Authorization: Bearer tone_live_… or tone_test_…. The prefix IS the environment: a test key reaches only the sandbox, and no request field bridges the two.
In: header
Path Parameters
The SIP trunk's id.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/sip-trunks/string/credentials/rotate"{ "data": { "connection": { "host": "sip.usetone.ai", "ips": [ "13.233.10.20" ], "password": "Qm9vZ2llV29vZ2llMTIzNDU2", "port": 5061, "realm": "sip.usetone.ai", "transport": "tls", "username": "t_9f2c4a7b1d3e5f60" }, "trunk": { "allowOrigination": false, "approvedAt": "2026-09-09T11:00:00Z", "callerIdPolicy": "did", "codecs": [ "PCMA", "PCMU" ], "connection": { "host": "sip.usetone.ai", "ips": [ "13.233.10.20" ], "port": 5061, "transport": "tls" }, "createdAt": "2026-09-09T10:14:22Z", "customHeaders": {}, "digestUsername": "t_9f2c4a7b1d3e5f60", "disabledReason": null, "hasOutboundPassword": true, "id": "4b7c1a02-9de5-4f31-bb07-2c1a5e9f0d43", "inboundAuth": "digest", "ipAcl": [ "49.207.12.0/24" ], "lastInboundAt": "2026-09-10T08:12:44Z", "lastOutboundAt": null, "lastProbe": { "at": "2026-09-10T08:12:44Z", "error": null, "latencyMs": 41, "method": "options", "ok": true, "sipStatus": 200 }, "maxConcurrent": 10, "name": "Airtel SIP — Mumbai office", "outboundAuthUsername": "acme-out", "outboundDialPrefix": null, "outboundHost": "sbc.acme-telecom.example", "outboundNumberFormat": "e164", "outboundPort": 5061, "outboundTransport": "tls", "realm": "sip.usetone.ai", "register": false, "status": "active", "updatedAt": "2026-09-10T08:12:44Z" } }}Ask for SIP trunking to be enabled
Starts a request a human reviews. Refused 409 sip_trunking_request_pending while one is already waiting, and 409 sip_trunking_already_enabled if the organization can already create trunks. A rejected request may be resubmitted — read the reason from GET /v1/sip-trunks/entitlement first, since resubmitting unchanged wastes both sides.
Test connectivity to your carrier
The gateway sends a SIP OPTIONS (or a REGISTER, for registering trunks) to outboundHost and reports what came back. Stored as lastProbe on the trunk. 503 provider_unavailable if the gateway itself cannot be reached.