Skip to content

Get a route

Request

Returns a detailed view of the route

Security
basicAuth
Path
idstringrequired

The unique identifier of the route

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

Responses

OK

Bodyapplication/json
routeobject(RouteResponse)
Response
{ "route": { "id": "4f3bad2335335426750048c6", "priority": 0, "description": "Sample route", "expression": "match_recipient(\".*@samples.mailgun.org\")", "actions": [], "created_at": "Wed, 15 Feb 2012 13:03:31 GMT" } }