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

# List emails

> Retrieve a paginated list of emails sent by your team. Supports filtering by search term, status, domain, and date range.



## OpenAPI

````yaml GET /emails
openapi: 3.1.0
info:
  title: SendKit API
  description: The SendKit API allows you to send transactional emails programmatically.
  version: 1.0.0
servers:
  - url: https://api.sendkit.dev
security:
  - bearerAuth: []
paths:
  /emails:
    get:
      tags:
        - Emails
      summary: List emails
      description: >-
        Retrieve a paginated list of emails sent by your team. Supports
        filtering by search term, status, domain, and date range.
      operationId: listEmails
      parameters:
        - name: search
          in: query
          description: Search emails by recipient address.
          schema:
            type: string
        - name: status
          in: query
          description: Filter by email status (e.g. delivered, bounced).
          schema:
            type: string
        - name: domain_id
          in: query
          description: Filter by sending domain ID.
          schema:
            type: string
            format: uuid
        - name: start_date
          in: query
          description: Filter emails sent after this date (YYYY-MM-DD).
          schema:
            type: string
            format: date
        - name: end_date
          in: query
          description: Filter emails sent before this date (YYYY-MM-DD).
          schema:
            type: string
            format: date
      responses:
        '200':
          description: A paginated list of emails
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedEmails'
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  schemas:
    PaginatedEmails:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/Email'
        links:
          $ref: '#/components/schemas/PaginationLinks'
        meta:
          $ref: '#/components/schemas/PaginationMeta'
    Email:
      type: object
      properties:
        id:
          type: string
          format: uuid
          example: 550e8400-e29b-41d4-a716-446655440000
        from:
          type: string
          example: hello@example.com
        to:
          type: string
          example: user@example.com
        subject:
          type: string
          example: Welcome to our service
        last_event:
          type: string
          enum:
            - sent
            - delivered
            - bounced
            - complained
            - opened
            - clicked
            - failed
            - delivery_delayed
            - rejected
            - suppressed
            - cancelled
          example: delivered
        domain:
          type: object
          nullable: true
          properties:
            id:
              type: string
              format: uuid
            name:
              type: string
              example: example.com
        template:
          type: object
          nullable: true
          properties:
            id:
              type: string
              format: uuid
            name:
              type: string
              example: Welcome Email
        tags:
          type: array
          items:
            type: object
        events:
          type: array
          items:
            $ref: '#/components/schemas/EmailEvent'
        scheduled_at:
          type: string
          format: date-time
          nullable: true
          example: '2026-03-15 10:00:00'
        sent_at:
          type: string
          format: date-time
          nullable: true
          example: '2026-03-11 14:30:00'
        created_at:
          type: string
          format: date-time
          example: '2026-03-11 14:30:00'
    PaginationLinks:
      type: object
      properties:
        first:
          type:
            - string
            - 'null'
          description: URL to the first page.
          example: https://api.sendkit.dev/contacts?page=1
        last:
          type:
            - string
            - 'null'
          description: URL to the last page.
          example: https://api.sendkit.dev/contacts?page=3
        prev:
          type:
            - string
            - 'null'
          description: URL to the previous page, or null if on the first page.
          example: null
        next:
          type:
            - string
            - 'null'
          description: URL to the next page, or null if on the last page.
          example: https://api.sendkit.dev/contacts?page=2
    PaginationMeta:
      type: object
      properties:
        current_page:
          type: integer
          description: The current page number.
          example: 1
        from:
          type:
            - integer
            - 'null'
          description: The index of the first item on the current page.
          example: 1
        last_page:
          type: integer
          description: The last available page number.
          example: 3
        per_page:
          type: integer
          description: The number of items per page.
          example: 25
        to:
          type:
            - integer
            - 'null'
          description: The index of the last item on the current page.
          example: 25
        total:
          type: integer
          description: The total number of items.
          example: 75
        path:
          type: string
          description: The base URL for the paginated resource.
          example: https://api.sendkit.dev/contacts
    ErrorResponse:
      type: object
      properties:
        name:
          type: string
          description: Error type identifier.
          example: validation_error
        message:
          type: string
          description: Human-readable error message.
          example: The from address domain is not verified.
    EmailEvent:
      type: object
      properties:
        id:
          type: string
          format: uuid
        type:
          type: string
          example: delivered
        metadata:
          type: object
        created_at:
          type: string
          format: date-time
          example: '2026-03-11 14:30:05'
  responses:
    Unauthorized:
      description: Unauthorized — missing or invalid API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            message: Invalid API key.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        API key from your SendKit dashboard. Pass it as a Bearer token in the
        Authorization header.

````