Skip to content

Forwards

This API allows you to manage forwarding of incoming emails.

Get a single forward rule by ID

Request

Retrieve a forward rule by ID

Security
basicAuth
Path
idstringrequired

The ID of the forward rule

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

Responses

A 200 response

Bodyapplication/json
idstringrequired
account_idstringrequired
domain_namestringrequired
domain_idstringrequired
matchstringrequired
forwardobject(github.com-mailgun-pathfinder-httpapi-Forward)required
created_atstringrequired
updated_atstringrequired
Response
{ "id": "60d9431e582ecdc84b886284", "account_id": "646634cc58ea2b8fe43e0000", "domain_name": "my-domain.com", "domain_id": "642134nn58ea2b8fe43e0000", "match": "wild*card@example.com", "forward": { "urls": [], "recipients": [], "store": "https://my-store-url.com/store" }, "created_at": "Mon, 28 Jun 2021 03:33:50 UTC", "updated_at": "Mon, 28 Jun 2021 03:33:50 UTC" }