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

# Reply in a conversation

> Replies in a conversation, as the app's Reply does. Email: from the conversation's mailbox, to the sender of the message answered (its Reply-To address first) or, for a message you sent, to its first recipient, under the conversation's subject and threaded into it; `inReplyToMessageId` picks the message answered (default the newest) and `cc` / `bcc` add copies. The app's send rules apply: a recipient who unsubscribed from the mailbox, or opted out of your team's email, is refused with `RECIPIENT_UNSUBSCRIBED` (a team opt-out still lets a reply through when they wrote into this conversation after opting out), a provider that throttles or rejects the mailbox pauses or disconnects it as in the app, and the recipients' pending AI replies and campaign sequences stop as when you reply in the app. LinkedIn: sent into the chat from the LinkedIn account the chat is on, which needs inbox access, within that account's daily and weekly message allowances. Send an `X-Idempotency-Key` header of 8 to 200 characters to make retries safe: the same request with the same key within 24 hours answers the first result and sends nothing, and the key on a different request answers 409. A first request refused before anything was sent (any 4xx) can be retried under its key; one that failed in a way that may still have sent it answers 409 `IDEMPOTENCY_KEY_OUTCOME_UNKNOWN` instead of sending again. Rate limit: 20 requests per minute, 600 per day, shared by every send route.

Errors:
- `422` `VALIDATION_FAILED` — `channel` or `content` is missing, `content` is blank or too long, `cc` / `bcc` / `inReplyToMessageId` were sent on LinkedIn, an address is not an email address, the body carries another field, the `X-Idempotency-Key` header was sent with a value outside 8-200 characters or twice, or the inbox refused the address the reply would go to, taken from the conversation.
- `409` `IDEMPOTENCY_KEY_IN_USE` — A request with this `X-Idempotency-Key` is still sending; retry it shortly to get its result. If it keeps answering this, the first request stopped before its result was recorded: check whether it was sent before sending again with a new key.
- `409` `IDEMPOTENCY_KEY_REUSED` — This `X-Idempotency-Key` was sent in the last 24 hours with a different request; nothing was sent.
- `409` `IDEMPOTENCY_KEY_OUTCOME_UNKNOWN` — The first request with this `X-Idempotency-Key` failed in a way that may still have sent it (a server error or a timeout), so nothing more was sent. Check whether it was sent before sending again with a new key.
- `404` `CONVERSATION_NOT_FOUND` — No conversation with this id on the mailboxes or LinkedIn accounts you can read; nothing was sent.
- `404` `MESSAGE_NOT_FOUND` — `inReplyToMessageId` is not a message of the conversation.
- `422` `CONVERSATION_HAS_NO_SUBJECT` — The email conversation has no subject, and a reply goes out under its subject; nothing was sent.
- `403` `LINKEDIN_PERMISSION_DENIED` — The LinkedIn conversation is on an account shared with you for campaigns only; replying needs inbox access.
- `404` `MAILBOX_NOT_FOUND` — The mailbox to send from is not yours, or not shared with you with inbox access.
- `422` `INVALID_RECIPIENT` — No recipient is a valid email address.
- `422` `RECIPIENT_UNSUBSCRIBED` — A recipient opted out of email from your team; nothing was sent. A reply in a conversation they wrote into after opting out can still go.
- `429` `MAILBOX_RATE_LIMITED` — The mail provider throttled the mailbox; nothing was sent and, as in the app, its campaign sends are paused.
- `422` `MAILBOX_NEEDS_RECONNECT` — The mailbox's provider connection lapsed or rejected the send, and the app disconnected it; reconnect it in the app.
- `422` `MAILBOX_TEMPORARILY_UNAVAILABLE` — The mail provider is refusing the mailbox for now; nothing was sent. Retry in a few minutes.
- `422` `LINKEDIN_ACCOUNT_DISCONNECTED` — The LinkedIn account is disconnected; reconnect it in the app.
- `429` `LINKEDIN_ACCOUNT_RATE_LIMITED` — LinkedIn is limiting the account for now and Fuse holds its sends, for up to a day; nothing was sent. Retry-After, when present, is the seconds left until the hold ends.
- `422` `LINKEDIN_MESSAGE_LIMIT_REACHED` — The LinkedIn account has sent its daily or weekly messages; retry once they refill.
- `429` `RATE_LIMITED` — Too many sends: the quota every send route shares (20 per minute, 600 per day) or, on LinkedIn, the LinkedIn service's own per-user send limit was exceeded. Retry after the Retry-After / RateLimit-Reset seconds when present, else after a minute.

Requires one of the following token scopes: inbox.



## OpenAPI

