List phone numbers

List all phone numbers for a SIP trunk

POST
/telephony/phone-numbers/list
AuthorizationBearer <token>

Bearer token authentication. Use your API key as the bearer token.

In: header

List phone numbers input

channelId?string
countryCode?string

Response Body

curl -X POST "https://eu1.api.bivariant.com/v1/telephony/phone-numbers/list" \  -H "Content-Type: application/json" \  -d '{}'
[
  {
    "channelId": "string",
    "countryCode": "string",
    "createdAt": "string",
    "e164": "string",
    "id": "string",
    "organizationId": "string",
    "status": "pending_activation",
    "trunkId": "string",
    "updatedAt": "string"
  }
]
{
  "code": "string",
  "message": "string"
}
{
  "code": "string",
  "message": "string"
}