Mobile Number Settings

List mobile phone numbers with messaging settings

Returns mobile phone numbers with their current messaging configuration.

get/mobile_phone_numbers/messaging

Query parameters

numberinteger

The page number to load

sizeinteger

The size of the page

Consolidated page parameter (deepObject style). Originally: page[number], page[size]

Response

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

Example response

{
  "data": [
    {
      "country_code": "US",
      "created_at": "2019-01-23T18:10:02.574Z",
      "features": {
        "sms": {
          "domestic_two_way": true,
          "international_inbound": true,
          "international_outbound": true
        }
      },
      "id": "2126210528794641864",
      "messaging_product": "P2P",
      "messaging_profile_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "phone_number": "++13127367407",
      "record_type": "messaging_settings",
      "traffic_type": "P2P",
      "type": "longcode",
      "updated_at": "2019-01-23T18:10:02.574Z"
    }
  ],
  "meta": {
    "page_number": 2,
    "page_size": 25,
    "total_pages": 3,
    "total_results": 55
  }
}

Changes

Changed in 2 of the 61 revisions of this API.7

    • the response's body type changed from object to no type for status

      response-body-type-changed

    • the / response's property type changed from object to no type for status

      response-property-type-changed

    • the // response's property type changed from integer to string, and format from int32 to no format for status

      response-property-type-changed

    This revision also has 64 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • the response's body type changed from no type to object for status

      response-body-type-changed

    • the / response's property type changed from no type to object for status

      response-property-type-changed

    • the // response's property type changed from string to integer, and format from no format to int32 for status

      response-property-type-changed

    • the /// response's property format changed from json-pointer to no format for status

      response-property-type-changed

    This revision also has 41 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog