Sends an email with (re)subscribe link.
https://dns-name/email/subscribe
This method allows subscription renewal by a former subscriber who has previously unsubscribed, or who is blocked because of complaints. This method sends an email with a new subscription link to a former subscriber. Once the recipient clicks the link, their subscription status is restored. There is a default restriction that limits this method to being used once a day. If you need to resubscribe more often, please ask support about it.
Request Body
POST https://dns-name/email/subscribe
Content-Type: application/json
X-API-KEY: Value
{
"sender_email": "string",
"sender_name": "string",
"recipient_email": "string"
}
Request Parameters
Name | Type | Description |
---|---|---|
sender_email | String (email) Required | Sender’s email |
sender_name | String Required | Sender’s name |
recipient_email | String (email) Required | Recipient’s email |
Response Body
{
"status": "string"
}
HTTP Code 200:
Email successfully accepted for sending |
Response Parameters
Name | Type | Description |
---|---|---|
status | STRING REQUIRED | «Success» string |
{
"status": "string",
"code": 0,
"message": "string"
}
HTTP Code default:
Error occurred |
Name | Type | Description |
---|---|---|
status | STRING REQUIRED | «Error» string |
message | STRING REQUIRED | Human-readable error message in English |
code | INTEGER REQUIRED | API Error code |