Skip to content

Get mailing lists by page

Request

Paginate over mailing lists

Security
basicAuth
Query
limitinteger

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

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

Responses

OK

Bodyapplication/json
pagingobject
itemsArray of objects(The mailing list response)
Response
{ "paging": { "first": "https://url_to_first_page", "last": "https://url_to_last_page", "next": "https://url_to_next_page", "previous": "https://url_to_previous_page" }, "items": [ {}, {} ] }