Skip to main content
GET
/
sip-trunks
List all SIP trunks
curl --request GET \
  --url https://api.voice-mate.com/v1/sip-trunks \
  --header 'Authorization: Bearer <token>'
{
  "status": "success",
  "sip_trunks": [
    {
      "sid": "sip_1d31b6c1-dcea-425a-a3e1-3a9227a95381",
      "name": "production",
      "termination_uri": "my-company.pstn.twilio.com",
      "sip_username": "myuser",
      "sip_password": "mypassword",
      "created_at": "2025-03-01T23:52:56.297986Z",
      "updated_at": "2025-05-03T10:43:50.326335Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer auth header. Pass with value 'Bearer {api_key}'. Api key can be found in account Settings -> API Keys page

Response

List of SIP trunks

status
enum<string>
required
Available options:
success,
error
sip_trunks
object[]
required