Mailgun OAuth Integration
Connect Mailgun to your application and send authenticated API requests through Pathfix.
Mailgun is an email sending API service. In Pathfix, Mailgun uses client key based authorization rather than an OAuth app. Users connect their Mailgun account through Pathfix, and your application sends Mailgun API requests through the Pathfix passthrough API.
How Pathfix helps
- 01
User connections
Users connect their Mailgun account to your app through the Pathfix Connect button.
- 02
Test before you ship
Use Test Connection in Pathfix to connect an account in the API Playground and run sample Mailgun calls.
- 03
Authenticated API passthrough
Your application sends Mailgun API requests through Pathfix, which adds the connected user’s credentials before passing them on to Mailgun.
You own the Mailgun account and credentials, and your code implements the API logic.
POST https://labs.pathfix.com/oauth/method/mailgunclientkey/callHow to get started
- 1
Select Mailgun in Pathfix
Add an application in your Pathfix account and select Mailgun from the providers. It uses client key based authorization rather than an OAuth app.
- 2
Test the connection
Use Test Connection to connect an account in the API Playground and run a sample call.
- 3
Add the Connect button
Add the Pathfix Connect button to your app so users can connect their Mailgun account.
- 4
Call the Mailgun API
Send requests through the Pathfix passthrough API using the provider reference
mailgunclientkey.