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

# Mark, move or label a conversation

> Changes one conversation as the app's inbox does from its header. `isRead` marks every message of the conversation read or unread; a LinkedIn conversation can only be marked read. On email, `isFavorite` stars the conversation or takes the star off, and `isArchived`, `isSpam` and `isDeleted` move it to Archived, Spam or Trash, or with `false` back to the Inbox. Each applies to every email of the conversation, at the mail provider too; when several are sent they are applied in the order read, favorite, spam, archived, deleted, so of two folder moves the later one wins. `label` is email only and belongs on an email: it is set on the conversation's newest received email, the one the app's AI labels, and taken off every other email of the conversation that carries one of the two labels, so the conversation reads back the label sent; `null` takes both off every email. The label is the inbox's; it does not change a campaign lead's outcome. A label the conversation cannot take is refused before any flag changes, and the flags are then applied before the label; every change is safe to repeat, so a failed call can simply be retried. The answer names the changes applied. To change many email conversations at once, use PATCH /business/conversations. Rate limit: 30 requests per minute, 1000 per day, the app's own limits for changing a conversation, counted apart from the conversation reads.

Errors:
- `422` `VALIDATION_FAILED` — `channel` is missing, none of `isRead`, `isFavorite`, `isArchived`, `isSpam`, `isDeleted` and `label` was sent, more than one of `isArchived`, `isSpam` and `isDeleted` was sent (one folder change per request), `label` is not interested, not_interested or null, or a LinkedIn conversation was sent `isRead: false` (LinkedIn has no way to mark one unread) or any other field (the app stars, moves and labels emails only).
- `404` `CONVERSATION_NOT_FOUND` — No conversation with this id on the mailboxes or LinkedIn accounts you can read.
- `403` `LINKEDIN_PERMISSION_DENIED` — The LinkedIn conversation is on an account shared with you for campaigns only.
- `422` `CONVERSATION_HAS_NO_RECEIVED_EMAIL` — A label was sent for a conversation with no email from the other side yet; nothing was changed.
- `422` `EMAIL_LABELS_NOT_EDITABLE` — An email of the conversation carries a label your inbox does not have (a teammate's own, on a shared mailbox); no label was changed.
- `422` `CONVERSATION_TOO_LARGE` — The conversation has more emails than one change may touch; nothing was changed.
- `422` `MAILBOX_NEEDS_RECONNECT` — The mailbox's provider connection has lapsed; reconnect it in the app.
- `429` `RATE_LIMITED` — Too many conversation reads or changes: their shared quota (60 per minute, 5000 per day) or, on LinkedIn, the LinkedIn service's own per-user 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 patch /business/conversations/{conversationId}
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}:
    patch:
      tags:
        - Conversations
      summary: Mark, move or label a conversation
      description: >-
        Changes one conversation as the app's inbox does from its header.
        `isRead` marks every message of the conversation read or unread; a
        LinkedIn conversation can only be marked read. On email, `isFavorite`
        stars the conversation or takes the star off, and `isArchived`, `isSpam`
        and `isDeleted` move it to Archived, Spam or Trash, or with `false` back
        to the Inbox. Each applies to every email of the conversation, at the
        mail provider too; when several are sent they are applied in the order
        read, favorite, spam, archived, deleted, so of two folder moves the
        later one wins. `label` is email only and belongs on an email: it is set
        on the conversation's newest received email, the one the app's AI
        labels, and taken off every other email of the conversation that carries
        one of the two labels, so the conversation reads back the label sent;
        `null` takes both off every email. The label is the inbox's; it does not
        change a campaign lead's outcome. A label the conversation cannot take
        is refused before any flag changes, and the flags are then applied
        before the label; every change is safe to repeat, so a failed call can
        simply be retried. The answer names the changes applied. To change many
        email conversations at once, use PATCH /business/conversations. Rate
        limit: 30 requests per minute, 1000 per day, the app's own limits for
        changing a conversation, counted apart from the conversation reads.


        Errors:

        - `422` `VALIDATION_FAILED` — `channel` is missing, none of `isRead`,
        `isFavorite`, `isArchived`, `isSpam`, `isDeleted` and `label` was sent,
        more than one of `isArchived`, `isSpam` and `isDeleted` was sent (one
        folder change per request), `label` is not interested, not_interested or
        null, or a LinkedIn conversation was sent `isRead: false` (LinkedIn has
        no way to mark one unread) or any other field (the app stars, moves and
        labels emails only).

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

        - `403` `LINKEDIN_PERMISSION_DENIED` — The LinkedIn conversation is on
        an account shared with you for campaigns only.

        - `422` `CONVERSATION_HAS_NO_RECEIVED_EMAIL` — A label was sent for a
        conversation with no email from the other side yet; nothing was changed.

        - `422` `EMAIL_LABELS_NOT_EDITABLE` — An email of the conversation
        carries a label your inbox does not have (a teammate's own, on a shared
        mailbox); no label was changed.

        - `422` `CONVERSATION_TOO_LARGE` — The conversation has more emails than
        one change may touch; nothing was changed.

        - `422` `MAILBOX_NEEDS_RECONNECT` — The mailbox's provider connection
        has lapsed; reconnect it in the app.

        - `429` `RATE_LIMITED` — Too many conversation reads or changes: their
        shared quota (60 per minute, 5000 per day) or, on LinkedIn, the LinkedIn
        service's own per-user 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: updateConversation
      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`.
      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.
                isRead:
                  type: boolean
                  description: >-
                    `true` marks every message of the conversation read, `false`
                    unread (email only: LinkedIn has no way to mark a
                    conversation unread).
                isFavorite:
                  type: boolean
                  description: >-
                    Email only. `true` stars the conversation, the app's
                    Favorite; `false` takes the star off.
                isArchived:
                  type: boolean
                  description: >-
                    Email only. `true` moves the conversation to Archived,
                    `false` back to the Inbox. Not with `isSpam` or `isDeleted`:
                    one folder change per request.
                isSpam:
                  type: boolean
                  description: >-
                    Email only. `true` moves the conversation to Spam, `false`
                    back to the Inbox. Not with `isArchived` or `isDeleted`: one
                    folder change per request.
                isDeleted:
                  type: boolean
                  description: >-
                    Email only. `true` moves the conversation to Trash, `false`
                    back to the Inbox. Not with `isArchived` or `isSpam`: one
                    folder change per request.
                label:
                  type:
                    - string
                    - 'null'
                  enum:
                    - interested
                    - not_interested
                    - null
                  description: >-
                    Email only. `interested` or `not_interested` sets the app's
                    Interested or Not Interested label on the conversation's
                    newest received email, the email the app's AI labels,
                    replacing the other one; `null` takes both off it.
              required:
                - channel
      responses:
        '200':
          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:
                  conversationId:
                    type: string
                  channel:
                    type: string
                    enum:
                      - email
                      - linkedin
                  isRead:
                    type: boolean
                    description: Present when the request changed it.
                  isFavorite:
                    type: boolean
                    description: Present when the request changed it.
                  isArchived:
                    type: boolean
                    description: Present when the request changed it.
                  isSpam:
                    type: boolean
                    description: Present when the request changed it.
                  isDeleted:
                    type: boolean
                    description: Present when the request changed it.
                  label:
                    type:
                      - string
                      - 'null'
                    enum:
                      - interested
                      - not_interested
                      - null
                    description: Present when the request changed it.
                required:
                  - conversationId
                  - channel
              example:
                conversationId: Z21haWw6c2FtQGFjbWUuY29tOjE4YzJmM2E5YjdkMWU0ZjA
                channel: email
                isRead: true
                isArchived: true
                label: interested
        '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.