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

# Retrieve an email

> The message as it was accepted, and how far it has got. `last_event` is the furthest state reached, so a bounce is visible even though the message was accepted successfully.



## OpenAPI

````yaml /api-reference/openapi.json get /emails/{id}
openapi: 3.1.0
info:
  title: i10 API
  version: 0.0.0
  description: >-
    Transactional email API. Generated from the same Zod schemas the server
    validates with and the SDKs are built from, so the reference cannot drift
    from the implementation.
servers:
  - url: https://api.i10.tech
    description: Production
security: []
tags:
  - name: Emails
    description: Sending and retrieving transactional mail.
  - name: Domains
    description: Managing sending domains and DNS verification.
  - name: Webhooks
    description: Managing webhook endpoints, deliveries, replays and stats.
  - name: Webhook events
    description: Event payloads i10 signs and POSTs to your webhook endpoints.
  - name: Suppressions
    description: Managing workspace-wide suppressed recipient addresses.
  - name: Trusted templates
    description: Submitting email templates for deliverability review.
paths:
  /emails/{id}:
    get:
      tags:
        - Emails
      summary: Retrieve an email
      description: >-
        The message as it was accepted, and how far it has got. `last_event` is
        the furthest state reached, so a bounce is visible even though the
        message was accepted successfully.
      operationId: getEmail
      parameters:
        - schema:
            type: string
            format: uuid
          required: true
          name: id
          in: path
      responses:
        '200':
          description: The message.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Email'
        '401':
          description: The API key is missing, malformed, or unknown.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: >-
            No such message for this API key's tenant and mode, or the key is
            restricted to other domains than the message's `from` address.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: '`id` is not a uuid.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '501':
          description: The send path is not configured.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearerAuth: []
components:
  schemas:
    Email:
      type: object
      properties:
        object:
          type: string
          enum:
            - email
        id:
          type: string
          format: uuid
        mode:
          type: string
          enum:
            - live
            - test
        from:
          type: string
        to:
          type: array
          items:
            type: string
        cc:
          type: array
          items:
            type: string
        bcc:
          type: array
          items:
            type: string
        reply_to:
          type: array
          items:
            type: string
        subject:
          type: string
        html:
          type:
            - string
            - 'null'
        text:
          type:
            - string
            - 'null'
        created_at:
          type: string
        scheduled_at:
          type:
            - string
            - 'null'
        last_event:
          type: string
          enum:
            - queued
            - scheduled
            - sending
            - sent
            - delivered
            - delivery_delayed
            - opened
            - clicked
            - unsubscribed
            - bounced
            - complained
            - failed
            - canceled
      required:
        - object
        - id
        - mode
        - from
        - to
        - cc
        - bcc
        - reply_to
        - subject
        - html
        - text
        - created_at
        - scheduled_at
        - last_event
    Error:
      type: object
      properties:
        statusCode:
          type: integer
        name:
          type: string
          enum:
            - validation_error
            - missing_required_field
            - invalid_access
            - not_found
            - method_not_allowed
            - rate_limit_exceeded
            - daily_quota_exceeded
            - monthly_quota_exceeded
            - test_quota_exceeded
            - invalid_from_address
            - invalid_to_address
            - domain_not_verified
            - idempotency_conflict
            - domain_already_exists
            - domain_already_claimed
            - plan_limit_exceeded
            - mail_signin_off
            - mailbox_already_exists
            - restricted_api_key
            - test_key_not_allowed
            - confirmation_required
            - sending_paused
            - sending_held
            - template_already_submitted
            - internal_server_error
        message:
          type: string
      required:
        - statusCode
        - name
        - message
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Your i10 API key, prefixed `i10_live_` or `i10_test_`. Test keys can
        only send simulated emails (never delivered externally or counted toward
        limits), read test emails and list domains; all other endpoints refuse
        them with 403 `test_key_not_allowed`.

````

## Related topics

- [Send an email](https://docs.i10.tech/api-reference/emails/send-email.md)
- [Retrieve a domain](https://docs.i10.tech/api-reference/domains/get-domain.md)
- [Introduction](https://docs.i10.tech/api-reference/introduction.md)
- [Send up to 100 emails](https://docs.i10.tech/api-reference/emails/send-email-batch.md)
- [Emailsent](https://docs.i10.tech/api-reference/webhook-events/email-sent-event.md)


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