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

# Reply to a thread

> Sends a REAL email from the thread's mailbox (Gmail API or SMTP), logs it as an outbound message, marks the thread read and deletes the saved draft. If cc or bcc is set, the prior thread messages are quoted below the body. Refuses (flash 'Could not send: ...') when to or body is empty, the thread has no mailbox, the mailbox cannot send, or auth fails (mailbox is then set to needs_reconnect). 404 if the thread is not in the workspace.

**Minimum role:** `edit` (`x-min-role`). **Destructive:** `true` (`x-destructive`).



## OpenAPI

````yaml /openapi.json post /inbox/thread/{thread_id}/reply
openapi: 3.0.3
info:
  title: Sales Sequencer API
  version: '1'
  description: >-
    Every Sales Sequencer action over HTTP. Each call runs as the API key's
    creator, with that user's role, in the key's workspace. Auth: X-API-Key
    header.
servers:
  - url: https://api.salessequencer.com/api/v1
security:
  - key: []
paths:
  /inbox/thread/{thread_id}/reply:
    post:
      tags:
        - Inbox
      summary: Reply to a thread
      description: >-
        Sends a REAL email from the thread's mailbox (Gmail API or SMTP), logs
        it as an outbound message, marks the thread read and deletes the saved
        draft. If cc or bcc is set, the prior thread messages are quoted below
        the body. Refuses (flash 'Could not send: ...') when to or body is
        empty, the thread has no mailbox, the mailbox cannot send, or auth fails
        (mailbox is then set to needs_reconnect). 404 if the thread is not in
        the workspace.


        **Minimum role:** `edit` (`x-min-role`). **Destructive:** `true`
        (`x-destructive`).
      operationId: inbox_reply
      parameters:
        - in: path
          name: thread_id
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              properties:
                bcc:
                  description: BCC address(es).
                  type: string
                body:
                  description: Message body (must not be blank).
                  type: string
                cc:
                  description: CC address(es).
                  type: string
                subject:
                  description: Subject. Default 'Re:'.
                  type: string
                to:
                  description: Recipient address.
                  type: string
              required:
                - to
                - body
              type: object
      responses:
        '200':
          description: Redirect to the thread; flash 'Reply sent.' or the error.
components:
  securitySchemes:
    key:
      in: header
      name: X-API-Key
      type: apiKey

````

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