Mailjet Campaigns API

Manage campaigns and drafts

GitHub OpenAPI
Business capability
Digital Marketing Management BC-400.60

Operations 4

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /campaign List email campaigns · List campaigns #
Ask an LLM
“Which email campaigns have I sent?”
“Can I see all my campaigns?”
Tell an agent
List my campaigns.
Show every email campaign.
GET /campaigndraft List email campaign drafts · List campaign drafts #
Ask an LLM
“What campaign drafts do I have?”
“Can I see my unsent campaign drafts?”
Tell an agent
List my campaign drafts.
Show the email campaigns I am still drafting.
POST /campaigndraft Create an email campaign draft · Create a campaign draft #
Ask an LLM
“How do I start a new email campaign draft?”
“Can I save a campaign draft before sending it?”
Tell an agent
Create a campaign draft.
Save a new email campaign draft.
POST /campaigndraft/{id}/send Send an email campaign draft · Send a campaign draft #
Ask an LLM
“How do I send a campaign draft?”
“Can I send a saved campaign draft as a real email campaign?”
Tell an agent
Send campaign draft {id}.
Send the email campaign draft {id}.

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/mailjet:mailjet-campaigns-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

mailjet-campaigns-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Mailjet Email Campaigns API
  description: The Mailjet Email API enables sending transactional and marketing emails programmatically via JSON requests. The API also exposes resources for managing contacts, contact lists, segments, campaigns, templates, sender addresses, statistics, and event tracking. All requests use HTTP Basic authentication with an API key and secret pair issued from the Mailjet account dashboard.
  version: '3.1'
  contact:
    name: Mailjet API Support
    url: https://documentation.mailjet.com/hc/en-us
  termsOfService: https://www.mailjet.com/legal/terms/
servers:
- url: https://api.mailjet.com/v3.1
  description: Send API v3.1
- url: https://api.mailjet.com/v3
  description: REST API v3
security:
- BasicAuth: []
tags:
- name: Campaigns
  description: Manage campaigns and drafts
paths:
  /campaign:
    get:
      operationId: listCampaigns
      summary: List campaigns
      tags:
      - Campaigns
      servers:
      - url: https://api.mailjet.com/v3
      responses:
        '200':
          description: Campaigns
  /campaigndraft:
    get:
      operationId: listCampaignDrafts
      summary: List campaign drafts
      tags:
      - Campaigns
      servers:
      - url: https://api.mailjet.com/v3
      responses:
        '200':
          description: Campaign drafts
    post:
      operationId: createCampaignDraft
      summary: Create a campaign draft
      tags:
      - Campaigns
      servers:
      - url: https://api.mailjet.com/v3
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      responses:
        '201':
          description: Draft created
  /campaigndraft/{id}/send:
    post:
      operationId: sendCampaignDraft
      summary: Send a campaign draft
      tags:
      - Campaigns
      servers:
      - url: https://api.mailjet.com/v3
      parameters:
      - $ref: '#/components/parameters/PathId'
      responses:
        '201':
          description: Campaign sent
components:
  parameters:
    PathId:
      name: id
      in: path
      required: true
      schema:
        type: string
  securitySchemes:
    BasicAuth:
      type: http
      scheme: basic
      description: API key and secret used as HTTP Basic credentials
externalDocs:
  description: Mailjet API Reference
  url: https://dev.mailjet.com/email/reference/