Skip to content

Get a member

Request

Get details about a specific mailing list member

Security
basicAuth
Path
list_addressstringrequired

The mailing list's address

member_addressstringrequired

The member's address

curl -i -X GET \
  -u '<username>:<password>' \
  'https://api.mailgun.net/v3/lists/{list_address}/members/{member_address}'

Responses

OK

Bodyapplication/json
addressstring

The email address of the mailing list

namestring

The name of the mailing list

varsobject

A JSON-encoded dictionary string with arbitrary parameters, e.g. {"gender":"female","age":27}

subscribedboolean

Whether the member is subscribed or not

Response
{ "address": "alice@example.com", "name": "Alice", "vars": { "gender": "female", "age": 27 }, "subscribed": true }