````yaml /openapi.json post /business/conversations/{conversationId}/reply
openapi: 3.1.0
info:
  title: Fuse Business API
  version: 1.0.0
  description: >-
    External API for lists, campaigns, prospect search and contacts.
    Authenticate with your API token as HTTP Basic. All paths are under /api/v1.
servers:
  - url: https://api.tryfuse.ai/api/v1
    description: Production
security:
  - basicAuth: []
tags:
  - name: Lists
  - name: Custom columns
  - name: Smart columns
  - name: Exports
  - name: Campaigns
  - name: Knowledge hubs
  - name: Analytics
  - name: Website intent
  - name: LinkedIn
  - name: Conversations
  - name: Account
  - name: Sending accounts
  - name: Data
  - name: Prospect search
  - name: Campaign steps
  - name: Scheduled sends
  - name: Campaign templates
  - name: Tracking domains
  - name: Agents
  - name: Research
  - name: Company search
  - name: Saved searches
  - name: Folders
  - name: Exclusions
  - name: Contacts
paths:
  /business/conversations/{conversationId}/reply:
    post:
      tags:
        - Conversations
      summary: Reply in a conversation
      description: >-
        Replies in a conversation, as the app's Reply does. Email: from the
        conversation's mailbox, to the sender of the message answered (its
        Reply-To address first) or, for a message you sent, to its first
        recipient, under the conversation's subject and threaded into it;
        `inReplyToMessageId` picks the message answered (default the newest) and
        `cc` / `bcc` add copies. The app's send rules apply: a recipient who
        unsubscribed from the mailbox, or opted out of your team's email, is
        refused with `RECIPIENT_UNSUBSCRIBED` (a team opt-out still lets a reply
        through when they wrote into this conversation after opting out), a
        provider that throttles or rejects the mailbox pauses or disconnects it
        as in the app, and the recipients' pending AI replies and campaign
        sequences stop as when you reply in the app. LinkedIn: sent into the
        chat from the LinkedIn account the chat is on, which needs inbox access,
        within that account's daily and weekly message allowances. Send an
        `X-Idempotency-Key` header of 8 to 200 characters to make retries safe:
        the same request with the same key within 24 hours answers the first
        result and sends nothing, and the key on a different request answers
        409. A first request refused before anything was sent (any 4xx) can be
        retried under its key; one that failed in a way that may still have sent
        it answers 409 `IDEMPOTENCY_KEY_OUTCOME_UNKNOWN` instead of sending
        again. Rate limit: 20 requests per minute, 600 per day, shared by every
        send route.


        Errors:

        - `422` `VALIDATION_FAILED` — `channel` or `content` is missing,
        `content` is blank or too long, `cc` / `bcc` / `inReplyToMessageId` were
        sent on LinkedIn, an address is not an email address, the body carries
        another field, the `X-Idempotency-Key` header was sent with a value
        outside 8-200 characters or twice, or the inbox refused the address the
        reply would go to, taken from the conversation.

        - `409` `IDEMPOTENCY_KEY_IN_USE` — A request with this
        `X-Idempotency-Key` is still sending; retry it shortly to get its
        result. If it keeps answering this, the first request stopped before its
        result was recorded: check whether it was sent before sending again with
        a new key.

        - `409` `IDEMPOTENCY_KEY_REUSED` — This `X-Idempotency-Key` was sent in
        the last 24 hours with a different request; nothing was sent.

        - `409` `IDEMPOTENCY_KEY_OUTCOME_UNKNOWN` — The first request with this
        `X-Idempotency-Key` failed in a way that may still have sent it (a
        server error or a timeout), so nothing more was sent. Check whether it
        was sent before sending again with a new key.

        - `404` `CONVERSATION_NOT_FOUND` — No conversation with this id on the
        mailboxes or LinkedIn accounts you can read; nothing was sent.

        - `404` `MESSAGE_NOT_FOUND` — `inReplyToMessageId` is not a message of
        the conversation.

        - `422` `CONVERSATION_HAS_NO_SUBJECT` — The email conversation has no
        subject, and a reply goes out under its subject; nothing was sent.

        - `403` `LINKEDIN_PERMISSION_DENIED` — The LinkedIn conversation is on
        an account shared with you for campaigns only; replying needs inbox
        access.

        - `404` `MAILBOX_NOT_FOUND` — The mailbox to send from is not yours, or
        not shared with you with inbox access.

        - `422` `INVALID_RECIPIENT` — No recipient is a valid email address.

        - `422` `RECIPIENT_UNSUBSCRIBED` — A recipient opted out of email from
        your team; nothing was sent. A reply in a conversation they wrote into
        after opting out can still go.

        - `429` `MAILBOX_RATE_LIMITED` — The mail provider throttled the
        mailbox; nothing was sent and, as in the app, its campaign sends are
        paused.

        - `422` `MAILBOX_NEEDS_RECONNECT` — The mailbox's provider connection
        lapsed or rejected the send, and the app disconnected it; reconnect it
        in the app.

        - `422` `MAILBOX_TEMPORARILY_UNAVAILABLE` — The mail provider is
        refusing the mailbox for now; nothing was sent. Retry in a few minutes.

        - `422` `LINKEDIN_ACCOUNT_DISCONNECTED` — The LinkedIn account is
        disconnected; reconnect it in the app.

        - `429` `LINKEDIN_ACCOUNT_RATE_LIMITED` — LinkedIn is limiting the
        account for now and Fuse holds its sends, for up to a day; nothing was
        sent. Retry-After, when present, is the seconds left until the hold
        ends.

        - `422` `LINKEDIN_MESSAGE_LIMIT_REACHED` — The LinkedIn account has sent
        its daily or weekly messages; retry once they refill.

        - `429` `RATE_LIMITED` — Too many sends: the quota every send route
        shares (20 per minute, 600 per day) or, on LinkedIn, the LinkedIn
        service's own per-user send limit was exceeded. Retry after the
        Retry-After / RateLimit-Reset seconds when present, else after a minute.


        Requires one of the following token scopes: inbox.
      operationId: replyToConversation
      parameters:
        - name: conversationId
          in: path
          required: true
          description: >-
            The conversation's `conversationId` from GET
            /business/conversations, for the same `channel`.
          schema:
            type: string
            minLength: 1
            maxLength: 2048
            description: >-
              The conversation's `conversationId` from GET
              /business/conversations, for the same `channel`.
        - name: X-Idempotency-Key
          in: header
          required: false
          description: >-
            Makes a retry safe: the same request with the same key within 24
            hours answers the first result and sends nothing. 8 to 200
            characters; a blank header counts as none.
          schema:
            type: string
            minLength: 8
            maxLength: 200
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                channel:
                  type: string
                  enum:
                    - email
                    - linkedin
                  description: >-
                    `email` or `linkedin`: the inbox shows the two channels in
                    separate tabs, so each call works on one.
                content:
                  type: string
                  maxLength: 100000
                  description: >-
                    The reply. Email: the body as HTML, as the app's editor
                    writes it (up to 100000 characters; plain text is sent as it
                    is, so wrap paragraphs in <p>). LinkedIn: plain text, up to
                    8000 characters.
                cc:
                  type: array
                  items:
                    type: string
                    format: email
                    maxLength: 320
                    description: A bare email address, up to 320 characters.
                  maxItems: 50
                  description: Email only. Addresses to copy, up to 50.
                bcc:
                  type: array
                  items:
                    type: string
                    format: email
                    maxLength: 320
                    description: A bare email address, up to 320 characters.
                  maxItems: 50
                  description: Email only. Addresses to blind-copy, up to 50.
                inReplyToMessageId:
                  type: string
                  minLength: 1
                  maxLength: 1000
                  description: >-
                    Email only. The `messageId` of the message to answer, from
                    GET /business/conversations/{conversationId}; omit it to
                    answer the newest message.
              required:
                - channel
                - content
      responses:
        '201':
          description: Success
          headers:
            RateLimit-Limit:
              schema:
                type: integer
              description: Requests permitted in the current window.
            RateLimit-Remaining:
              schema:
                type: integer
              description: Requests remaining in the current window.
            RateLimit-Reset:
              schema:
                type: integer
              description: Seconds until the current window resets.
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: object
                    properties:
                      channel:
                        type: string
                        enum:
                          - email
                          - linkedin
                      conversationId:
                        type:
                          - string
                          - 'null'
                        description: >-
                          The conversation the message is in; null for a new
                          email, whose thread the provider names as it sends.
                      messageId:
                        type:
                          - string
                          - 'null'
                        description: >-
                          The message's id: the provider's for an email (null
                          while scheduled), LinkedIn's for a new chat, null for
                          a LinkedIn reply.
                      status:
                        type: string
                        enum:
                          - sent
                          - scheduled
                    required:
                      - channel
                      - conversationId
                      - messageId
                      - status
                required:
                  - message
              example:
                message:
                  channel: email
                  conversationId: Z21haWw6c2FtQGFjbWUuY29tOjE4YzJmM2E5YjdkMWU0ZjA
                  messageId: 18c2f5d2a9b3e1f7
                  status: sent
        '400':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '402':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - basicAuth: []
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
            param:
              type:
                - string
                - 'null'
            doc_url:
              type:
                - string
                - 'null'
            request_id:
              type:
                - string
                - 'null'
          required:
            - code
            - message
      required:
        - error
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
      description: >-
        Your API token (`af_…`) as the Basic-auth username, with an empty
        password.

````

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