Create a sender registration
Changed onCreates a sender registration and sets status to PENDING_APPROVAL.
- If you omit account_id, the API registers the sender for the authenticated account.
- If you provide account_id, the API registers the sender for that 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.
- child_account_id is a deprecated name for account_id. If you send both, they must name the same account, or the API returns 400 Bad Request.
- An account you can't use returns 403 or 404. Before these responses were added, a child_account_id you couldn't use returned 400 Bad Request.
- If a registration for the same sender was already created within the last 30 minutes (for the same account or child account), the API returns 429 Too Many Requests. This prevents abuse of the verification retry limit.
- Any existing PENDING_APPROVAL registration for the same sender (for the same account or child account) is automatically cancelled before the new one is created.
Request
- Base URLhttps://api.transmitmessage.com
- AuthAPI key in header x-api-key
Request body
Example request
{
"account_id": "1234"
}Response
Successful response containing the new sender registration details.
Example response
{
"data": {
"account_id": "1234",
"details": {
"alphanumeric": {
"status": "PENDING_CUSTOMER",
"status_reason": "Customer has not taken any actions"
}
}
}
}Changes
- 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 new optional request property
- info
request property
deprecated - 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/child_account_iddeprecated - info
added the required property
//to the response with the status
- breaking
- breaking
the response's body type changed from no type to
objectfor status - info
removed
subschema #2from the response bodyallOflist for the response status - info
added the non-success response with the status
- info
added the required property
to the response with the status
- breaking