Mailgun Channel Provider

Configuration

To configure the Mailgun integration, you'll need the following data:

required fields are marked with an `*`
ParameterTypeDescription
fromobject
└ emailstring *The email address to send from
└ name The name to send from
api_keystring *
regionstring *
domainstring *

In the Dashboard

The easiest way to configure this integration is through the MagicBell dashboard:

  1. Log in to your MagicBell dashboard.
  2. Navigate to Channels.
  3. Find and click on this channel name in the sidebar.
  4. Click the Configure Mailgun button.
  5. Follow the on-screen instructions to complete the configuration.

Using the API

Use the API to save , list and delete Mailgun. For example, to save the integration:

Request
curl --request PUT \
  --url 'https://api.magicbell.com/v2/integrations/mailgun' \
  --header 'content-type: application/json' \
  --header "authorization: Bearer $TOKEN" \
  --data '{"from":{"name":"Example","email":"hello@example.com"},"api_key":"key-3ax6xnjp29jd6fds4gc373sgvjxteol0","region":"us","domain":"example.com"}'