Easymailing
S M S senders

Create an SMS sender

POST /sms_senders

POST/sms_senders

Registers an alphanumeric sender name for SMS and starts its review. The sender begins as pending_validation and is not usable yet: it can be used in SMS campaigns only when its status is active, which depends on Easymailing finishing its registration with the SMS provider and may take time.

When to use: Before the first SMS campaign, or when messages must show a different name.

When not to use: For email senders use create_sender.

Side effects: An automatic review of the name is queued. Clear cases move to pending_profile and an internal task is opened for Easymailing support to register the sender with the SMS provider; doubtful names stay in pending_validation and raise an internal alert; clearly abusive names become rejected. Activation is therefore not immediate: check status later with get_sms_sender and do not promise a date.

Permissions: Requires the manager role or higher, or the account.integrations.manage capability.

Authorization

X-Auth-Token<token>

Value for the X-Auth-Token header parameter.

In: header

Request Body

The new SmsSender resource

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://api.easymailing.com/sms_senders" \  -H "X-Auth-Token: YOUR_API_KEY" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "alphanumeric_id": "string"  }'
{  "id": 0,  "name": "string",  "alphanumeric_id": "string",  "status": "pending_validation",  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z"}