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

# Get a sent message

> Returns available content and metadata for a sent marketing message.



## OpenAPI

````yaml /openapi.json get /marketing/messages/{uid}
openapi: 3.0.0
info:
  title: JetEmail API
  version: 1.0.0
  description: API documentation for JetEmail's transactional email service.
servers:
  - url: https://api.jetemail.com
    description: Production
security:
  - apiKeyAuth: []
tags:
  - name: Email
    description: Send transactional email
  - name: Outbound
    description: 'Outbound sending: keys, SMTP users, domains, logs, suppression'
  - name: Inbound
    description: Inbound routing, domains and forward destinations
  - name: DMARC
    description: DMARC aggregate-report domain setup, DNS verification and analytics
  - name: Marketing
    description: >-
      Marketing suite: templates, audiences, contacts, broadcasts, themes,
      assets and signup forms
  - name: Signup Forms
    description: Hosted signup pages and form submissions
externalDocs:
  description: Download OpenAPI Specification
  url: /openapi.json
paths:
  /marketing/messages/{uid}:
    parameters:
      - name: uid
        in: path
        required: true
        schema:
          type: string
        description: Message id returned by a send, and the `id` on marketing log rows
    get:
      tags:
        - Marketing
      summary: Get a sent message
      description: Returns available content and metadata for a sent marketing message.
      responses:
        '200':
          description: Rebuilt message
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  message:
                    type: object
                    properties:
                      uid:
                        type: string
                      messageId:
                        type: string
                        nullable: true
                        description: RFC Message-ID header
                      kind:
                        type: string
                        enum:
                          - transactional
                          - broadcast
                          - workflow
                          - test
                      to:
                        type: string
                      from:
                        type: object
                        properties:
                          name:
                            type: string
                          email:
                            type: string
                      replyTo:
                        type: string
                        nullable: true
                      contactId:
                        type: string
                        nullable: true
                      sentAt:
                        type: integer
                        description: Epoch millis
                      subject:
                        type: string
                        nullable: true
                      html:
                        type: string
                        nullable: true
                      text:
                        type: string
                        nullable: true
                      rebuilt:
                        type: boolean
                        description: Whether complete message content is available.
                      fidelity:
                        type: object
                        properties:
                          verified:
                            type: boolean
                          reason:
                            type: string
                          redactedKeys:
                            type: array
                            items:
                              type: string
                      attachments:
                        type: array
                        items:
                          type: object
                          properties:
                            filename:
                              type: string
                            bytes:
                              type: integer
                            sha256:
                              type: string
                      source:
                        type: object
                        properties:
                          templateId:
                            type: string
                            nullable: true
                          contentHash:
                            type: string
                            nullable: true
                          jobId:
                            type: string
                            nullable: true
                          broadcastId:
                            type: string
                            nullable: true
                          workflowId:
                            type: string
                            nullable: true
                          renderVersion:
                            type: integer
        '404':
          description: Message not found
components:
  securitySchemes:
    apiKeyAuth:
      type: http
      scheme: bearer
      description: API key for account management endpoints. Use your api_ prefixed token.

````