Skip to main content
GET
/
sip-trunks
/
{sid}
Get SIP trunk details
curl --request GET \
  --url https://api.voice-mate.com/v1/sip-trunks/{sid} \
  --header 'Authorization: Bearer <token>'
{
  "status": "success",
  "sip_trunk": {
    "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

Path Parameters

sid
string
required

SIP trunk identifier

Response

SIP trunk details

status
enum<string>
required
Available options:
success,
error
sip_trunk
object
required