Telephony

List your numbers

Your org's managed numbers, newest first. Active only unless include_released=true. Requires the telephony:manage scope.

get/v1/telephony/numbers

Request

  • Base URL: https://api.pyai.com
  • URL: https://api.pyai.com/v1/telephony/numbers
  • Auth: one of:
    • HTTP bearer
    • API key in header x-api-key

Query parameters

include_releasedboolean

Response

Your numbers

objectstring

Example response

{
  "object": "list",
  "data": [
    {
      "object": "telephony.number",
      "id": "pn_...",
      "phone_number": "+14155550123",
      "country": "US",
      "area_code": "415"
    }
  ]
}

Changes

No recorded changes to this operation across all 2 revisions of this API.