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

# Send an AI Inbox Manager reply draft

> Send a reply draft that an AI Inbox Manager holds for review (`action_pending` is true). It goes out as the agent's own reply would: in the lead's thread, from the email account the lead wrote to, to the sender of the lead's email with everyone else on that email in copy, and with the files the agent attached to the draft. Once sent, the reply leaves the `action_pending=true` list and the Unibox, and the agent's follow-ups continue as after a Unibox send.

Sending answers 409 with a `code` when the reply was already sent or scheduled, no longer waits for review, has no draft, needs a person to check it first, was overtaken by a newer email from the lead, or answers an email that already got a reply. If a temporary error stops the draft before it goes out, the request answers 503: nothing was sent, and you can send it again. If the send outcome is unknown, the email may already have gone out: the request answers 500 and the draft is never sent again, so check the thread before sending anything else. Sending requires a plan that allows sending from the Unibox.


Requires all of the following scope groups:
- One of `ai_sdr_replies:update`, `ai_sdr_replies:all`, `all:update`, `all:all`
- One of `emails:create`, `emails:all`, `all:create`, `all:all`



## OpenAPI

````yaml https://api.instantly.ai/openapi/api_v2.json post /api/v2/ai-agents/inbox-manager/{id}/replies/{reply_id}/send
openapi: 3.1.0
info:
  title: API Explorer
  description: >-
    The entire API V2 documentation is interactive and can be tested here. To
    the right side of every endpoint you will see a box with an example request.
    You can click on the "Try it" button to send a request to the server right
    from the docs. You will need to provide an API key by clicking the
    `ApiKeyAuth_token` blue text.
  version: 2.0.0
servers:
  - url: https://api.instantly.ai
    description: Instantly API Server
security:
  - ApiKeyAuth: []
