MailInApp Send API

The Send API from MailInApp — 2 operation(s) for send.

GitHub OpenAPI

Operations 2

GET /api/v1/projects List email projects #
POST /api/v1/send Send an email #

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/mailinapp-com:mailinapp-com-send-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

mailinapp-com-send-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Mailinapp Com Send API
  version: 1.0.0
  contact:
    name: MailInApp
    url: https://mailinapp.com
  description: 'Operations tagged Send across 2 of this provider''s published API definitions: mailinapp-com-openapi.json, mailinapp-com-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://mailinapp.com
security:
- apiKey: []
tags:
- name: Send
paths:
  /api/v1/projects:
    get:
      tags:
      - Send
      operationId: listProjects
      summary: List email projects
      description: 'The account''s studio email projects, most recently edited first (up to 200), for the `projectId` of a template send. Summary fields only: the design stays in the dashboard.'
      responses:
        '200':
          description: The projects
          content:
            application/json:
              schema:
                type: object
                required:
                - projects
                properties:
                  projects:
                    type: array
                    items:
                      type: object
                      required:
                      - id
                      - name
                      - purpose
                      - createdAt
                      - updatedAt
                      properties:
                        id:
                          type: string
                        name:
                          type: string
                        purpose:
                          type:
                          - string
                          - 'null'
                          description: The topic picked at creation (survey, promotion, newsletter, …), or null.
                        createdAt:
                          type: integer
                          description: Milliseconds since the epoch.
                        updatedAt:
                          type: integer
                          description: Milliseconds since the epoch.
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimited'
    servers:
    - url: https://mailinapp.com
  /api/v1/send:
    post:
      tags:
      - Send
      operationId: send
      summary: Send an email
      description: 'Freeform (`subject`, `html`, `text`) or template (`projectId` + `mergeData`, sends an existing studio project). Suppressed and invalid addresses are not sent to (`status: suppressed`). An account sending through MailInApp in its first 14 days has a daily and hourly limit; past it the call answers 429 with `code: sending-ramp` and nothing is sent or counted.'
      parameters:
      - name: Idempotency-Key
        in: header
        required: false
        description: Retrying with the same key returns the first call's result instead of sending again.
        schema:
          type: string
          maxLength: 200
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - to
              properties:
                to:
                  type: string
                  format: email
                type:
                  type: string
                  enum:
                  - transactional
                  - marketing
                  default: transactional
                subject:
                  type: string
                  maxLength: 200
                  description: 'Required in freeform mode. Template mode: omit it to use the project''s saved subject, else its name (merge tags allowed).'
                html:
                  type: string
                text:
                  type: string
                projectId:
                  type: string
                mergeData:
                  type: object
                  additionalProperties:
                    type:
                    - string
                    - number
                    - boolean
                    - 'null'
                preheader:
                  type: string
                  maxLength: 200
                  description: 'Template mode only: the inbox preview line shown after the subject, in place of the project''s own (merge tags allowed; empty sends none). Omit it to use the project''s.'
                listId:
                  type: string
                  description: 'Template mode only: the contacts list to look the recipient up in. When `to` is a contact (in this list, else the email''s own audience list, else the most recently updated contacts list holding it), the email is linked to that contact, so its answers, clicks and bookings reach the contact. 404 when it isn''t one of your contacts lists.'
                from:
                  type: object
                  required:
                  - email
                  properties:
                    email:
                      type: string
                      format: email
                    name:
                      type: string
                senderId:
                  type: string
                replyTo:
                  type: string
                  format: email
      responses:
        '200':
          description: The send's outcome
          content:
            application/json:
              schema:
                type: object
                required:
                - id
                - status
                properties:
                  id:
                    type: string
                  status:
                    type: string
                    enum:
                    - pending
                    - sent
                    - failed
                    - suppressed
                  reason:
                    type: string
                  error:
                    type: string
                  contact:
                    type:
                    - object
                    - 'null'
                    description: 'Template mode only: the contact the email was linked to, or null when the recipient isn''t a contact.'
                    required:
                    - listId
                    - rowId
                    properties:
                      listId:
                        type: string
                      rowId:
                        type: string
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
    servers:
    - url: https://mailinapp.com
components:
  responses:
    BadRequest:
      description: Invalid request
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            type: about:blank
            title: Bad Request
            status: 400
            detail: A valid `email` is required
            error: A valid `email` is required
    Unauthorized:
      description: Missing or invalid API key
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            type: about:blank
            title: Unauthorized
            status: 401
            detail: 'Missing or invalid Authorization: Bearer <apiKey>'
            error: 'Missing or invalid Authorization: Bearer <apiKey>'
    RateLimited:
      description: Too many requests for this key
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            type: about:blank
            title: Too Many Requests
            status: 429
            detail: Too many requests
            error: Too many requests
    NotFound:
      description: Not found, or not this account's
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            type: about:blank
            title: Not Found
            status: 404
            detail: List not found
            error: List not found
  schemas:
    Error:
      type: object
      description: An RFC 9457 problem details document. Routes may add extension members, such as a machine-readable `code`.
      required:
      - type
      - title
      - status
      - detail
      - error
      properties:
        type:
          type: string
          description: A URI naming the problem type; `about:blank` means the HTTP status says it all.
          example: about:blank
        title:
          type: string
          description: The HTTP status's reason phrase.
          example: Not Found
        status:
          type: integer
          description: The HTTP status code, repeated.
          example: 404
        detail:
          type: string
          description: What went wrong with this request, for a person to read.
          example: List not found
        error:
          type: string
          description: The same text as `detail`, kept for clients written before problem details.
          example: List not found
        code:
          type: string
          description: A machine-readable reason, on the routes that have one.
      additionalProperties: true
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: An API key from Dashboard → Developers (mia_live_…).
x-refined-from:
- mailinapp-com-openapi.json
- mailinapp-com-openapi.json
x-provenance:
  method: harvested
  publisher: MailInApp
  source: https://mailinapp.com/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)