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

> ## Agent Instructions
> For new direct REST integrations, use the v2026-04 surfaces. The @fluid-app FairShare SDK continues to use its own published public-v2025-06 contract.
> Authenticate with the header Authorization: Bearer <token>; public storefront read endpoints require no auth.
> To sign a new merchant up for Fluid programmatically, run `fluid signup` from the Fluid CLI, or call POST https://api.fluid.app/api/company with no credentials, as described in /api/agent-signup. Do not automate the signup form or book a demo. Before authenticated calls are possible, the merchant must sign the agent in to the Fluid CLI with the emailed code and --shop set to the company's fluid_shop (which also confirms the signup), or open the emailed confirmation link and give the agent an API token.
> After signup, to launch a merchant's store (back-office sync, payments onboarding, store setup, a theme copied from their current site, and a preview link before billing), follow /api/agent-launch.
> Lists use cursor pagination via the page[cursor] and page[limit] query params; follow meta.pagination.next_cursor until it is null.
> When the same operation exists on more than one surface, use the newest: dated API versions are newer than unversioned ones, and later dates win (v2026-04 > v2025-06 > unversioned v0/v1.1). Fall back to a legacy or unversioned operation only when no newer versioned equivalent exists — the company-v0 notes below list the known superseded operations. The same applies to /api/company/v1 and /api/v1/... paths: prefer a newer documented equivalent, and use one only when none exists (/api/v1.1/... is distinct and documented in company-v0). Use page/per_page offset pagination only on an operation whose spec documents those params — mostly the unversioned company-v0 admin surface, plus some lists on other surfaces, versioned ones included; page every other list with cursors.
> Fluid has three navigation APIs; don't mix them up. Storefront website menus (navigation bars, footers) are /api/menus and nested menu_items, in api-reference/content-v0.yaml (API Reference: Website > Navigation menus), with a how-to in themes/navigation-menus; their list uses flat page/per_page pagination. The Fluid mobile app's navigation is /api/v2/mobile_navigations, in api-reference/mobile-v2.yaml (API Reference: Mobile app > Navigation); its list also uses page/per_page. Portal navigations belong to a portal definition (Fluid OS), in api-reference/fluid-os-v0.yaml (API Reference: Portal > Portal navigation), and each has a platform of web or mobile.
> The OpenAPI specs under api-reference/ are the authoritative contracts; prefer them over prose when in doubt. api-reference/storefront-v2026-04.yaml covers the v2026-04 storefront surface (/api/v202604/... paths); api-reference/checkout-v2026-04.yaml covers the v2026-04 checkout surface (/api/checkout/v2026-04/... paths — carts, cart auth, discounts, items, subscriptions, orders, enrollments, and store config); api-reference/public-v2025-06.yaml covers the Public SDK surface used by the @fluid-app FairShare SDK, including its parallel cart lifecycle, browser integrations, versioned payment callbacks, unversioned public utilities, and the cart price-override operation; api-reference/payment-v2026-04.yaml covers the v2026-04 payment gateway admin surface (/api/payment/v2026-04/... paths, bearer-authenticated — gateway CRUD, gateway purchase/authorize/$0-verify, transaction list/show and capture/void/credit, and merchant payment configuration); api-reference/payments-v2026-04.yaml covers the v2026-04 cart payment surface (/api/payments/v2026-04/carts/{cart_token}/... paths, authenticated by the cart token in the path with no bearer — payment-method selection, VGS card tokenization, 3D Secure verification, and PayPal/Braintree/Klarna/Apple Pay flows); api-reference/commerce-v2026-04.yaml covers the v2026-04 commerce order-editing surface (/api/v202604/orders/{order_id}/edits paths, bearer-authenticated — post-checkout order edits that atomically insert items and add adjustments/discounts, with an optional dry-run preview); api-reference/webhooks-v0.yaml covers the unversioned webhooks surface (/api/... paths — webhook registration, delivery payloads, callback registrations, company events, and webhook/callback schemas); api-reference/company-v0.yaml covers the legacy unversioned company admin surface (/api/... paths, bearer-authenticated except two operations that take no credential, POST /api/company (create a company) and GET /api/agreements/{id} — company settings and management, customers, users, roles, subscription plans, subscription bundles, subscriptions, media, pages, catch-ups, inventory levels, domains, agreements, and admin order actions). company-v0 caveats: it is the legacy v0 admin contract and its lists use flat page/per_page offset pagination, which is expected there despite the general cursor-pagination rule; where an operation exists in both company-v0 and a versioned spec, prefer the versioned spec — the subscriptions lifecycle (list/create/show/update, cancel, pause, reactivate, resume, retry, skip, failed-cycle-waiver, discounts) and subscription bundles are superseded by checkout-v2026-04, and company pages/media CRUD plus the public pages, categories, products, and media list endpoints are superseded by storefront-v2026-04. Subscription plan management (/api/subscription_plans, resource-wrapped {"subscription_plan": {...}} bodies) exists only in company-v0. api-reference/members-v2025-06.yaml covers the v2025-06 unified Member identity surface (/api/v2025-06/members/... paths, bearer-authenticated — member list/create/show/update, lookup by email/username/external_id/legacy_customer_id, member-type assignment, and the sponsor genealogy read). Prefer it over the customers and reps surfaces when the member type matters: /customers does not serialize member_type. api-reference/analytics-v2026-04.yaml covers the v2026-04 Home dashboard analytics surface (/api/v202604/analytics/dashboard/... paths, bearer-authenticated — read-only endpoints for the Home > Overview, Home > Live, and Home > Field tabs, each accepting an optional country ISO alpha-2 query param that scopes aggregations to a single country).
> api-reference/analytics-v0.yaml covers the unversioned analytics surface that backs the fluid-admin Traffic tab (/api/analytics/... and /api/analytics/traffic/... paths, bearer-authenticated — the legacy shares/views/visitors summary plus traffic overview, ranked campaigns, sources, geographies, flows, and per-rep breakdown, all sharing one reporting-period contract).
> Successful responses wrap the resource payload alongside a top-level integer status and a meta object.
> Portal Definition authoring edits and synchronizes the portal JSON resource graph. Widget Package authoring builds either a company-owned or Droplet-owned Remote DOM package. These are separate contracts; do not imply that one defines the other.
> For Widget Package worker code, use only @fluid-app/portal-sdk/widgets/worker. Use only the Portal Definition and Widget Package workflows and public entry points documented here; do not infer support for undocumented surfaces.
> Every portal function and declarative capability used by a widget must appear in that widget's uses array. Use the same typed function value in uses; do not invent capability-name strings.
> Widget styling must use the portal's semantic theme variables for colors, typography, spacing, radii, borders, focus, and charts whenever a token represents the visual decision. Do not create a separate light or dark palette or duplicate theme controls as widget properties.
> Prefer worker-safe Fluid UI components exported by @fluid-app/portal-sdk/widgets/worker when they fit the interaction. When no exported component fits, use semantic HTML, accessible behavior, and the portal theme variables.
> A Portal Definition push updates the remote working definition. A portal version is an immutable snapshot, and activation is a separate live release operation.
> The Help Center (/help/...) is for merchants, admins and reps using Fluid. Its admin pages mirror the admin's routes: the screen at admin.fluid.app/settings/taxes is documented at /help/admin/settings/taxes. Use the Help Center for how-to questions about the admin, and the Developer Platform and API Reference for building integrations.
> Help Center pages describe what a company admin sees. A reader's role can hide screens and actions; admins manage roles on Settings > Roles (/help/admin/settings/roles). If someone can't find a screen or button, their role's permissions are the first thing to check.
> Send people who need Fluid support to /help/getting-help. Don't invent support email addresses, phone numbers or response times.

