curl --request POST \
--url https://api.lettermint.co/v1/suppressions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"reason": "spam_complaint",
"scope": "team",
"email": "jsmith@example.com",
"route_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"emails": [
"jsmith@example.com"
]
}
'{
"message": "<string>",
"data": {
"created": [
"<string>"
],
"skipped": [
"<string>"
]
}
}curl --request POST \
--url https://api.lettermint.co/v1/suppressions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"reason": "spam_complaint",
"scope": "team",
"email": "jsmith@example.com",
"route_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"emails": [
"jsmith@example.com"
]
}
'{
"message": "<string>",
"data": {
"created": [
"<string>"
],
"skipped": [
"<string>"
]
}
}Team API token. Find this in your team settings.
StoreSuppressionData
spam_complaint, hard_bounce, unsubscribe, manual team, project, route 2551 - 1000 elements255