Subscribe an email address to the newsletter

posthttps://api.expiryedge.com/v1/subscribeNewsletter
Public - no API key60/minAny method
Request
curl -X POST 'https://api.expiryedge.com/v1/subscribeNewsletter' \
  -H "Content-Type: application/json" \
  -d '{
  "email": "office@northwind-dental.com"
}'
Response
{
  "message": "Successfully subscribed to newsletter"
}

Stores the address in the newsletter list. The email is not validated; a missing email returns 400.

Body parameters

application/json
  • emailstringrequired
    format: email

Returns

200
Subscribed.
  • messagestringrequired

Errors

400
The request is missing required fields or contains invalid values.
429
Too many requests for this endpoint from your IP. Wait Retry-After seconds.