List sender registrations
Changed onReturns a paginated list of sender registrations for the authenticated account.
- If the account does not use parent/child accounts, the API returns registrations for the authenticated account.
- If the account is a parent account, the API returns the registrations it created, for its own account and for its child accounts. Registrations a child account created itself aren't included.
Every registration carries account_id, the account it belongs to. Use the account_id query parameter to narrow the list to some of those accounts.
Request
- Base URLhttps://api.transmitmessage.com
- AuthAPI key in header x-api-key
Query parameters
Page number to return (1-based). Default 1.
Maximum number of results per page. Default 25, maximum 100.
Deprecated: use account_id, which accepts more than one account. Returns only the registrations of this account: your own account or one of your child accounts. The API returns 404 Not Found for an account that isn't visible to you, and 403 Forbidden for one that's visible but you don't manage. Before these responses were added, an account you couldn't use returned an empty list. Can't be combined with account_id.
Returns only registrations whose account_id is one of these accounts. Accepts one or more comma-separated account IDs: your own account and any of your child accounts. The API returns 404 Not Found for an account that isn't visible to you, and 403 Forbidden for one that's visible but you don't manage. Up to 100 values.
The list holds the registrations you created, for your own account or for a child account; registrations a child account created itself aren't included. Can't be combined with account_scope or child_account_id.
Set to all to return the registrations you created, for your own account and for any of your child accounts; registrations a child account created itself aren't included. This is also what the API returns when you omit it; the parameter is accepted so you can send the same one as on GET /v2/senders. Combined with child_account_id, it returns that account's registrations only.
Returns registrations whose sender, or the company name of the child account they belong to, contains this text. The match ignores case.
Filter registrations by sender phone number in E.164 format (e.g., 61412312312).
Filter registrations by status. Accepts one or more comma-separated values. Valid values: PENDING_APPROVAL, SUBMITTED_TO_REGISTRY, VERIFIED, REJECTED, CANCELLED.
Returns alphanumeric registrations whose details.alphanumeric.status is one of these values. Accepts one or more comma-separated values. Personal mobile number registrations have no registry status, so they're left out when you set it.
[ "PENDING_CUSTOMER" ]
The registry body an alphanumeric sender registration is submitted to.
- ACMA — Australian Communications and Media Authority.
Returns alphanumeric registrations submitted to this registry. Personal mobile number registrations are left out when you set it.
A field the registrations list can be sorted by. status sorts by the registration's status; registry_status sorts by details.alphanumeric.status, with registrations that have none last.
The field to sort by. Default created_at. Ties are broken by registration_id, so paging through a sorted list doesn't repeat or skip registrations.
The sort direction. Default desc.
Response
Successful response containing a paginated list of sender registrations.
Example response
{
"data": {
"registrations": [
{
"account_id": "1234",
"details": {
"alphanumeric": {
"status": "PENDING_CUSTOMER",
"status_reason": "Customer has not taken any actions"
}
}
}
]
},
"meta": {
"pagination": {
"type": "page",
"page": 1,
"limit": 25,
"total_count": 123
}
}
}Changes
- info
added the new optional
queryrequest parameteraccount_id - info
added the new optional
queryrequest parameteraccount_scope - info
added the new optional
queryrequest parameterorder - info
added the new optional
queryrequest parameterregistry - info
added the new optional
queryrequest parameterregistry_status - info
added the new optional
queryrequest parametersearch - info
added the new optional
queryrequest parametersort - info
queryrequest parameterchild_account_idwas deprecated
- info
- breaking
added to the response body
oneOflist for the response status - breaking
the response's body type changed from
objectto no type for status - breaking
removed the required property
from the response with the status - warning
added the new
SUBMITTED_TO_REGISTRYenum value to the////response property for the response status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
response property
allOf[subschema #2]/data/registrations/items/child_account_iddeprecated - info
added the required property
////to the response with the status
- breaking