email-subscribe

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

NameTypeDescription
sender_emailString (email)
Required
Sender’s email
sender_nameString
Required
Sender’s name
recipient_emailString (email)
Required
Recipient’s email

Response Body

{
  "status": "string"
}

HTTP Code 200:

Email successfully accepted for sending

Response Parameters

NameTypeDescription
statusSTRING
REQUIRED
«Success» string
{
  "status": "string",
  "code": 0,
  "message": "string"
}

HTTP Code default:

Error occurred
NameTypeDescription
statusSTRING
REQUIRED
«Error» string
messageSTRING
REQUIRED
Human-readable error message in English
codeINTEGER
REQUIRED
API Error code