Subscribe an email address to the newsletter

posthttps://api.expiryedge.com/v1/subscribeNewsletter
Öffentlich - kein API-Schlüssel60/minJede Methode
Anfrage
curl -X POST 'https://api.expiryedge.com/v1/subscribeNewsletter' \
  -H "Content-Type: application/json" \
  -d '{
  "email": "office@northwind-dental.com"
}'
Antwort
{
  "message": "Successfully subscribed to newsletter"
}

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

Body-Parameter

application/json
  • emailstringerforderlich
    format: email

Rückgabe

200
Subscribed.
  • messagestringerforderlich

Fehler

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.