List phone numbers with messaging settings
Returns phone numbers with their current messaging product and messaging-profile assignments.
Query parameters
Consolidated page parameter (deepObject style). Originally: page[number], page[size]
Filter by messaging profile ID.
Filter by exact phone number (supports comma-separated list).
Filter by phone number substring.
Filter by phone number type.
Sort by phone number.
Response
Successful response with a list of phone numbers with messaging settings.
Example response
{
"data": [
{
"country_code": "US",
"created_at": "2019-01-23T18:10:02.574Z",
"eligible_messaging_products": [
"A2P"
],
"features": {
"mms": null,
"sms": {
"domestic_two_way": true,
"international_inbound": true,
"international_outbound": true
}
},
"health": {
"inbound_outbound_ratio": 0.43,
"message_count": 122,
"spam_ratio": 0.06,
"success_ratio": 0.94
},
"id": "1293384261075731499",
"messaging_product": "A2P",
"messaging_profile_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"phone_number": "+18005550001",
"record_type": "messaging_settings",
"traffic_type": "A2P",
"type": "tollfree",
"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/format changed from
object/to/for status4XXresponse-body-type-changed
- ▲
the
errors/items/response's property type/format changed fromobject/to/for status4XXresponse-property-type-changed
- ▲
the
errors/items/coderesponse's property type/format changed frominteger/int32tostring/for status4XXresponse-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/format changed from
/toobject/for status4XXresponse-body-type-changed
- ▲
the
errors/items/response's property type/format changed from/toobject/for status4XXresponse-property-type-changed
- ▲
the
errors/items/coderesponse's property type/format changed fromstring/tointeger/int32for status4XXresponse-property-type-changed
- ▲
the
errors/items/source/pointerresponse's property type/format changed fromstring/json-pointertostring/for status4XXresponse-property-type-changed
This revision also has 41 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