curl --request POST \
--url https://cloudapi.mailercloud.com/v1/senders \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"sender_email": "news@example.com",
"sender_name": "Example News"
}
'{
"id": "ZZaSxx",
"sender_email": "news@example.com",
"sender_name": "Example News",
"status": "verified"
}Add a Sender
Add a sender (from address) on a verified domain — the same as Add sender in Account Settings → Senders. A sender on a verified domain is verified at once (no confirmation email).
The address fields are optional; any you leave out are taken from your account profile. They are shown on the sender’s details only and are not used for sending.
POST
/
senders
curl --request POST \
--url https://cloudapi.mailercloud.com/v1/senders \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"sender_email": "news@example.com",
"sender_name": "Example News"
}
'{
"id": "ZZaSxx",
"sender_email": "news@example.com",
"sender_name": "Example News",
"status": "verified"
}Authorizations
Body
application/json