v47

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-181,0851,7264.5 MB
Number Settings

List phone numbers with messaging settings

get/phone_numbers/messaging

Query parameters

filter[messaging_profile_id]string uuid

Filter by messaging profile ID.

filter[phone_number]string

Filter by exact phone number (supports comma-separated list).

filter[phone_number][contains]string

Filter by phone number substring.

filter[type]'tollfree' | 'longcode' | 'shortcode'

Filter by phone number type.

sort[phone_number]'asc' | 'desc'

Sort by phone number.

page[number]integer
page[size]integer

Response

Successful response with a list of phone numbers with messaging settings.

Example response

{
  "data": [
    {
      "record_type": "messaging_settings",
      "id": "1293384261075731499",
      "phone_number": "+18005550001",
      "messaging_profile_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "created_at": "2019-01-23T18:10:02.574Z",
      "updated_at": "2019-01-23T18:10:02.574Z",
      "country_code": "US",
      "type": "tollfree",
      "health": {
        "message_count": 122,
        "inbound_outbound_ratio": 0.43,
        "success_ratio": 0.94,
        "spam_ratio": 0.06
      },
      "eligible_messaging_products": [
        "A2P"
      ],
      "traffic_type": "A2P",
      "messaging_product": "A2P",
      "features": {
        "sms": {
          "domestic_two_way": true,
          "international_inbound": true,
          "international_outbound": true
        },
        "mms": null
      }
    }
  ],
  "meta": {
    "total_pages": 3,
    "total_results": 55,
    "page_number": 2,
    "page_size": 25
  }
}