/
Add allowlist record
Add an address or domain to the allowlist table
Security
basicAuth
- US Mailgunhttps://api.mailgun.net/v3/{domain_name}/whitelists
- EU Mailgunhttps://api.eu.mailgun.net/v3/{domain_name}/whitelists
curl -i -X POST \
-u '<username>:<password>' \
'https://api.mailgun.net/v3/{domain_name}/whitelists' \
-H 'Content-Type: application/form-data' \
-d '{
"address": "string",
"domain": "string"
}'Response
{ "message": "Address/Domain has been added to the allowlists table", "type": "domain", "value": "example.com" }