tags:
  - name: Analytics
    description: Endpoints related to analytics
    x-group: Analytics
  - name: OAuth
    description: >-
      OAuth authentication endpoints for connecting Google and Microsoft email
      accounts
    x-group: OAuth
  - name: Account
    description: An email account that can be used to send campaigns
    x-group: Account
  - name: Campaign
    description: A campaign that can be sent to a list of recipients
    x-group: Campaign
  - name: Email
    description: >-
      A campaign email, a reply, a manually sent email, or any other email
      that's visible in the Unibox
    x-group: Email
  - name: EmailVerification
    description: A single email verification
    x-group: Email Verification
  - name: LeadList
    description: A list used to store leads
    x-group: Lead List
  - name: InboxPlacementTest
    description: An inbox placement test
    x-group: Inbox Placement Test
  - name: InboxPlacementAnalytics
    description: Analytics data for individual emails in inbox placement tests
    x-group: Inbox Placement Analytics
  - name: InboxPlacementBlacklistAndSpamAssassinReport
    description: Report data for an inbox placement test
    x-group: Inbox Placement Blacklist And SpamAssassin Report
  - name: AIInboxManager
    description: An AI Inbox Manager agent
    x-group: AI Inbox Manager
  - name: AIDeliverabilityAgent
    description: An AI Deliverability Agent
    x-group: AI Deliverability Agent
  - name: AILeadFinderAgent
    description: An AI Lead Finder Agent
    x-group: AI Lead Finder Agent
  - name: LocalBusiness
    description: >-
      A local business found by the Local businesses search. Search businesses
      by category and location, then convert them into leads with a verified
      email in a lead list or a campaign.
    x-group: Local Business
  - name: Creator
    description: >-
      A social media creator found by the Creators search. Search creators by
      platform, niche, audience and location, then convert them into leads with
      their email.
    x-group: Creator
  - name: APIKey
    description: API Key
    x-group: API Key
  - name: AccountCampaignMapping
    description: Account Campaign Mapping
    x-group: Account Campaign Mapping
  - name: Lead
    description: A lead entity representing an individual lead
    x-group: Lead
  - name: BackgroundJob
    description: A background job that can be used to perform long-running tasks
    x-group: Background Job
  - name: CustomTag
    description: >-
      A custom tag for organizing and categorizing accounts and campaigns. You
      can use them as filters in apis that list accounts and campaigns.
    x-group: Custom Tag
  - name: CustomTagMapping
    description: >-
      This entity represents a tag being assigned to a specific campaign or
      email account. When an email account is assigned a tag, a new custom tag
      mapping entry is created, which connects the tag (`tag_id` field) with the
      email account (`resource_id` field). You can use it to see which tag si
      connected to which resource.
    x-group: Custom Tag Mapping
  - name: BlockListEntry
    description: A blocked email or domain
    x-group: Block List Entry
  - name: LeadLabel
    description: A custom label for categorizing and managing leads
    x-group: Lead Label
  - name: Workspace
    description: A workspace entity representing a workspace
    x-group: Workspace
  - name: Workflow
    description: >-
      Defines an automation workflow with its configuration, status, and
      associated meta data.
    x-group: Workflow
  - name: SuperSearchEnrichment
    description: >-
      An enrichment can take different forms, such as email enrichment or
      LinkedIn enrichment. Leads may be imported from SuperSearch using the
      dedicated endpoint, or enriched directly within a list or campaign by
      attaching an enrichment to it.
    x-group: SuperSearch Enrichment
  - name: WorkspaceGroupMember
    description: >-
      A member of a workspace group. You can use the endpoints within this
      entity to manage the members of a workspace group.
    x-group: Workspace Group Member
  - name: WorkspaceMember
    description: A member of a workspace with associated user details
    x-group: Workspace Member
  - name: CampaignSubsequence
    description: A subsequence entity representing a follow-up sequence
    x-group: Campaign Subsequence
  - name: AuditLog
    description: Audit log records for tracking system activities
    x-group: Audit Log
  - name: AISalesAgent
    description: >-
      An AI Sales Development Representative that autonomously manages outreach
      campaigns
    x-group: AI Sales Agent
  - name: Webhook
    description: A webhook subscription for receiving event notifications
    x-group: Webhook
  - name: WebhookEvent
    description: A webhook event that was sent or attempted to be sent
    x-group: Webhook Event
  - name: DFYEmailAccountOrder
    description: A Done-For-You email account order
    x-group: DFY Email Account Order
  - name: DomainForwarding
    description: Web forwarding configuration for a domain ordered through Instantly
    x-group: Domain Forwarding
  - name: CustomPromptTemplate
    description: Custom prompt templates for creating custom prompts
    x-group: Custom Prompt Template
  - name: SalesFlow
    description: >-
      Manages how sales users view and interact with campaign and lead lists
      within the sales flow.
    x-group: Sales Flow
  - name: EmailTemplate
    description: A campaign email template
    x-group: Email Template
  - name: WorkspaceBilling
    description: Workspace Billing
    x-group: Workspace Billing
  - name: CRMActions
    description: CRM related actions
    x-group: CRM Actions
  - name: Contact
    description: >-
      A contact in the workspace: one email address with its consent, tags and
      custom attributes. Segments, and the broadcasts and journeys that target
      them, read contacts. Optional fields with no value are left out of
      responses. The contact list, contact imports and tags page with `cursor`:
      pass the previous page's `next_cursor` until there is none. A contact's
      emails page with `starting_after` and `next_starting_after`.
    x-group: Contact
  - name: Segment
    description: >-
      A saved set of rules that selects contacts. Membership is worked out each
      time the segment is used. Optional fields with no value are left out of
      responses. Lists page with `cursor`: pass the previous page's
      `next_cursor` until there is none.
    x-group: Segment
  - name: Broadcast
    description: >-
      An email marketing broadcast campaign. Optional fields with no value are
      left out of responses. Lists page with `starting_after`: pass the previous
      page's `next_starting_after` until there is none.
    x-group: Broadcast
  - name: Domain
    description: >-
      An email sending domain. Optional fields with no value are left out of
      responses. Lists page with `starting_after`: pass the previous page's
      `next_starting_after` until there is none.
    x-group: Domain
  - name: Journey
    description: >-
      A customer journey, triggered by an event or by membership of a segment.
      Optional fields with no value are left out of responses. Lists page with
      `starting_after`: pass the previous page's `next_starting_after` until
      there is none. Step contacts page with `cursor` and `next_cursor` instead.
    x-group: Journey
  - name: EventCatalogEntry
    description: >-
      An event type seen in this workspace, which journey triggers and
      conversions can use. Optional fields with no value are left out of
      responses. Lists page with `starting_after`: pass the previous page's
      `next_starting_after` until there is none.
    x-group: Event Catalog Entry
  - name: Template
    description: >-
      An email marketing template. Optional fields with no value are left out of
      responses. Lists page with `starting_after`: pass the previous page's
      `next_starting_after` until there is none.
    x-group: Template
  - name: TemplateAsset
    description: >-
      An image or file uploaded for use in email templates. Optional fields with
      no value are left out of responses. Lists page with `starting_after`: pass
      the previous page's `next_starting_after` until there is none.
    x-group: Template Asset
  - name: EmailMetrics
    description: >-
      Aggregated email marketing metrics including totals, time-series data, and
      metadata.
    x-group: Email Metrics
  - name: Conversion
    description: >-
      A conversion event received for a person, credited to the emails they got
      before it.
    x-group: Conversion
  - name: EngageItem
    description: >-
      A unified Engage item representing a campaign, AI agent, automation
      workflow, broadcast, or journey.
    x-group: Engage Item
