Skip to content

Get all routes

Request

Get the list of routes. Note that routes are defined globally, per account, not per domain.

Security
basicAuth
Query
skipstring

Number of records to skip. Defaults to 0.

limitstring

Maximum number of records to return. Defaults to 100.

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

Responses

OK

Bodyapplication/json
total_countinteger

Total number of routes in the account

itemsArray of objects(RouteResponse)

List of routes

Response
{ "total_count": 1, "items": [ {} ] }