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

# List Issues

> List newsletter issues. Scheduled sends are draft issues with scheduledFor set; filter status=draft and inspect scheduledFor to find scheduled issues.



## OpenAPI

````yaml /openapi.json get /newsletter/issues
openapi: 3.0.3
info:
  title: Maito API Reference
  version: 0.1.0
  description: Supported endpoints for external Maito integrations.
servers:
  - url: https://api.getmaito.com/v1
    description: Maito Cloud
security:
  - bearerAuth: []
tags:
  - name: Newsletter
    description: Manage newsletter settings, subscribers, issues, and analytics.
  - name: Media Uploads
    description: Upload media assets for social and newsletter content.
paths:
  /newsletter/issues:
    get:
      tags:
        - Newsletter
      summary: List Issues
      description: >-
        List newsletter issues. Scheduled sends are draft issues with
        scheduledFor set; filter status=draft and inspect scheduledFor to find
        scheduled issues.
      operationId: listNewsletterIssues
      parameters:
        - name: status
          in: query
          required: false
          schema:
            type: string
            enum:
              - draft
              - sending
              - sent
              - failed
          description: Issue status.
        - name: isPublic
          in: query
          required: false
          schema:
            type: boolean
          description: >-
            Filter by website visibility. Use true for custom website issue
            lists.
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            maximum: 200
          description: Maximum rows.
      responses:
        '200':
          description: Successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NewsletterIssuesResponse'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '422':
          $ref: '#/components/responses/ValidationError'
      security:
        - bearerAuth: []
components:
  schemas:
    NewsletterIssuesResponse:
      allOf:
        - $ref: '#/components/schemas/ApiSuccess'
        - type: object
          properties:
            data:
              type: array
              items:
                $ref: '#/components/schemas/NewsletterIssue'
    ApiSuccess:
      type: object
      required:
        - ok
        - data
      properties:
        ok:
          type: boolean
          enum:
            - true
        data: {}
    NewsletterIssue:
      type: object
      required:
        - id
        - workspaceId
        - accountSetId
        - subject
        - status
        - createdBy
        - createdAt
        - updatedAt
      properties:
        id:
          type: string
        slug:
          type: string
          nullable: true
        workspaceId:
          type: string
        accountSetId:
          type: string
          format: uuid
        subject:
          type: string
        previewText:
          type: string
          nullable: true
        thumbnailUrl:
          type: string
          nullable: true
          format: uri
        contentHtml:
          type: string
          nullable: true
        contentJson:
          description: Structured editor content. May be null.
        scheduledFor:
          type: string
          nullable: true
          format: date-time
          description: >-
            Set for scheduled newsletter issues. Scheduled issues remain in
            draft status until sending starts.
        audience:
          description: Stored audience selection for scheduled sends. May be null.
        status:
          $ref: '#/components/schemas/NewsletterIssueStatus'
        isPublic:
          type: boolean
        category:
          allOf:
            - $ref: '#/components/schemas/NewsletterCategory'
          nullable: true
        categories:
          type: array
          items:
            $ref: '#/components/schemas/NewsletterCategory'
          maxItems: 1
        stats:
          $ref: '#/components/schemas/NewsletterIssueStats'
        createdBy:
          type: string
        sentAt:
          type: string
          nullable: true
        createdAt:
          type: string
        updatedAt:
          type: string
    ErrorResponse:
      type: object
      required:
        - ok
        - error
      properties:
        ok:
          type: boolean
          enum:
            - false
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
            message:
              type: string
            details: {}
          additionalProperties: true
    NewsletterIssueStatus:
      type: string
      enum:
        - draft
        - sending
        - sent
        - failed
    NewsletterCategory:
      type: object
      required:
        - id
        - workspaceId
        - accountSetId
        - name
        - slug
        - createdAt
        - updatedAt
      properties:
        id:
          type: string
        workspaceId:
          type: string
        accountSetId:
          type: string
          format: uuid
        name:
          type: string
        slug:
          type: string
        createdAt:
          type: string
        updatedAt:
          type: string
    NewsletterIssueStats:
      type: object
      required:
        - newSubscriberCount
        - subscriberCountTargeted
        - sentCount
        - deliveredCount
        - openedCount
        - clickedCount
        - bouncedCount
        - complainedCount
        - failedCount
      properties:
        newSubscriberCount:
          type: integer
          minimum: 0
        subscriberCountTargeted:
          type: integer
          minimum: 0
        sentCount:
          type: integer
          minimum: 0
        deliveredCount:
          type: integer
          minimum: 0
        openedCount:
          type: integer
          minimum: 0
        clickedCount:
          type: integer
          minimum: 0
        bouncedCount:
          type: integer
          minimum: 0
        complainedCount:
          type: integer
          minimum: 0
        failedCount:
          type: integer
          minimum: 0
  responses:
    Unauthorized:
      description: The API key is missing or invalid.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            ok: false
            error:
              code: UNAUTHORIZED
              message: Authentication required.
    ValidationError:
      description: The request failed validation.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            ok: false
            error:
              code: VALIDATION_ERROR
              message: Invalid document query.
              details: []
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      x-default: your-api-key

````