Skip to main content
POST
/
excluded-emails
Create email exclusions
curl --request POST \
  --url https://api.amplemarket.com/excluded-emails \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "excluded_emails": [
    {
      "email": "<string>"
    }
  ]
}
'
{
"[email protected]": "duplicated",
"[email protected]": "success"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
excluded_emails
object[]
required

Response

Successful

{key}
enum<string>
Available options:
success,
duplicated,
error