/
Add complaints
Request body is expected to be a valid JSON encoded sting containing up to 1000 complaint records or a single complaint record as application/form-data
Security
basicAuth
- US Mailgunhttps://api.mailgun.net/v3/{domain_name}/complaints
- EU Mailgunhttps://api.eu.mailgun.net/v3/{domain_name}/complaints
- application/json
- application/form-data
curl -i -X POST \
-u '<username>:<password>' \
'https://api.mailgun.net/v3/{domain_name}/complaints' \
-H 'Content-Type: application/json' \
-d '[
{
"address": "alice@example.com",
"createdat": "Thu, 11 Dec 2025 01:49:40 UTC"
},
{
"address": "bob@example.com",
"createdat": "Mon, 01 Jan 0001 00:00:00 UTC"
}
]'Response
{ "message": "2 complaint addresses have been added to the complaints table" }