List all 'TN's on a specific messaging profile
GET/messaging/profiles/:profile_id/numbers
Returns a list of phone numbers assigned to the specified messaging profile.
Request
Path Parameters
ID of messaging profile
Responses
200: List of 'TN's
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
+E.164 formatted phone number
ID of user who owns the phone number
ID of messaging profile, or '' if unassigned
Possible values: Value must match regular expression ^(([0-9]{16})|0)$
Default value: 0
Updated at time (Unix time in microseconds), or '0' if unknown
Number's Country Code
The messaging campaign ID associated with the short-code
Possible values: Value must match regular expression ^(([A-Z]{3}))$
The ISO 3166-1 alpha-3 country code of the country of origin for the number
The messaging product the number is registered with
The type of the phone number
sms
object
The SMS features associated with the phone number
False if the features are not currently enabled, true if the features are currently enabled.
Domestic two way messaging feature
International inbound messaging feature
International outbound messaging feature
The SMS features associated with the phone number
mms
object
The MMS features associated with the phone number
False if the features are not currently enabled, true if the features are currently enabled.
Domestic two way messaging feature
International inbound messaging feature
International outbound messaging feature
The MMS features associated with the phone number
[
{
"num": "+13129457420",
"user_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"profile_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"last_updated": 1521566241103171,
"country_code": "string",
"campaign_id": "string",
"num_country": "USA",
"traffic_type": "P2P",
"num_type": "long-code",
"sms": {
"enabled": true,
"domestic_two_way": true,
"international_inbound": true,
"international_outbound": true
},
"mms": {
"enabled": true,
"domestic_two_way": true,
"international_inbound": true,
"international_outbound": true
}
}
]