# List a thread's replies

> List the replies in the thread a message belongs to, a page at a time, each page oldest first. A reply's thread is its first message's. With no cursor the page is the newest replies; pass `before` (a reply's uuid_v7 or id) for older ones and `after` for newer ones. The thread's first message comes along as `parent`. Scoped to your seat like the message routes. Requires the messaging view permission.



## OpenAPI

````yaml /api-reference/messaging-v1.yaml get /api/v1/messaging/conversations/{conversation_id}/messages/{message_id}/replies
openapi: 3.1.0
info:
  title: Fluid Messaging v1 API
  description: |
    **Sandbox test companies.** A sandbox test company is linked to a live
    company. While the test company cannot be reached, because sandbox access
    is turned off for its live company or the live company was deleted, every
    operation in this API that resolves the company from the request's
    credential refuses a credential for it with `403` and the body
    `{"error": "<message>"}`, before the operation runs. The refusal is
    documented here once rather than on each operation.
  version: v1
  contact:
    email: support@fluid.app
  license:
    name: Proprietary
    identifier: LicenseRef-Proprietary
servers:
  - url: https://api.fluid.app
security: []
tags:
  - name: messaging---conversations
    description: >-
      Create, list, update, and manage messaging conversations (direct, group,
      channel, SMS, email, and bot) as the signed-in company admin or rep.
    x-fluid-section: Messaging
  - name: messaging---incoming-webhooks
    description: >-
      Give another system a link that posts into a group conversation or
      channel, as with Slack's incoming webhooks.
    x-fluid-section: Messaging
  - name: messaging---messages
    description: >-
      Read, thread, and track unread state on messages in a conversation as the
      signed-in company admin or rep, including a message's thread replies and
      the threads with unread replies.
    x-fluid-section: Messaging
  - name: messaging---scheduled-messages
    description: >-
      Schedule, update, cancel, and immediately deliver messages in a
      conversation as the signed-in company admin or rep.
    x-fluid-section: Messaging
  - name: messaging---today
    description: >-
      Flow's Today feed, the company's X-style posts with likes, comments,
      shared storefront items and admin moderation, as the signed-in company
      admin or Member. Posting notifies nobody; only a post's author, and the
      people who commented on it, hear about likes and comments.
    x-fluid-section: Messaging
paths:
  /api/v1/messaging/conversations/{conversation_id}/messages/{message_id}/replies:
    get:
      tags:
        - messaging---messages
      summary: List a thread's replies
      description: >-
        List the replies in the thread a message belongs to, a page at a time,
        each page oldest first. A reply's thread is its first message's. With no
        cursor the page is the newest replies; pass `before` (a reply's uuid_v7
        or id) for older ones and `after` for newer ones. The thread's first
        message comes along as `parent`. Scoped to your seat like the message
        routes. Requires the messaging view permission.
      operationId: messaging_v1_list_thread_replies
      parameters:
        - name: conversation_id
          in: path
          required: true
          description: The conversation's uuid_v7 or numeric id.
          schema:
            type: string
        - name: message_id
          in: path
          required: true
          description: The message's uuid_v7 or numeric id.
          schema:
            type: string
        - name: after
          in: query
          required: false
          description: The uuid_v7 or id of the last reply already read.
          schema:
            type: string
        - name: before
          in: query
          required: false
          description: The uuid_v7 or id of a reply; the page is the replies before it.
          schema:
            type: string
        - name: per_page
          in: query
          required: false
          description: Replies per page, 50 by default and at most 100.
          schema:
            type: integer
      responses:
        '200':
          description: A page of replies.
          content:
            application/json:
              schema:
                type: object
                properties:
                  replies:
                    type: array
                    items:
                      $ref: '#/components/schemas/MessagingMessageListItem'
                  prev_cursor:
                    type:
                      - string
                      - 'null'
                    description: >-
                      The oldest reply's uuid_v7 on this page when older replies
                      exist; pass it as `before`.
                  next_cursor:
                    type:
                      - string
                      - 'null'
                    description: >-
                      The newest reply's uuid_v7 on this page when newer replies
                      exist; pass it as `after`.
                  parent_id:
                    type: integer
                    description: The thread's first message.
                  parent:
                    $ref: '#/components/schemas/MessagingMessageListItem'
                required:
                  - replies
                  - prev_cursor
                  - next_cursor
                  - parent_id
                  - parent
              example:
                replies:
                  - id: 91211
                    uuid_v7: 01a163cb-24a0-77a2-b3cf-f9f60fb25cc5
                    conversation_id: 7731
                    app: null
                    sent_via: null
                    blocks: []
                    body: I can take it. I'll bring the new paper samples.
                    type: DirectMessage
                    status: sent
                    created_at: '2026-10-22T13:27:00Z'
                    sent_at: '2026-10-22T13:27:00Z'
                    edited_at: null
                    deleted_at: null
                    pinned: false
                    reaction: null
                    reaction_stats: null
                    metadata:
                      client_message_id: null
                    seen_by_count: 0
                    emoji_only_count: 0
                    seen_by: []
                    sender_recipient:
                      avatar_background: 0EA5E9
                      blocked: false
                      blocker: false
                      discarded_at: null
                      first_name: Jim
                      id: 48218
                      image_url: >-
                        https://cdn.fluid.app/avatars/dunder-mifflin/jim-halpert.jpg
                      last_name: Halpert
                      pro_user: false
                    mentioned_recipients: []
                    attachments: []
                    replied_to_message:
                      id: 91204
                      uuid_v7: 01a163c4-bc00-7978-8606-813749a8781a
                      conversation_id: 7731
                      blocks: []
                      body: Who can cover the Stamford client call on Friday at 10?
                      type: DirectMessage
                      status: sent
                      created_at: '2026-10-22T13:20:00Z'
                      sent_at: '2026-10-22T13:20:00Z'
                      edited_at: null
                      deleted_at: null
                      pinned: false
                      reaction: null
                      reaction_stats: null
                      metadata:
                        client_message_id: null
                      seen_by_count: 0
                      emoji_only_count: 0
                      seen_by: []
                      sender_recipient:
                        avatar_background: 4F46E5
                        blocked: false
                        blocker: false
                        discarded_at: null
                        first_name: Dwight
                        id: 48217
                        image_url: >-
                          https://cdn.fluid.app/avatars/dunder-mifflin/dwight-schrute.jpg
                        last_name: Schrute
                        pro_user: false
                      mentioned_recipients: []
                      attachments: []
                      replied_to_message: null
                      reply_count: 2
                      last_reply_at: '2026-10-22T13:41:00Z'
                      reply_recipients:
                        - avatar_background: 0EA5E9
                          blocked: false
                          blocker: false
                          discarded_at: null
                          first_name: Jim
                          id: 48218
                          image_url: >-
                            https://cdn.fluid.app/avatars/dunder-mifflin/jim-halpert.jpg
                          last_name: Halpert
                          pro_user: false
                        - avatar_background: EC4899
                          blocked: false
                          blocker: false
                          discarded_at: null
                          first_name: Pam
                          id: 48219
                          image_url: >-
                            https://cdn.fluid.app/avatars/dunder-mifflin/pam-beesly.jpg
                          last_name: Beesly
                          pro_user: false
                      thread_unread_count: 1
                      also_sent_to_channel: false
                      updated_at: '2026-10-22T13:41:00Z'
                    reply_count: 0
                    last_reply_at: null
                    reply_recipients: []
                    thread_unread_count: 0
                    also_sent_to_channel: false
                  - id: 91218
                    uuid_v7: 01a163d7-f5e0-7aab-a32a-4e00a49a43d2
                    conversation_id: 7731
                    app: null
                    sent_via: null
                    blocks: []
                    body: Thanks Jim, I'll put it on the calendar.
                    type: DirectMessage
                    status: sent
                    created_at: '2026-10-22T13:41:00Z'
                    sent_at: '2026-10-22T13:41:00Z'
                    edited_at: null
                    deleted_at: null
                    pinned: false
                    reaction: null
                    reaction_stats: null
                    metadata:
                      client_message_id: null
                    seen_by_count: 0
                    emoji_only_count: 0
                    seen_by: []
                    sender_recipient:
                      avatar_background: EC4899
                      blocked: false
                      blocker: false
                      discarded_at: null
                      first_name: Pam
                      id: 48219
                      image_url: >-
                        https://cdn.fluid.app/avatars/dunder-mifflin/pam-beesly.jpg
                      last_name: Beesly
                      pro_user: false
                    mentioned_recipients: []
                    attachments: []
                    replied_to_message:
                      id: 91204
                      uuid_v7: 01a163c4-bc00-7978-8606-813749a8781a
                      conversation_id: 7731
                      blocks: []
                      body: Who can cover the Stamford client call on Friday at 10?
                      type: DirectMessage
                      status: sent
                      created_at: '2026-10-22T13:20:00Z'
                      sent_at: '2026-10-22T13:20:00Z'
                      edited_at: null
                      deleted_at: null
                      pinned: false
                      reaction: null
                      reaction_stats: null
                      metadata:
                        client_message_id: null
                      seen_by_count: 0
                      emoji_only_count: 0
                      seen_by: []
                      sender_recipient:
                        avatar_background: 4F46E5
                        blocked: false
                        blocker: false
                        discarded_at: null
                        first_name: Dwight
                        id: 48217
                        image_url: >-
                          https://cdn.fluid.app/avatars/dunder-mifflin/dwight-schrute.jpg
                        last_name: Schrute
                        pro_user: false
                      mentioned_recipients: []
                      attachments: []
                      replied_to_message: null
                      reply_count: 2
                      last_reply_at: '2026-10-22T13:41:00Z'
                      reply_recipients:
                        - avatar_background: 0EA5E9
                          blocked: false
                          blocker: false
                          discarded_at: null
                          first_name: Jim
                          id: 48218
                          image_url: >-
                            https://cdn.fluid.app/avatars/dunder-mifflin/jim-halpert.jpg
                          last_name: Halpert
                          pro_user: false
                        - avatar_background: EC4899
                          blocked: false
                          blocker: false
                          discarded_at: null
                          first_name: Pam
                          id: 48219
                          image_url: >-
                            https://cdn.fluid.app/avatars/dunder-mifflin/pam-beesly.jpg
                          last_name: Beesly
                          pro_user: false
                      thread_unread_count: 1
                      also_sent_to_channel: false
                      updated_at: '2026-10-22T13:41:00Z'
                    reply_count: 0
                    last_reply_at: null
                    reply_recipients: []
                    thread_unread_count: 0
                    also_sent_to_channel: false
                prev_cursor: null
                next_cursor: null
                parent_id: 91204
                parent:
                  id: 91204
                  uuid_v7: 01a163c4-bc00-7978-8606-813749a8781a
                  conversation_id: 7731
                  app: null
                  sent_via: null
                  blocks: []
                  body: Who can cover the Stamford client call on Friday at 10?
                  type: DirectMessage
                  status: sent
                  created_at: '2026-10-22T13:20:00Z'
                  sent_at: '2026-10-22T13:20:00Z'
                  edited_at: null
                  deleted_at: null
                  pinned: false
                  reaction: null
                  reaction_stats: null
                  metadata:
                    client_message_id: null
                  seen_by_count: 0
                  emoji_only_count: 0
                  seen_by: []
                  sender_recipient:
                    avatar_background: 4F46E5
                    blocked: false
                    blocker: false
                    discarded_at: null
                    first_name: Dwight
                    id: 48217
                    image_url: >-
                      https://cdn.fluid.app/avatars/dunder-mifflin/dwight-schrute.jpg
                    last_name: Schrute
                    pro_user: false
                  mentioned_recipients: []
                  attachments: []
                  replied_to_message: null
                  reply_count: 2
                  last_reply_at: '2026-10-22T13:41:00Z'
                  reply_recipients:
                    - avatar_background: 0EA5E9
                      blocked: false
                      blocker: false
                      discarded_at: null
                      first_name: Jim
                      id: 48218
                      image_url: >-
                        https://cdn.fluid.app/avatars/dunder-mifflin/jim-halpert.jpg
                      last_name: Halpert
                      pro_user: false
                    - avatar_background: EC4899
                      blocked: false
                      blocker: false
                      discarded_at: null
                      first_name: Pam
                      id: 48219
                      image_url: >-
                        https://cdn.fluid.app/avatars/dunder-mifflin/pam-beesly.jpg
                      last_name: Beesly
                      pro_user: false
                  thread_unread_count: 1
                  also_sent_to_channel: false
        '401':
          description: unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnauthorizedResponse'
        '404':
          description: not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFoundResponse'
      security:
        - bearer_auth: []
components:
  schemas:
    MessagingMessageListItem:
      description: >-
        A message as it appears in a conversation's message list. Deleted
        messages keep their place in the list with the body replaced by a
        deletion notice and their attachments, mentions, and seen-by details
        emptied.
      type: object
      properties:
        reply_count:
          type: integer
          description: >-
            On a thread's first message, how many replies the thread has; 0
            otherwise.
        last_reply_at:
          type:
            - string
            - 'null'
          format: date-time
          description: On a thread's first message, when its latest reply was posted.
        reply_recipients:
          type: array
          description: >-
            On a thread's first message, the up to three people who replied most
            recently.
          items:
            $ref: '#/components/schemas/MessagingReducedRecipient'
        thread_unread_count:
          type: integer
          description: >-
            On a thread's first message, how many of its replies you follow and
            have not read.
        also_sent_to_channel:
          type: boolean
          description: On a thread reply, whether it was also posted to the conversation.
        app:
          type:
            - object
            - 'null'
          description: >-
            For a message an incoming webhook or an app's own Flow sender
            posted, the app it shows as; null for every other message.
          additionalProperties: false
          properties:
            name:
              type: string
            icon_url:
              type: string
              format: uri
        sent_via:
          type:
            - object
            - 'null'
          description: >-
            For a message an app sent as a person who allowed it to, the app it
            was sent through; null otherwise.
          additionalProperties: false
          properties:
            app_name:
              type: string
            app_icon_url:
              type: string
              format: uri
        blocks:
          type: array
          description: >-
            The bot's interactive cards on this message; empty for a person's
            message.
          items:
            $ref: '#/components/schemas/MessagingMessageBlock'
        id:
          type: integer
          description: The message ID.
        uuid_v7:
          type: string
          format: uuid
          description: >-
            The stable UUIDv7 identifier. Messaging routes accept it wherever
            they accept the numeric id.
        conversation_id:
          type: integer
          description: The conversation the message belongs to.
        body:
          type:
            - string
            - 'null'
          description: The message text, or a deletion notice when the message was deleted.
        type:
          type: string
          description: >-
            The message type, for example `DirectMessage`, `SmsMessage`,
            `EmailMessage`, or `InfoMessage`.
        status:
          type: string
          description: Delivery status.
          enum:
            - queued
            - sent
            - failed
        created_at:
          type: string
          format: date-time
        sent_at:
          type:
            - string
            - 'null'
          format: date-time
          description: When the message was sent, falling back to its creation time.
        edited_at:
          type:
            - string
            - 'null'
          format: date-time
          description: When the sender last edited the message, or null.
        deleted_at:
          type:
            - string
            - 'null'
          format: date-time
          description: When the message was deleted, for everyone or only for you, or null.
        pinned:
          type:
            - boolean
            - 'null'
          description: Whether the message is pinned in the conversation.
        reaction:
          type:
            - string
            - 'null'
          description: Your own emoji reaction to the message, or null.
        reaction_stats:
          description: Reaction counts keyed by emoji, or null when nobody has reacted.
          anyOf:
            - $ref: '#/components/schemas/JsonValue'
            - type: 'null'
        metadata:
          description: >-
            Message metadata, including the `client_message_id` sent at
            creation.
          anyOf:
            - $ref: '#/components/schemas/JsonValue'
            - type: 'null'
        seen_by_count:
          type: integer
          description: How many recipients have seen the message.
        emoji_only_count:
          type:
            - integer
            - 'null'
          description: The number of emoji when the body consists only of emoji.
        seen_by:
          type: array
          description: >-
            Up to 25 recipients who most recently saw the message. Always empty
            in channels.
          items:
            $ref: '#/components/schemas/MessagingNominalRecipient'
        sender_recipient:
          description: The recipient who sent the message.
          anyOf:
            - $ref: '#/components/schemas/MessagingReducedRecipient'
            - type: 'null'
        mentioned_recipients:
          type: array
          items:
            $ref: '#/components/schemas/MessagingSlimmedRecipient'
        attachments:
          type: array
          items:
            $ref: '#/components/schemas/MessagingAttachment'
        replied_to_message:
          description: The message this one replies to, or null.
          anyOf:
            - $ref: '#/components/schemas/MessagingMessage'
            - type: 'null'
      required:
        - id
        - conversation_id
        - body
        - type
        - status
        - created_at
        - sent_at
    UnauthorizedResponse:
      type: object
      properties:
        message:
          type: string
      required:
        - message
    NotFoundResponse:
      type: object
      properties:
        error:
          type: string
      required:
        - error
    MessagingReducedRecipient:
      type: object
      properties:
        guest_company_name:
          type:
            - string
            - 'null'
          description: >-
            For a guest from another company in a shared conversation: that
            company's name, shown as a badge beside theirs (for example
            "Fluid"). Absent for everyone else.
        avatar_background:
          type:
            - string
            - 'null'
        blocked:
          type:
            - boolean
            - 'null'
        blocker:
          type:
            - boolean
            - 'null'
        discarded_at:
          type:
            - string
            - 'null'
          format: date-time
        first_name:
          type:
            - string
            - 'null'
        id:
          type: integer
        image_url:
          type:
            - string
            - 'null'
        last_name:
          type:
            - string
            - 'null'
        pro_user:
          type:
            - boolean
            - 'null'
        email:
          type:
            - string
            - 'null'
          description: >-
            The contact's email address. Present only for contacts, not for
            company members.
        phone:
          type:
            - string
            - 'null'
          description: >-
            The contact's phone number. Present only for contacts, not for
            company members.
        seen_at:
          type:
            - string
            - 'null'
          format: date-time
          description: >-
            When this recipient last read the conversation. Present only in
            seen-by listings.
      required:
        - avatar_background
        - blocked
        - blocker
        - discarded_at
        - first_name
        - id
        - image_url
        - last_name
        - pro_user
      additionalProperties: false
    MessagingMessageBlock:
      description: >-
        An interactive card a bot attaches to its message. A `choices` card asks
        one multiple-choice question; a person answers it by posting the
        option's label with `in_reply_to_block`, which records
        `answered_option_id` on the card. A card with `allow_custom` also takes
        a typed answer, sent as option `custom` with `custom_value`; an answered
        card keeps the answer's words in `answered_value` (D-423). A card naming
        an onboarding `purpose` carries the `action` Fluid applies when the
        bot's owner or a steward answers it. An `integration` card offers a
        connection the bot can use.
      oneOf:
        - type: object
          additionalProperties: false
          required:
            - type
            - prompt
            - options
          properties:
            type:
              type: string
              enum:
                - choices
            prompt:
              type: string
            options:
              type: array
              minItems: 2
              maxItems: 4
              items:
                type: object
                additionalProperties: false
                required:
                  - id
                  - label
                properties:
                  id:
                    type: string
                  label:
                    type: string
            answered_option_id:
              type:
                - string
                - 'null'
            allow_custom:
              type: boolean
              description: >-
                Whether the card takes a typed answer; show a text field with a
                submit button.
            custom_placeholder:
              type: string
              description: The text field's placeholder.
            answered_value:
              type: string
              description: >-
                The answer's words once the card is answered, the picked
                option's label or the typed text.
            purpose:
              type: string
              enum:
                - name
                - first_task
                - cadence
                - preference
              description: The onboarding touchpoint the card is (D-423, D-424).
            action:
              type: object
              additionalProperties: true
              description: >-
                What Fluid does when the bot's keeper answers the card, such as
                renaming the bot or granting a permission.
        - type: object
          additionalProperties: false
          required:
            - type
            - key
            - title
            - description
            - status
          properties:
            type:
              type: string
              enum:
                - integration
            key:
              type: string
            title:
              type: string
            description:
              type: string
            status:
              type: string
              enum:
                - available
                - added
    JsonValue:
      description: >-
        Any valid JSON value for provider, integration, theme, metadata, or
        other dynamic payloads whose keys are not fixed by the API contract.
      anyOf:
        - type: string
        - type: number
        - type: boolean
        - type: 'null'
        - type: array
          items:
            $ref: '#/components/schemas/JsonValue'
        - type: object
          additionalProperties:
            $ref: '#/components/schemas/JsonValue'
    MessagingNominalRecipient:
      type: object
      properties:
        avatar_background:
          type:
            - string
            - 'null'
        first_name:
          type:
            - string
            - 'null'
        id:
          type: integer
        image_url:
          type:
            - string
            - 'null'
        last_name:
          type:
            - string
            - 'null'
        seen_at:
          type:
            - string
            - 'null'
          format: date-time
      required:
        - avatar_background
        - first_name
        - id
        - image_url
        - last_name
      additionalProperties: false
    MessagingSlimmedRecipient:
      type: object
      properties:
        guest_company_name:
          type:
            - string
            - 'null'
          description: >-
            For a guest from another company in a shared conversation: that
            company's name, shown as a badge beside theirs (for example
            "Fluid"). Absent for everyone else.
        avatar_background:
          type:
            - string
            - 'null'
        blocked:
          type:
            - boolean
            - 'null'
        discarded_at:
          type:
            - string
            - 'null'
          format: date-time
        email:
          type:
            - string
            - 'null'
        first_name:
          type:
            - string
            - 'null'
        id:
          type: integer
        last_name:
          type:
            - string
            - 'null'
        phone:
          type:
            - string
            - 'null'
      required:
        - avatar_background
        - blocked
        - discarded_at
        - email
        - first_name
        - id
        - last_name
        - phone
      additionalProperties: false
    MessagingAttachment:
      type: object
      properties:
        id:
          type: integer
        url:
          type:
            - string
            - 'null'
        filename:
          type:
            - string
            - 'null'
        kind:
          type:
            - string
            - 'null'
        image_url:
          type:
            - string
            - 'null'
        image_path:
          type:
            - string
            - 'null'
        content_type:
          type:
            - string
            - 'null'
        attachable_type:
          type:
            - string
            - 'null'
        attachable_id:
          type:
            - integer
            - 'null'
        metadata:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/JsonValue'
        content_size:
          type:
            - integer
            - 'null'
        thumbnail_url:
          type:
            - string
            - 'null'
      additionalProperties: false
    MessagingMessage:
      type: object
      properties:
        reply_count:
          type: integer
          description: >-
            On a thread's first message, how many replies the thread has; 0
            otherwise.
        last_reply_at:
          type:
            - string
            - 'null'
          format: date-time
          description: On a thread's first message, when its latest reply was posted.
        reply_recipients:
          type: array
          description: >-
            On a thread's first message, the up to three people who replied most
            recently.
          items:
            $ref: '#/components/schemas/MessagingReducedRecipient'
        thread_unread_count:
          type: integer
          description: >-
            On a thread's first message, how many of its replies you follow and
            have not read.
        also_sent_to_channel:
          type: boolean
          description: On a thread reply, whether it was also posted to the conversation.
        app:
          type:
            - object
            - 'null'
          description: >-
            For a message an incoming webhook or an app's own Flow sender
            posted, the app it shows as; null for every other message.
          additionalProperties: false
          properties:
            name:
              type: string
            icon_url:
              type: string
              format: uri
        sent_via:
          type:
            - object
            - 'null'
          description: >-
            For a message an app sent as a person who allowed it to, the app it
            was sent through; null otherwise.
          additionalProperties: false
          properties:
            app_name:
              type: string
            app_icon_url:
              type: string
              format: uri
        blocks:
          type: array
          description: >-
            The bot's interactive cards on this message; empty for a person's
            message.
          items:
            $ref: '#/components/schemas/MessagingMessageBlock'
        attachments:
          type: array
          items:
            $ref: '#/components/schemas/MessagingAttachment'
        body:
          type: string
        conversation_id:
          type: integer
        created_at:
          type: string
          format: date-time
        deleted_at:
          type:
            - string
            - 'null'
          format: date-time
        edited_at:
          type:
            - string
            - 'null'
          format: date-time
        emoji_only_count:
          type: integer
        id:
          type: integer
        uuid_v7:
          type: string
          format: uuid
          description: >-
            The stable UUIDv7 identifier. Messaging routes accept it wherever
            they accept the numeric id.
        mentioned_recipients:
          type: array
          items:
            $ref: '#/components/schemas/MessagingSlimmedRecipient'
        metadata:
          anyOf:
            - $ref: '#/components/schemas/MessagingMessageMetadata'
            - type: 'null'
        pinned:
          type: boolean
        reaction:
          anyOf:
            - $ref: '#/components/schemas/JsonValue'
            - type: 'null'
        reaction_stats:
          anyOf:
            - $ref: '#/components/schemas/JsonValue'
            - type: 'null'
        replied_to_message:
          anyOf:
            - $ref: '#/components/schemas/JsonValue'
            - type: 'null'
        seen_by:
          type: array
          items:
            $ref: '#/components/schemas/MessagingNominalRecipient'
        seen_by_count:
          type: integer
        sender_recipient:
          $ref: '#/components/schemas/MessagingReducedRecipient'
        sent_at:
          type: string
          format: date-time
        status:
          type: string
        type:
          type: string
        updated_at:
          type: string
          format: date-time
      required:
        - attachments
        - body
        - conversation_id
        - created_at
        - deleted_at
        - edited_at
        - emoji_only_count
        - id
        - mentioned_recipients
        - metadata
        - pinned
        - reaction
        - reaction_stats
        - replied_to_message
        - seen_by
        - seen_by_count
        - sender_recipient
        - sent_at
        - status
        - type
        - updated_at
      additionalProperties: false
      title: MessagingMessage
    MessagingMessageMetadata:
      type: object
      properties:
        client_message_id:
          type:
            - string
            - 'null'
          description: >-
            The `client_message_id` you sent when creating the message, or null
            when you sent none.
        in_reply_to_block:
          type: object
          description: >-
            The bot card and option this message answered, as sent with
            `in_reply_to_block`.
          properties:
            message_id:
              type: string
            option_id:
              type: string
            custom_value:
              type: string
              description: The typed answer, when `option_id` is `custom`.
      required:
        - client_message_id
      additionalProperties: false
  securitySchemes:
    bearer_auth:
      type: http
      scheme: bearer
      description: Bearer token authentication

````

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