paths:
  /api/v2/ai-agents/inbox-manager/{id}/replies/{reply_id}/send:
    post:
      tags:
        - AIInboxManager
      summary: Send an AI Inbox Manager reply draft
      description: >-
        Send a reply draft that an AI Inbox Manager holds for review
        (`action_pending` is true). It goes out as the agent's own reply would:
        in the lead's thread, from the email account the lead wrote to, to the
        sender of the lead's email with everyone else on that email in copy, and
        with the files the agent attached to the draft. Once sent, the reply
        leaves the `action_pending=true` list and the Unibox, and the agent's
        follow-ups continue as after a Unibox send.


        Sending answers 409 with a `code` when the reply was already sent or
        scheduled, no longer waits for review, has no draft, needs a person to
        check it first, was overtaken by a newer email from the lead, or answers
        an email that already got a reply. If a temporary error stops the draft
        before it goes out, the request answers 503: nothing was sent, and you
        can send it again. If the send outcome is unknown, the email may already
        have gone out: the request answers 500 and the draft is never sent
        again, so check the thread before sending anything else. Sending
        requires a plan that allows sending from the Unibox.



        Requires all of the following scope groups:

        - One of `ai_sdr_replies:update`, `ai_sdr_replies:all`, `all:update`,
        `all:all`

        - One of `emails:create`, `emails:all`, `all:create`, `all:all`
      operationId: sendInboxManagerReply
      parameters:
        - schema:
            type: string
            format: uuid
            example: 01a218ad-feeb-7544-94e7-be7cf6a8ce3e
          example: 01a218ad-feeb-7544-94e7-be7cf6a8ce3e
          in: path
          name: id
          required: true
          description: AI Inbox Manager ID
        - schema:
            type: string
            format: uuid
            example: 01a218ad-feeb-7544-94e7-be7dfbf2da68
          example: 01a218ad-feeb-7544-94e7-be7dfbf2da68
          in: path
          name: reply_id
          required: true
          description: Reply ID
      responses:
        '200':
          description: The sent email
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Email'
        '400':
          description: >-
            The request is invalid (e.g. missing required fields, invalid field
            values, or an invalid state for the operation)
          content:
            application/json:
              schema:
                type: object
                properties:
                  statusCode:
                    type: number
                    enum:
                      - 400
                    examples:
                      - 400
                    example: 400
                  code:
                    type: string
                    description: >-
                      Fastify's validation code (`FST_ERR_VALIDATION`) or a
                      route-specific error code.
                    examples:
                      - FST_ERR_VALIDATION
                    example: FST_ERR_VALIDATION
                  error:
                    type: string
                    enum:
                      - Bad Request
                    examples:
                      - Bad Request
                    example: Bad Request
                  message:
                    type: string
                    examples:
                      - body must have required property 'name'
                    example: body must have required property 'name'
                required:
                  - statusCode
                  - error
                  - message
        '401':
          description: >-
            This request is unauthorized (either the Authorization header is
            missing or invalid, or the API key has been revoked)
          content:
            application/json:
              schema:
                type: object
                properties:
                  statusCode:
                    type: number
                    enum:
                      - 401
                    examples:
                      - 401
                    example: 401
                  error:
                    type: string
                    enum:
                      - Unauthorized
                    examples:
                      - Unauthorized
                    example: Unauthorized
                  message:
                    type: string
                    examples:
                      - Missing Authorization header
                    example: Missing Authorization header
                required:
                  - statusCode
                  - error
                  - message
        '402':
          description: >-
            This request cannot be fulfilled because the workspace does not have
            an active paid plan
          content:
            application/json:
              schema:
                type: object
                properties:
                  statusCode:
                    type: number
                    enum:
                      - 402
                    examples:
                      - 402
                    example: 402
                  error:
                    type: string
                    enum:
                      - Payment Required
                    examples:
                      - Payment Required
                    example: Payment Required
                  message:
                    type: string
                    examples:
                      - Workspace does not have an active paid plan
                    example: Workspace does not have an active paid plan
                required:
                  - statusCode
                  - error
                  - message
        '403':
          description: >-
            This request is forbidden (the API key scope or workspace plan does
            not allow this action)
          content:
            application/json:
              schema:
                type: object
                properties:
                  statusCode:
                    type: number
                    enum:
                      - 403
                    examples:
                      - 403
                    example: 403
                  error:
                    type: string
                    enum:
                      - Forbidden
                    examples:
                      - Forbidden
                    example: Forbidden
                  message:
                    type: string
                    examples:
                      - Forbidden
                    example: Forbidden
                required:
                  - statusCode
                  - error
                  - message
        '404':
          description: The requested resource was not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  statusCode:
                    type: number
                    enum:
                      - 404
                    examples:
                      - 404
                    example: 404
                  error:
                    type: string
                    enum:
                      - Not Found
                    examples:
                      - Not Found
                    example: Not Found
                  message:
                    type: string
                    examples:
                      - Resource not found
                    example: Resource not found
                required:
                  - statusCode
                  - error
                  - message
        '409':
          description: The reply cannot be sent in its current state; `code` says why
          content:
            application/json:
              schema:
                type: object
                properties:
                  statusCode:
                    type: number
                    enum:
                      - 409
                    examples:
                      - 409
                    example: 409
                  error:
                    type: string
                    enum:
                      - Conflict
                    examples:
                      - Conflict
                    example: Conflict
                  code:
                    type: string
                    enum:
                      - reply_already_sent
                      - reply_already_scheduled
                      - reply_not_pending
                      - reply_not_sendable
                      - lead_replied_after_draft
                      - reply_already_answered
                      - reply_needs_review
                    description: >-
                      `reply_already_sent`: This reply was already sent, or
                      another request is sending it. `reply_already_scheduled`:
                      This reply is already scheduled to be sent.
                      `reply_not_pending`: This reply no longer waits for
                      review: it was dismissed or handled by another send.
                      `reply_not_sendable`: This reply has no draft that answers
                      an email from the lead. `lead_replied_after_draft`: The
                      lead wrote again after this draft, so it no longer answers
                      their latest email. `reply_already_answered`: The thread
                      already has a reply sent after the email this draft
                      answers. `reply_needs_review`: This draft needs a person
                      to check it before it goes out: an earlier action on this
                      thread had an unknown outcome or needs a capability the
                      agent lacks.
                    examples:
                      - reply_already_sent
                    example: reply_already_sent
                  message:
                    type: string
                    examples:
                      - >-
                        This reply was already sent, or another request is
                        sending it.
                    example: >-
                      This reply was already sent, or another request is sending
                      it.
                required:
                  - statusCode
                  - error
                  - code
                  - message
        '429':
          description: >-
            You have exceeded the rate limit. Please check the rate limit docs
            for more information.
          content:
            application/json:
              schema:
                type: object
                properties:
                  statusCode:
                    type: number
                    enum:
                      - 429
                    examples:
                      - 429
                    example: 429
                  error:
                    type: string
                    enum:
                      - Too Many Requests
                    examples:
                      - Too Many Requests
                    example: Too Many Requests
                  message:
                    type: string
                    examples:
                      - Rate limit exceeded
                    example: Rate limit exceeded
                required:
                  - statusCode
                  - error
                  - message
        '500':
          description: >-
            The send outcome is unknown and the draft is never sent again; or
            nothing was sent because its files could not be read, or because an
            error stopped it and the draft could not be unlocked for another
            send.
          content:
            application/json:
              schema:
                type: object
                properties:
                  statusCode:
                    type: number
                    enum:
                      - 500
                    examples:
                      - 500
                    example: 500
                  error:
                    type: string
                    enum:
                      - Internal Server Error
                    examples:
                      - Internal Server Error
                    example: Internal Server Error
                  message:
                    type: string
                    examples:
                      - >-
                        The send outcome is unknown: the email may already have
                        gone out. The draft will not be sent again; check the
                        thread before sending anything else.
                    example: >-
                      The send outcome is unknown: the email may already have
                      gone out. The draft will not be sent again; check the
                      thread before sending anything else.
                required:
                  - statusCode
                  - error
                  - message
        '503':
          description: >-
            A temporary error stopped the draft before it went out: nothing was
            sent, and it can be sent again.
          content:
            application/json:
              schema:
                type: object
                properties:
                  statusCode:
                    type: number
                    enum:
                      - 503
                    examples:
                      - 503
                    example: 503
                  error:
                    type: string
                    enum:
                      - Service Unavailable
                    examples:
                      - Service Unavailable
                    example: Service Unavailable
                  message:
                    type: string
                    examples:
                      - >-
                        A temporary error stopped this draft before it went out,
                        so nothing was sent. Try again.
                    example: >-
                      A temporary error stopped this draft before it went out,
                      so nothing was sent. Try again.
                required:
                  - statusCode
                  - error
                  - message
