Skip to main content
GET
/
trunks
List SIP trunks on the account
curl --request GET \
  --url https://api.wavix.com/v1/trunks
{
  "sip_trunks": [
    {
      "id": 3107,
      "label": "My trunk",
      "name": "32882",
      "auth_method": "IP auth",
      "callerid": "14302287001",
      "host_request": {
        "host": "127.0.0.1",
        "status": "pending"
      },
      "access_token": "3213rasjwqep3uuasdh",
      "encrypted_media": false,
      "passthrough": "false,",
      "multiple_numbers": true,
      "status": "pending",
      "charge": 24.637,
      "talk_time": 65,
      "machine_detection_enabled": true,
      "call_recording_enabled": true,
      "transcription_enabled": true,
      "transcription_threshold": 6
    }
  ],
  "pagination": {
    "current_page": 1,
    "total": 1,
    "per_page": 25,
    "total_pages": 1
  }
}

Authorizations

appid
string
query
required

An API key to authorize your request

Query Parameters

page
integer

Requested page

per_page
integer

Number of records per page

Response

sip_trunks
SIPTrunkShort · object[] | null
required

An array of SIP trunks in your account

pagination
object
required
I