Skip to content

Get mailing lists

Request

A mailing list is a group of members (recipients) which itself has an email address. This address becomes an ID for this mailing list.

Security
basicAuth
Query
limitstring

Set limit for the list length returned. Defaults to 100.

skipstring

Skip the first n values in the list. Defaults to 0.

addressstring

Filter mailing lists matching a specific address

curl -i -X GET \
  -u '<username>:<password>' \
  'https://api.mailgun.net/v3/lists?limit=string&skip=string&address=string'

Responses

OK

Bodyapplication/json
total_countinteger
itemsArray of objects(The mailing list response)
Response
{ "total_count": 1, "items": [ {} ] }