Mailgun
Email sending, domains, delivery logs and bounces
Managed auth
Authentication
Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.
API key
Your users enter
- Account API keySecretRequired
- RegionOptionalIdentifier2 choices
Where to find them
In Mailgun: your profile menu (top right) → “API Security” → “Add new key”. Enter a description, choose a role with access to what you plan to use and copy the key: it is shown only once. Domain Sending Keys do not work because they can only send.
Tools (1)
Mailgun API request
MAILGUN_SEND_REQUESTAuthenticated call to the Mailgun API (https://{server}). Any endpoint of the API is allowed. Examples: GET /v4/domains, POST /v3/{domain}/messages with form {"from": "Example <hello@mg.example.com>", "to": "a@x.com", "subject": "…", "html": "…"}, POST /v1/analytics/logs {"duration": "7d", "events": ["failed"]} (event log), GET /v3/{domain}/bounces, GET /v3/{domain}/unsubscribes, GET /v3/{domain}/complaints.
Required scopes
No scopes required
Input
Mailgun API request input Name Type Description methodstringHTTP methodOne of: GET,POST,PUT,PATCH,DELETEDefault:"GET"pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link) queryobjectQuery string parameters bodyunknownJSON body formobjectBody as application/x-www-form-urlencoded instead of JSON body_base64stringBinary body, base64 (at most 960000 characters) content_typestringContent-Type of body_base64 headersobjectExtra headers such as Accept. Authentication is added automatically.

