Skip to content

Lookup unsubscribe record

Request

Fetch a single unsubscribe record to check if a given address is present in a list of unsubscribed users.

Security
basicAuth
Path
domain_namestringrequired

Domain to retrieve the unsubscribe from

addressstringrequired

The address to search for

curl -i -X GET \
  -u '<username>:<password>' \
  'https://api.mailgun.net/v3/{domain_name}/unsubscribes/{address}'

Responses

A 200 response

Bodyapplication/json
addressstringrequired

Email address for the original recipient

tagsArray of stringsrequired

Any tags present on the message the user clicked Unsubscribe on

created_atobject(github.com-mailgun-mime-RFC822Time)required

Timestamp for when the unsubscribe request was received in RFC822 format

Response
{ "address": "alice@example.com", "tags": [ "some tag" ], "created_at": "Thu, 11 Dec 2025 01:49:40 UTC" }