curl --request POST \
--url https://cloudapi.mailercloud.com/v1/contacts/resubscribe \
--header 'Authorization: <api-key>' \
--header 'Content-Type: <content-type>' \
--data '
{
"email": "reader@example.com",
"consent_source": "account settings page",
"consent_at": "2026-11-09T11:04:24+05:30",
"consent_ip": "203.0.113.5",
"consent_text": "Turn the daily digest back on"
}
'{
"contact_id": "SEZwEKKaaH",
"status": "subscribed",
"resubscribed_at": "2026-11-12T10:15:02Z",
"consent_recorded": true
}Resubscribe Contact
Re-subscribe a contact who unsubscribed and has opted in again, for example on your website’s account page. Send a record of the reader’s consent with every call. The values are stored in the contact’s activity log as your statement; Mailercloud does not verify them.
If your account has double opt-in turned on for API and integrations, the reader first gets a confirmation email and is re-subscribed when they click it (response 202). Otherwise the contact is re-subscribed at once (200).
Bounced, spam-complaint, abuse and suppressed contacts can never be re-subscribed (409).
Only re-subscribe readers who gave their consent again. Limits: 60 calls per minute and 5,000 per day per account.
POST
/
contacts
/
resubscribe
curl --request POST \
--url https://cloudapi.mailercloud.com/v1/contacts/resubscribe \
--header 'Authorization: <api-key>' \
--header 'Content-Type: <content-type>' \
--data '
{
"email": "reader@example.com",
"consent_source": "account settings page",
"consent_at": "2026-11-09T11:04:24+05:30",
"consent_ip": "203.0.113.5",
"consent_text": "Turn the daily digest back on"
}
'{
"contact_id": "SEZwEKKaaH",
"status": "subscribed",
"resubscribed_at": "2026-11-12T10:15:02Z",
"consent_recorded": true
}Authorizations
Body
application/json