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": "[email protected]",
"emails": [
"[email protected]"
],
"route_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'{
"message": "<string>",
"data": {
"created": "<array>",
"skipped": "<array>"
}
}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": "[email protected]",
"emails": [
"[email protected]"
],
"route_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'{
"message": "<string>",
"data": {
"created": "<array>",
"skipped": "<array>"
}
}Team API token. Find this in your team settings.
StoreSuppressionData
spam_complaint, hard_bounce, unsubscribe, manual team, project, route 2551 - 1000 elements255