MagicBell Mailgun API

The mailgun API from MagicBell — 1 operation(s) for mailgun.

Operations 3

GET /integrations/mailgun List all Mailgun integrations #
PUT /integrations/mailgun Save a Mailgun integration #
DELETE /integrations/mailgun Delete a Mailgun integration #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/magicbell:magicbell-mailgun-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

magicbell-mailgun-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: MagicBell Mailgun API
  description: OpenAPI 3.1.0 Specification for MagicBell API.
  contact:
    name: MagicBell
    url: https://wwww.magicbell.com
  version: 2.0.0
servers:
- url: https://api.magicbell.com/v2
  description: MagicBell API (v2) Base URL
tags:
- name: mailgun
paths:
  /integrations/mailgun:
    summary: Mailgun email
    description: Connect Mailgun so you can deliver notifications using your existing domains, routes, and analytics.
    get:
      tags:
      - mailgun
      summary: List all Mailgun integrations
      description: Retrieves the current Mailgun integration configurations for a specific integration type in the project. Returns configuration details and status information.
      operationId: list_mailgun_integrations
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MailgunConfigCollection'
      x-magicbell-auth-jwt-type: project
      x-meta:
        channel: email
        displayName: Mailgun
        name: mailgun
    put:
      tags:
      - mailgun
      summary: Save a Mailgun integration
      description: Updates or creates the Mailgun integration for the project.
      operationId: save_mailgun_integration
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MailgunConfigPayload'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MailgunConfigPayload'
      x-magicbell-auth-jwt-type: project
      x-meta:
        channel: email
        displayName: Mailgun
        name: mailgun
    delete:
      tags:
      - mailgun
      summary: Delete a Mailgun integration
      description: Deletes the Mailgun integration configuration from the project. This will disable the integration's functionality within the project.
      operationId: delete_mailgun_integration
      parameters:
      - name: id
        in: query
        description: the unique identifier of the integration to be deleted
        required: false
        schema:
          type: string
      responses:
        '204':
          description: No Content
      x-magicbell-auth-jwt-type: project
      x-meta:
        channel: email
        displayName: Mailgun
        name: mailgun
components:
  schemas:
    Links:
      properties:
        first:
          type: string
        next:
          type:
          - string
          - 'null'
        prev:
          type:
          - string
          - 'null'
      type: object
    MailgunConfigCollection:
      examples:
      - data:
        - config:
            api_key: key-3ax6xnjp29jd6fds4gc373sgvjxteol0
            domain: example.com
            from:
              email: hello@example.com
              name: Example
            region: us
          id: '123'
          name: <provider-name>
        links:
          first: https://api.magicbell.com/v1/example
          next: https://api.magicbell.com/v1/example?page_next=abc
          prev: null
      properties:
        data:
          items:
            $ref: '#/components/schemas/MailgunConfig'
          type: array
        links:
          $ref: '#/components/schemas/Links'
      type: object
    MailgunConfigPayload:
      $schema: http://json-schema.org/draft-07/schema#
      examples:
      - api_key: key-3ax6xnjp29jd6fds4gc373sgvjxteol0
        domain: example.com
        from:
          email: hello@example.com
          name: Example
        region: us
      properties:
        api_key:
          minLength: 1
          type: string
        domain:
          minLength: 1
          type: string
        from:
          properties:
            email:
              description: The email address to send from
              format: email
              type: string
            name:
              description: The name to send from
              type:
              - string
              - 'null'
          required:
          - email
          type: object
        region:
          enum:
          - us
          - eu
          type: string
      required:
      - api_key
      - region
      - domain
      type: object
    MailgunConfig:
      properties:
        config:
          $ref: '#/components/schemas/MailgunConfigPayload'
        id:
          type: string
        name:
          type: string
      required:
      - name
      - id
      - config
      type: object
x-provenance:
  method: harvested
  publisher: MagicBell
  source: https://www.magicbell.com/docs/api/openapi.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)