SendPanda Emails API

The Emails API from SendPanda, for emails.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 8

POST /v1/emails Create emails #
GET /v1/emails Get emails #
POST /emails Create emails #
POST /emails/batch Create emails batch #
GET /v1/emails/{id} Get emails by id #
GET /v1/emails/status-counts Get emails status counts #
GET /v1/emails/{id}/content Get emails by id content #
POST /v1/emails/{id}/cancel Create emails by id cancel #

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/sendpanda-email:sendpanda-email-emails-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

sendpanda-email-emails-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SendPanda Emails API
  version: 1.0.0
  description: Transactional email API. Secrets belong only on your server.
tags:
- name: Emails
paths:
  /v1/emails:
    post:
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                from:
                  type: string
                  maxLength: 320
                to:
                  minItems: 1
                  maxItems: 50
                  type: array
                  items:
                    type: string
                    format: email
                    pattern: ^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
                cc:
                  maxItems: 50
                  type: array
                  items:
                    type: string
                    format: email
                    pattern: ^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
                bcc:
                  maxItems: 50
                  type: array
                  items:
                    type: string
                    format: email
                    pattern: ^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
                subject:
                  type: string
                  minLength: 1
                  maxLength: 998
                html:
                  type: string
                  maxLength: 250000
                text:
                  type: string
                  maxLength: 250000
                reply_to:
                  type: string
                  maxLength: 320
                in_reply_to:
                  type: string
                  maxLength: 250
                references:
                  maxItems: 20
                  type: array
                  items:
                    type: string
                    maxLength: 250
                otp_token:
                  type: object
                  properties:
                    code:
                      type: string
                      pattern: ^[\x20-\x7E]{1,64}$
                    origin:
                      type: string
                  required:
                  - code
                  - origin
                  additionalProperties: false
                track_replies:
                  type: boolean
                tags:
                  default: []
                  maxItems: 10
                  type: array
                  items:
                    type: object
                    properties:
                      name:
                        type: string
                        pattern: ^[a-zA-Z0-9_-]{1,64}$
                      value:
                        type: string
                        pattern: ^[a-zA-Z0-9_-]{1,128}$
                    required:
                    - name
                    - value
                    additionalProperties: false
                metadata:
                  default: {}
                  type: object
                  additionalProperties:
                    type: string
                    maxLength: 512
                template_id:
                  type: string
                  maxLength: 64
                attachments:
                  maxItems: 10
                  type: array
                  items:
                    type: object
                    properties:
                      filename:
                        type: string
                        minLength: 1
                        maxLength: 200
                      content:
                        type: string
                        minLength: 1
                        maxLength: 13981016
                      content_type:
                        type: string
                        maxLength: 127
                        pattern: ^[\w.+-]+\/[\w.+-]+$
                    required:
                    - filename
                    - content
                    additionalProperties: false
                variables:
                  type: object
                  additionalProperties:
                    anyOf:
                    - type: string
                      maxLength: 10000
                    - type: number
                    - type: boolean
              required:
              - from
              - to
              additionalProperties: false
      security:
      - bearerAuth: []
      responses:
        '202':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  status:
                    type: string
                    enum:
                    - queued
                    - processing
                    - submitted
                    - delivered
                    - deferred
                    - bounced
                    - complained
                    - failed
                    - cancelled
                required:
                - id
                - status
                additionalProperties: false
      tags:
      - Emails
      summary: Create emails
      x-summary-source: derived
      operationId: postV1Emails
      x-operation-id-source: derived
    get:
      parameters:
      - schema:
          type: string
        in: query
        name: status
        required: false
      - schema:
          type: string
          maxLength: 320
        in: query
        name: recipient
        required: false
      - schema:
          type: string
          maxLength: 200
        in: query
        name: q
        required: false
      - schema:
          type: string
        in: query
        name: domain
        required: false
      - schema:
          type: string
          format: date-time
          pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
        in: query
        name: after
        required: false
      - schema:
          type: string
          format: date-time
          pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
        in: query
        name: before
        required: false
      - schema:
          type: string
        in: query
        name: tag
        required: false
      - schema:
          type: string
          maxLength: 512
        in: query
        name: cursor
        required: false
      responses:
        '200':
          description: Default Response
      tags:
      - Emails
      summary: Get emails
      x-summary-source: derived
      operationId: getV1Emails
      x-operation-id-source: derived
  /emails:
    post:
      description: Migration path for the official resend npm package. New projects should use @sendpanda/sdk and POST /v1/emails. The resend package posts here when RESEND_BASE_URL is the SendPanda API origin and the bearer token is a SendPanda API key. Tested with resend 6.13.0–6.39.0. Unknown request fields are ignored. scheduled_at, topics, headers other than In-Reply-To, References and OTP-Token, attachment URLs, and inline content ids return a Resend-shaped error and are not sent. The success body is { id }.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: {}
      responses:
        '200':
          description: Default Response
      tags:
      - Emails
      summary: Create emails
      x-summary-source: derived
      operationId: postEmails
      x-operation-id-source: derived
  /emails/batch:
    post:
      description: Migration path for resend.batch.send. New projects should send with @sendpanda/sdk. Accepts up to 100 messages. Tested with resend 6.13.0–6.39.0. Unknown fields on each message are ignored. The x-batch-validation header is strict (fail with nothing accepted) or permissive (index-aligned data, null where a message was not accepted).
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: array
              items:
                type: object
                additionalProperties: {}
      responses:
        '200':
          description: Default Response
      tags:
      - Emails
      summary: Create emails batch
      x-summary-source: derived
      operationId: postEmailsBatch
      x-operation-id-source: derived
  /v1/emails/{id}:
    get:
      parameters:
      - schema:
          type: string
          maxLength: 80
        in: path
        name: id
        required: true
      responses:
        '200':
          description: Default Response
      tags:
      - Emails
      summary: Get emails by id
      x-summary-source: derived
      operationId: getV1EmailsById
      x-operation-id-source: derived
  /v1/emails/status-counts:
    get:
      parameters:
      - schema:
          type: string
          format: date-time
          pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
        in: query
        name: after
        required: false
      - schema:
          type: string
        in: query
        name: domain
        required: false
      responses:
        '200':
          description: Default Response
      tags:
      - Emails
      summary: Get emails status counts
      x-summary-source: derived
      operationId: getV1EmailsStatusCounts
      x-operation-id-source: derived
  /v1/emails/{id}/content:
    get:
      parameters:
      - schema:
          type: string
          maxLength: 80
        in: path
        name: id
        required: true
      responses:
        '200':
          description: Default Response
      tags:
      - Emails
      summary: Get emails by id content
      x-summary-source: derived
      operationId: getV1EmailsByIdContent
      x-operation-id-source: derived
  /v1/emails/{id}/cancel:
    post:
      parameters:
      - schema:
          type: string
          maxLength: 80
        in: path
        name: id
        required: true
      responses:
        '200':
          description: Default Response
      tags:
      - Emails
      summary: Create emails by id cancel
      x-summary-source: derived
      operationId: postV1EmailsByIdCancel
      x-operation-id-source: derived
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer