latestOpenAPI 3.1.02026-08-1014497184.0 KB

8b99dca11019

mailgun
channel/email

Save a Mailgun integration

Updates or creates the Mailgun integration for the project.

put/integrations/mailgun

Request body

api_keystring required
domainstring required
region'us' | 'eu' required

Example request

{
  "api_key": "key-3ax6xnjp29jd6fds4gc373sgvjxteol0",
  "domain": "example.com",
  "from": {
    "email": "hello@example.com",
    "name": "Example"
  },
  "region": "us"
}

Response

OK

api_keystring required
domainstring required
region'us' | 'eu' required

Example response

{
  "api_key": "key-3ax6xnjp29jd6fds4gc373sgvjxteol0",
  "domain": "example.com",
  "from": {
    "email": "hello@example.com",
    "name": "Example"
  },
  "region": "us"
}