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

# List emails

> Your emails, newest first, cursor-paged. Items are the message object without `events`;
retrieve one for its timeline. Pages stay stable while new email arrives. Requires `read`.




## OpenAPI

````yaml /api-reference/openapi.yaml get /v1/emails
openapi: 3.1.0
info:
  title: Sendbaze API
  version: '1.0'
  description: >
    Transactional email and SMS for Africa. Send from your own domain through
    Amazon SES in Cape Town.

    Every send returns an id immediately; delivery is reported by webhook and in
    the dashboard logs.
  contact:
    name: Sendbaze support
    email: support@sendbaze.com
    url: https://www.sendbaze.com
servers:
  - url: https://api.sendbaze.com
security:
  - bearerAuth: []
tags:
  - name: Emails
  - name: Templates
  - name: Domains
  - name: Suppressions
  - name: Webhooks
  - name: SMS
  - name: Usage
paths:
  /v1/emails:
    get:
      tags:
        - Emails
      summary: List emails
      description: >
        Your emails, newest first, cursor-paged. Items are the message object
        without `events`;

        retrieve one for its timeline. Pages stay stable while new email
        arrives. Requires `read`.
      operationId: listEmails
      parameters:
        - name: status
          in: query
          schema:
            $ref: '#/components/schemas/MessageStatus'
        - name: tag
          in: query
          description: Exact match on one tag.
          schema:
            type: string
            maxLength: 64
        - name: to
          in: query
          description: Substring of the recipient, case-insensitive.
          schema:
            type: string
            maxLength: 254
        - name: since
          in: query
          description: ISO 8601 date-time; emails created at or after it.
          schema:
            type: string
            format: date-time
        - name: until
          in: query
          description: ISO 8601 date-time; emails created before it.
          schema:
            type: string
            format: date-time
        - name: limit
          in: query
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 50
        - $ref: '#/components/parameters/Cursor'
      responses:
        '200':
          description: A page of emails
          content:
            application/json:
              schema:
                type: object
                required:
                  - data
                  - nextCursor
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/EmailSummary'
                  nextCursor:
                    type:
                      - string
                      - 'null'
                    description: Pass as `cursor` for the next page; null on the last page.
        '422':
          $ref: '#/components/responses/Unprocessable'
components:
  schemas:
    MessageStatus:
      type: string
      enum:
        - queued
        - sent
        - delivered
        - bounced
        - complained
        - failed
        - expired
        - rejected
    EmailSummary:
      type: object
      required:
        - id
        - channel
        - class
        - status
        - to
        - from
        - subject
        - tags
        - error
        - createdAt
        - sentAt
        - deliveredAt
      properties:
        id:
          type: string
          example: em_01j9x7k2r4m8q3v5n6b7c8d9e0
        channel:
          type: string
          enum:
            - email
        class:
          $ref: '#/components/schemas/MessageClass'
        status:
          $ref: '#/components/schemas/MessageStatus'
        to:
          type: string
          description: Recipients as sent
          comma-separated when there were several.: null
        from:
          type: string
        subject:
          type:
            - string
            - 'null'
        tags:
          type: array
          items:
            type: string
        error:
          $ref: '#/components/schemas/MessageError'
        createdAt:
          type: string
          format: date-time
        sentAt:
          type:
            - string
            - 'null'
          format: date-time
        deliveredAt:
          type:
            - string
            - 'null'
          format: date-time
    MessageClass:
      type: string
      enum:
        - transactional
        - marketing
    MessageError:
      type:
        - object
        - 'null'
      required:
        - code
        - message
      properties:
        code:
          type: string
          example: hard_bounce
        message:
          type: string
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          $ref: '#/components/schemas/ErrorBody'
    ErrorBody:
      type: object
      required:
        - code
        - message
      properties:
        code:
          type: string
          description: Stable error code; see the errors reference.
          example: validation_error
        message:
          type: string
        docs:
          type: string
          format: uri
        fields:
          type: object
          description: Present on validation errors. Dotted path to messages.
          additionalProperties:
            type: array
            items:
              type: string
        limit:
          type: integer
          description: On `plan_limit`, the ceiling that was reached.
        upgradeUrl:
          type: string
          format: uri
          description: >-
            Where to change plan, when a bigger plan would have allowed the
            request.
        topUpUrl:
          type: string
          format: uri
          description: >-
            Where to add wallet funds, when a balance would have allowed the
            request.
        settingsUrl:
          type: string
          format: uri
          description: >-
            Where to change an organisation setting that blocked the request
            (SMS destinations).
        domainsUrl:
          type: string
          format: uri
          description: >-
            Where to add and verify a sending domain, on
            `sandbox_recipient_not_allowed` and `sandbox_limit_reached`.
  parameters:
    Cursor:
      name: cursor
      in: query
      description: The `nextCursor` of the previous page.
      schema:
        type: string
  responses:
    Unprocessable:
      description: >-
        Validation failed, a recipient is suppressed, or an SMS destination is
        not supported (destination_not_supported)
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error:
              code: validation_error
              message: The request has invalid fields.
              docs: https://docs.sendbaze.com/errors#validation_error
              fields:
                to.1:
                  - must be a valid email address
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        An API key from the dashboard. `sk_live_…` sends; `sk_test_…` validates
        and returns ids without sending.

````

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