components:
  schemas:
    Email:
      title: Email
      description: >-
        A campaign email, a reply, a manually sent email, or any other email
        that's visible in the Unibox
      x-tags:
        - Schemas
        - Email
      type: object
      properties:
        id:
          type: string
          description: A Unique identifier
          readOnly: true
          format: uuid
          example: 01a218ad-c6b4-7fe6-b8a1-0e603380dcfe
        timestamp_created:
          type: string
          description: >-
            Timestamp when the email was added to our database. This is not the
            timestamp of the email itself, since the email could have been sent
            at a different time. Please check the `timestamp_email` field for
            the timestamp of the email.
          readOnly: true
          format: date-time
          example: '2026-11-26T16:26:11.508Z'
        timestamp_email:
          type: string
          description: >-
            The timestamp of the email, as provided by the email server. Please
            note that the timestamp is not always accurate, as it can be
            manipulated by the sender or the email server.
          readOnly: true
          format: date-time
          example: '2026-11-26T16:26:11.508Z'
        message_id:
          type: string
          description: Unique email ID from the email server
          readOnly: true
          example: <example123@mail.gmail.com>
        subject:
          type: string
          description: Subject line of the email message
          example: 'Re: Your inquiry'
        from_address_email:
          type:
            - 'null'
            - string
          description: The sender email address, populated based on the eaccount
          readOnly: true
          format: email
          example: sender@example.com
        to_address_email_list:
          type: string
          description: Comma-separated list of recipient email addresses
          example: recipient@example.com
        cc_address_email_list:
          type:
            - 'null'
            - string
          description: Comma-separated list of CC email addresses
          example: cc@example.com
        bcc_address_email_list:
          type:
            - 'null'
            - string
          description: Comma-separated list of BCC email addresses
          example: bcc@example.com
        reply_to:
          type:
            - 'null'
            - string
          description: Reply-to email address
          example: replyto@example.com
        body:
          type: object
          description: An object containing the email body in HTML and text format
          readOnly: true
          properties:
            text:
              type: string
              description: >-
                Plain-text representation of the email body. Newline characters
                are preserved as line breaks in this text view.
              example: This is a test email
            html:
              type: string
              description: >-
                HTML content of the email. Use `<br/>` tags for delivered email
                line breaks.
              example: This is a test email.<br/><br/>Second line.
        organization_id:
          type: string
          description: The workspace ID
          readOnly: true
          format: uuid
          example: 01a218ad-c6b4-7fe6-b8a1-0e618274cd3d
        campaign_id:
          type:
            - 'null'
            - string
          description: >-
            The id of the campaign that the email is associated with (it can be
            null for manually sent emails)
          format: uuid
          example: 01a218ad-c6b4-7fe6-b8a1-0e629565359c
        subsequence_id:
          type:
            - 'null'
            - string
          description: >-
            The id of the campaign subsequence that the email is associated with
            (it can be null for manually sent emails)
          format: uuid
          example: 01a218ad-c6b4-7fe6-b8a1-0e63f2ab6286
        list_id:
          type:
            - 'null'
            - string
          description: The id of the list (if the lead is part of a list)
          format: uuid
          example: 01a218ad-c6b4-7fe6-b8a1-0e64bc231783
        lead:
          type:
            - 'null'
            - string
          description: The email address of the lead that the email is associated with
          example: jondoe@example.com
        lead_id:
          type:
            - 'null'
            - string
          description: The lead id (if any)
          format: uuid
          example: 01a218ad-c6b4-7fe6-b8a1-0e65f5139808
        eaccount:
          type: string
          description: >-
            The email account that was used to send the email. This needs to be
            validated to make sure it exists in the user workspace
          example: eaccount-123
        ue_type:
          type:
            - 'null'
            - number
          description: Email type based on the life cycle of the email
          enum:
            - 1
            - 2
            - 3
            - 4
          x-enumDescriptions:
            '1': Sent from campaign
            '2': Received
            '3': Sent
            '4': Scheduled
          example: 3
        step:
          type:
            - 'null'
            - string
          description: The campaign step that the email is associated with
          example: step-123
        is_unread:
          type:
            - 'null'
            - number
          description: Indicates if the email is unread
          example: 1
        is_auto_reply:
          type:
            - 'null'
            - number
          description: >-
            Indicates if the email is an auto-reply. 0 (zero) - is false, and 1
            is true
          readOnly: true
          example: 0
        reminder_ts:
          type:
            - 'null'
            - string
          description: Timestamp for the reminder.
          format: date-time
          example: '2026-11-26T16:26:11.508Z'
        ai_interest_value:
          type:
            - 'null'
            - number
          description: AI interest value
          example: 0.75
        ai_assisted:
          type:
            - 'null'
            - number
          description: Indicates if AI assistance was used
          example: 1
        is_focused:
          type:
            - 'null'
            - number
          description: >-
            Indicates if the email is focused (is in the primary tab in the
            Unibox)
          example: 1
        i_status:
          type:
            - 'null'
            - number
          description: Indicates the interest status of the email
          example: 0
        thread_id:
          type:
            - 'null'
            - string
          description: >-
            Identifier for the email thread. All the emails in the same thread
            have the same thread ID
          format: uuid
          example: 01a218ad-c6b4-7fe6-b8a1-0e661aeb4b36
        content_preview:
          type:
            - 'null'
            - string
          description: >-
            A short preview of the email content (usually the first few lines of
            the email)
          example: This is a preview of the email content.
        body_fallback_reason:
          type:
            - 'null'
            - string
          description: >-
            Set only when `body` is not the full email body. `too_large`: the
            body was too large to include in a list response. `unavailable`: the
            body could not be read for this response. In both cases `body` holds
            at most a plain-text excerpt (`text`, no `html`) and may be empty.
            Get the full body from `GET /api/v2/emails/{id}`.
          readOnly: true
          enum:
            - too_large
            - unavailable
          example: too_large
        attachment_json:
          type:
            - 'null'
            - object
          description: >-
            Attachment metadata for the email. This field is null when there are
            no attachments.
          readOnly: true
          properties:
            files:
              type: array
              items:
                type: object
                additionalProperties: false
                required:
                  - filename
                properties:
                  filename:
                    type: string
                    description: Attachment file name
                    examples:
                      - attachment.pdf
                    example: attachment.pdf
                  size:
                    type: number
                    description: Attachment file size in bytes
                    examples:
                      - 1927
                    example: 1927
                  type:
                    type: string
                    description: Attachment MIME type
                    examples:
                      - application/pdf
                    example: application/pdf
                  url:
                    type: string
                    format: uri
                    description: Download URL when available
                    examples:
                      - https://cdn.instantly.ai/example-attachment/file.pdf
                    example: https://cdn.instantly.ai/example-attachment/file.pdf
                  error:
                    type:
                      - 'null'
                      - string
                    description: Error description when the attachment failed to upload
                    examples:
                      - Upload failed
                    example: Upload failed
          required:
            - files
          additionalProperties: false
          example:
            files:
              - filename: attachment
                size: 1927
                type: text/css
                url: https://cdn.instantly.ai/example-attachment/
                error: null
        from_address_json:
          type:
            - 'null'
            - array
          description: List of from address details
        to_address_json:
          type:
            - 'null'
            - array
          description: List of to address details
        cc_address_json:
          type:
            - 'null'
            - array
          description: List of CC address details
        ai_agent_id:
          type:
            - 'null'
            - string
          description: ID of the AI agent that sent this email (if applicable)
          format: uuid
          example: 01a218ad-c6b4-7fe6-b8a1-0e672006e03b
      required:
        - id
        - timestamp_created
        - timestamp_email
        - message_id
        - subject
        - to_address_email_list
        - body
        - organization_id
        - eaccount
      additionalProperties: false
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer

````

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