> ## Documentation Index
> Fetch the complete documentation index at: https://docs.minimo.it/llms.txt
> Use this file to discover all available pages before exploring further.

# List Scheduled Sends

> What the rules scheduled from your events, and what happened to each email

Guide: [Booking events](https://docs.minimo.it/embedded/events.md#what-happens-at-send-time). Errors: [Errors and limits](https://docs.minimo.it/embedded/errors.md).


## OpenAPI

````yaml get /public/v1/scheduled-sends
openapi: 3.1.0
info:
  title: API Documentation
  description: Documentation for transactional and subscribe APIs
  version: 1.0.0
servers:
  - url: https://app.minimo.it
security:
  - bearerAuth: []
paths:
  /public/v1/scheduled-sends:
    servers:
      - url: https://api.minimo.it
    get:
      summary: List scheduled sends
      description: >-
        What the rules scheduled from your events, newest first, and what
        happened to each one.
      operationId: listScheduledSends
      parameters:
        - name: tenant
          in: query
          required: false
          description: Only this restaurant.
          schema:
            type: string
            maxLength: 64
        - name: cancellationKey
          in: query
          required: false
          description: Only this booking (or object).
          schema:
            type: string
        - name: status
          in: query
          required: false
          description: Only this status.
          schema:
            type: string
            enum:
              - pending
              - sending
              - sent
              - cancelled
              - skipped
              - failed
        - name: limit
          in: query
          required: false
          description: Default 50.
          schema:
            type: integer
            minimum: 1
            maximum: 200
      responses:
        '200':
          description: The scheduled sends
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/ScheduledSend'
              example:
                data:
                  - id: 42
                    tenant: restaurant_4812
                    rule: reminder
                    event: booking.created
                    recipient: anna@example.com
                    status: pending
                    reason: null
                    dueAt: '2026-11-20T17:30:00.000Z'
                    sentAt: null
                    messageId: null
                    template: 1202
                    sentTemplate: null
                    cancellationKey: booking-9921
                    createdAt: '2026-11-08T18:00:00.000Z'
        '401':
          description: >-
            `INVALID_TOKEN`: missing or wrong key, or a key without the
            **Events** permission.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      security:
        - bearerAuth: []
      x-codeSamples:
        - label: cURL
          lang: bash
          source: |-
            curl --request GET \
              --url 'https://api.minimo.it/public/v1/scheduled-sends?cancellationKey=booking-9921' \
              --header 'Authorization: Bearer YOUR_MINIMO_KEY'
        - lang: JavaScript
          source: >-
            const res = await
            fetch('https://api.minimo.it/public/v1/scheduled-sends?cancellationKey=booking-9921',
            {
              method: 'GET',
              headers: {
                Authorization: 'Bearer YOUR_MINIMO_KEY',
              },
            });

            const { data } = await res.json();

            console.log(data);
        - lang: Python
          source: |-
            import requests

            res = requests.get(
                'https://api.minimo.it/public/v1/scheduled-sends?cancellationKey=booking-9921',
                headers={'Authorization': 'Bearer YOUR_MINIMO_KEY'},
            )
            print(res.status_code, res.text)
components:
  schemas:
    ScheduledSend:
      type: object
      properties:
        id:
          type: integer
          example: 41
        tenant:
          type: string
          nullable: true
          example: restaurant_4812
        rule:
          type: string
          example: reminder
        event:
          type: string
          example: booking.created
        recipient:
          type: string
          example: anna@example.com
        status:
          type: string
          enum:
            - pending
            - sending
            - sent
            - cancelled
            - skipped
            - failed
          example: pending
        reason:
          type: string
          nullable: true
          description: >-
            Why it was skipped, cancelled or failed, for example
            `disabled_by_tenant`, `past_due`, `no_marketing_consent`,
            `cancelled_by_event:booking.cancelled`, `rescheduled`. See [Booking
            events](/embedded/events#what-happens-at-send-time).
        dueAt:
          type: string
          format: date-time
          description: When it goes out.
          example: '2026-11-20T17:30:00.000Z'
        sentAt:
          type: string
          format: date-time
          nullable: true
        messageId:
          type: string
          nullable: true
          description: Id of the sent email.
        template:
          type: integer
          description: Master template id.
          example: 1202
        sentTemplate:
          type: integer
          nullable: true
          description: Template actually sent (the restaurant's copy, if any).
        cancellationKey:
          type: string
          nullable: true
          example: booking-9921
        createdAt:
          type: string
          format: date-time
          example: '2026-11-08T16:01:02.000Z'
      required:
        - id
        - tenant
        - rule
        - event
        - recipient
        - status
        - reason
        - dueAt
        - sentAt
        - messageId
        - template
        - sentTemplate
        - cancellationKey
        - createdAt
    ApiError:
      type: object
      properties:
        status:
          type: string
          example: FAIL
        message:
          type: string
          description: The error code to test in your code.
          example: INVALID_PARAMETERS
        userMessage:
          type: string
          description: >-
            When present, a sentence that says what to fix. You can show or log
            it.
          example: Set the origins allowed to embed the widgets first.
      description: >-
        Every error has this shape. See [Errors and limits](/embedded/errors)
        for every code.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: mn-API_CLIENT_ID-API_KEY

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.