Easymailing
Email senders

Create an email sender

POST /senders

POST/senders

Adds an email address as a possible sender. If the address belongs to a sending domain that is already authenticated it is confirmed at once; otherwise a confirmation email is sent and the address can be used in campaigns only after its owner follows the link.

When to use: When a campaign must go out from an address the account has not used before.

When not to use: If the address belongs to a domain you want to authenticate, see create_sender_domain. To resend the confirmation email use resend_sender_verification.

Side effects: A confirmation email is sent to the address, unless it is confirmed on creation because its domain is already authenticated (see create_sender_domain).

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 Sender 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/senders" \  -H "X-Auth-Token: YOUR_API_KEY" \  -H "Content-Type: application/json" \  -d '{    "email": "user@example.com"  }'
{  "id": 0,  "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",  "email": "user@example.com",  "confirmed": true,  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z"}