> ## 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.

# Get an AI Inbox Manager reply

> Retrieve a single reply generated by an AI Inbox Manager, including its HTML body.


Requires one of the following scopes: `ai_sdr_replies:read`, `ai_agents:all`, `all:read`, `all:all`



## OpenAPI

````yaml https://api.instantly.ai/openapi/api_v2.json get /api/v2/ai-agents/inbox-manager/{id}/replies/{reply_id}
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: AIAgent
    description: An AI agent
    x-group: AI Agent
  - 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: 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: 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: AISalesAgentActivity
    description: An activity performed by an AI Sales Agent
    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
paths:
  /api/v2/ai-agents/inbox-manager/{id}/replies/{reply_id}:
    get:
      tags:
        - AIInboxManager
      summary: Get an AI Inbox Manager reply
      description: >-
        Retrieve a single reply generated by an AI Inbox Manager, including its
        HTML body.



        Requires one of the following scopes: `ai_sdr_replies:read`,
        `ai_agents:all`, `all:read`, `all:all`
      operationId: getInboxManagerReply
      parameters:
        - schema:
            type: string
            format: uuid
            example: 01a0206f-e3db-7cc8-ae31-3b29a80d47b2
          example: 01a0206f-e3db-7cc8-ae31-3b29a80d47b2
          in: path
          name: id
          required: true
          description: AI Inbox Manager ID
        - schema:
            type: string
            format: uuid
            example: 01a0206f-e3db-7cc8-ae31-3b2a38fa1379
          example: 01a0206f-e3db-7cc8-ae31-3b2a38fa1379
          in: path
          name: reply_id
          required: true
          description: Reply ID
      responses:
        '200':
          description: The requested reply
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AISalesAgentReply'
        '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
        '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
        '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
components:
  schemas:
    AISalesAgentReply:
      title: AI Sales Agent Reply
      description: A single AI-generated reply in the SDR inbox manager
      x-tags:
        - Schemas
        - AISalesAgentReply
      type: object
      properties:
        id:
          type: string
          description: Unique identifier for the AI Sales Agent reply
          readOnly: true
          format: uuid
          example: 01a0206f-abf3-7215-ad83-e07ff6f5d49d
        organization_id:
          type:
            - 'null'
            - string
          description: Organization ID
          readOnly: true
          format: uuid
          example: 01a0206f-abf3-7215-ad83-e0807458593d
        timestamp_created:
          type:
            - 'null'
            - string
          description: Timestamp when the AI Sales Agent reply was created (ISO 8601)
          readOnly: true
          example: '2026-08-20T18:29:44.563Z'
        timestamp_updated:
          type:
            - 'null'
            - string
          description: Timestamp when the AI Sales Agent reply was last updated (ISO 8601)
          readOnly: true
          example: '2026-08-20T18:29:44.563Z'
        agent_id:
          type:
            - 'null'
            - string
          description: ID of the AI agent that generated this reply (nullable)
          readOnly: true
          format: uuid
          example: 01a0206f-abf3-7215-ad83-e08119e6b4aa
        thread_id:
          type:
            - 'null'
            - string
          description: Conversation thread identifier (nullable)
          readOnly: true
          example: 3c-zuFiJhv7cqJE5IoKkg6Pzh9
        lead:
          type:
            - 'null'
            - string
          description: Lead email address this reply is associated with
          readOnly: true
          example: john@example.com
        feedback_positive:
          type:
            - 'null'
            - boolean
          description: Whether the feedback on the reply was positive (nullable)
          example: true
        feedback_text:
          type:
            - 'null'
            - string
          description: Feedback text left by a user for this reply (nullable)
          example: Great response!
        html:
          type:
            - 'null'
            - string
          description: HTML-formatted reply (nullable)
          readOnly: true
          example: <p>Hello, John!</p>
        requires_hitl:
          type:
            - 'null'
            - boolean
          description: If true, the reply requires human-in-the-loop review (nullable)
          readOnly: true
          example: true
        requires_hitl_reason:
          type:
            - 'null'
            - string
          description: Reason why human-in-the-loop review is required (nullable)
          readOnly: true
          example: Low confidence score detected
        generation_lag_seconds:
          type:
            - 'null'
            - number
          description: Time taken (in seconds) for AI to generate the reply (nullable)
          readOnly: true
          example: 2.5
        is_automatic_email:
          type:
            - 'null'
            - boolean
          description: Whether this reply was automatically sent as an email (nullable)
          readOnly: true
          example: false
        in_reply_to:
          type:
            - 'null'
            - string
          description: ID of the reply this message is in response to (nullable)
          readOnly: true
          example: reply_12345
        usage_metadata:
          type: object
          description: JSON object with OpenAI usage, costs, and prompt data (nullable)
          readOnly: true
          additionalProperties: true
        calendly_tool_used:
          type:
            - 'null'
            - boolean
          description: Whether the Calendly scheduling tool was used in this reply
          readOnly: true
          example: false
        confidence_score:
          type:
            - 'null'
            - number
          description: Confidence score for this AI-generated reply (nullable, 0-100)
          readOnly: true
          example: 92
        information_requested:
          type:
            - 'null'
            - string
          description: Text the AI used to request more information (nullable)
          readOnly: true
          example: Please confirm your availability.
        estimated_time_saved_seconds:
          type:
            - 'null'
            - number
          description: >-
            Estimated time (in seconds) saved by the AI in generating this reply
            (nullable)
          readOnly: true
          example: 30
        action_pending:
          type:
            - 'null'
            - boolean
          description: Whether this reply requires pending action from the user (nullable)
          example: true
        sending_status:
          type: number
          description: Status of the email sending process
          enum:
            - -1
            - 1
            - 2
          x-enumDescriptions:
            '1': Sent
            '2': Scheduled
            '-1': Failed
          example: 1
        is_followup:
          type:
            - 'null'
            - boolean
          description: >-
            Whether this reply is an automatic follow-up to a previous reply
            (nullable)
          example: true
        error_code:
          type: string
          description: Error code for the email sending process (nullable)
          enum:
            - NO_SENDING_ACCOUNT
            - ACCOUNT_INACTIVE
            - ACCOUNT_FETCH_FAILED
            - SEND_FAILED
            - HITL_NOT_SUPPORTED
            - RATE_LIMITED
            - AGENT_NOT_FOUND
            - LEAD_BLOCKED
            - FREE_TRIAL_LIMIT_REACHED
            - OUT_OF_CREDITS
            - MONTHLY_BUDGET_EXCEEDED
          example: SEND_FAILED
      required:
        - id
      additionalProperties: false
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer

````