Mailcoach Sends API

Individual sends (one per subscriber per campaign/automation mail)

GitHub OpenAPI

Operations 3

GET /sends List all sends #
GET /sends/{send} Get a send #
DELETE /sends/{send} Delete a send #

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/mailcoach-app:mailcoach-app-sends-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

mailcoach-app-sends-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Mailcoach Sends API
  description: 'REST API for Laravel Mailcoach — send email campaigns, manage subscribers,

    and handle transactional mails.


    Authentication is via Bearer token (Laravel Sanctum).

    All collection endpoints return paginated responses using the standard

    Laravel pagination envelope (`data`, `links`, `meta`).


    Filtering uses the `?filter[key]=value` convention

    (spatie/laravel-query-builder). Sorting uses `?sort=field` (ascending)

    or `?sort=-field` (descending).'
  version: 1.0.0
  contact:
    name: Spatie
    url: https://mailcoach.app
servers:
- url: '{baseUrl}/api'
  description: Mailcoach API
  variables:
    baseUrl:
      default: https://your-app.com
      description: The base URL of your Mailcoach installation
security:
- bearerAuth: []
tags:
- name: Sends
  description: Individual sends (one per subscriber per campaign/automation mail)
paths:
  /sends:
    get:
      operationId: listSends
      summary: List all sends
      tags:
      - Sends
      parameters:
      - $ref: '#/components/parameters/page'
      - $ref: '#/components/parameters/per_page'
      - name: sort
        in: query
        description: 'Sort field. Allowed: `sent_at`, `-sent_at` (default).'
        schema:
          type: string
          enum:
          - sent_at
          - -sent_at
      - name: filter[subscriber_uuid]
        in: query
        description: Filter by subscriber UUID
        schema:
          type: string
          format: uuid
      - name: filter[campaign_uuid]
        in: query
        description: Filter by campaign UUID
        schema:
          type: string
          format: uuid
      - name: filter[automation_mail_uuid]
        in: query
        description: Filter by automation mail UUID
        schema:
          type: string
          format: uuid
      - name: filter[transactional_mail_log_item_uuid]
        in: query
        description: Filter by transactional mail log item UUID
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Paginated list of sends
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Send'
                  links:
                    $ref: '#/components/schemas/PaginationLinks'
                  meta:
                    $ref: '#/components/schemas/PaginationMeta'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
  /sends/{send}:
    get:
      operationId: showSend
      summary: Get a send
      tags:
      - Sends
      parameters:
      - name: send
        in: path
        required: true
        description: Send UUID
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Send details
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/Send'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
    delete:
      operationId: deleteSend
      summary: Delete a send
      tags:
      - Sends
      parameters:
      - name: send
        in: path
        required: true
        description: Send UUID
        schema:
          type: string
          format: uuid
      responses:
        '204':
          $ref: '#/components/responses/NoContent'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  responses:
    Forbidden:
      description: Forbidden — insufficient permissions
    Unauthorized:
      description: Unauthenticated — missing or invalid bearer token
    NoContent:
      description: No content — action completed successfully
    NotFound:
      description: Resource not found
  schemas:
    Uuid:
      type: string
      format: uuid
      example: 00000000-0000-0000-0000-000000000000
    Timestamp:
      type: string
      format: date-time
      example: '2026-01-15T12:00:00.000000Z'
    Send:
      type: object
      properties:
        uuid:
          $ref: '#/components/schemas/Uuid'
        transport_message_id:
          type:
          - string
          - 'null'
        campaign_uuid:
          type:
          - string
          - 'null'
          format: uuid
        automation_mail_uuid:
          type:
          - string
          - 'null'
          format: uuid
        transactional_mail_log_item_uuid:
          type:
          - string
          - 'null'
          format: uuid
        content_item_name:
          type:
          - string
          - 'null'
          description: Name of the campaign, automation mail, or transactional mail
        subscriber_uuid:
          type:
          - string
          - 'null'
          format: uuid
        subscriber_email:
          type:
          - string
          - 'null'
          format: email
        sent_at:
          type:
          - string
          - 'null'
          format: date-time
        failed_at:
          type:
          - string
          - 'null'
          format: date-time
        failure_reason:
          type:
          - string
          - 'null'
        open_count:
          type: integer
        click_count:
          type: integer
        bounce_count:
          type: integer
        hard_bounce_count:
          type: integer
        soft_bounce_count:
          type: integer
        first_opened_at:
          type:
          - string
          - 'null'
          format: date-time
        last_opened_at:
          type:
          - string
          - 'null'
          format: date-time
        first_clicked_at:
          type:
          - string
          - 'null'
          format: date-time
        last_clicked_at:
          type:
          - string
          - 'null'
          format: date-time
        created_at:
          $ref: '#/components/schemas/Timestamp'
        updated_at:
          $ref: '#/components/schemas/Timestamp'
    PaginationLinks:
      type: object
      properties:
        first:
          type: string
          format: uri
          example: https://your-app.com/api/templates?page=1
        last:
          type: string
          format: uri
          example: https://your-app.com/api/templates?page=5
        prev:
          type:
          - string
          - 'null'
          format: uri
        next:
          type:
          - string
          - 'null'
          format: uri
    PaginationMeta:
      type: object
      properties:
        current_page:
          type: integer
          example: 1
        from:
          type:
          - integer
          - 'null'
          example: 1
        last_page:
          type: integer
          example: 5
        links:
          type: array
          items:
            type: object
            properties:
              url:
                type:
                - string
                - 'null'
                format: uri
              label:
                type: string
              active:
                type: boolean
        path:
          type: string
          format: uri
        per_page:
          type: integer
          example: 15
        to:
          type:
          - integer
          - 'null'
          example: 15
        total:
          type: integer
          example: 73
  parameters:
    per_page:
      name: per_page
      in: query
      description: Number of items per page
      schema:
        type: integer
        minimum: 1
        maximum: 100
        default: 15
    page:
      name: page
      in: query
      description: Page number
      schema:
        type: integer
        minimum: 1
        default: 1
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Laravel Sanctum API token