Skip to content

Sends a test newsletter email to the given address. Returns 200 on success, 401 if the current user may not send newsletters, or 400 if the email address is invalid.

POST
/api/newsletter/test

Authorizations

api_key

Requests manipulating data need to supply a CSRF token

TypeAPI Key (header: X-CSRF-Token)

Request Body

application/json
JSON
{
"address": "string",
"subject": "string",
"message": "string"
}

Responses

Success

Playground

Authorization
Body

Samples

cURL
JavaScript
PHP
Python