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

# Get conversation

> One conversation in full: every message with its delivery status oldest-first, the matched lead and their signals, recent activity, and whether a reply can be sent right now (with the reasons when it cannot). Read this before drafting any reply.



## OpenAPI

````yaml /api-reference/openapi.json get /inbox/{conversation}
openapi: 3.1.0
info:
  title: LeadBeast API
  version: v1
  description: >-
    One workspace per API key. Send the key as `Authorization: Bearer lb_...`;
    each key carries `resource:read` / `resource:write` scopes. Every response
    is either `{"data": ..., "meta": ...}` or `{"error": ..., "meta": ...}`, and
    `X-Request-Id` on the response identifies the call in support. Write calls
    accept an `Idempotency-Key` header: repeating a call with the same key
    replays the original result instead of acting again. The same tools are
    available to AI clients over MCP at https://app.leadbeast.io/mcp.
servers:
  - url: https://app.leadbeast.io/api/v1
security:
  - bearer: []
tags:
  - name: business
  - name: leads
  - name: campaigns
  - name: inbox
paths:
  /inbox/{conversation}:
    get:
      tags:
        - inbox
      summary: Get conversation
      description: >-
        One conversation in full: every message with its delivery status
        oldest-first, the matched lead and their signals, recent activity, and
        whether a reply can be sent right now (with the reasons when it cannot).
        Read this before drafting any reply.
      operationId: get-conversation
      parameters:
        - name: conversation
          in: path
          required: true
          description: The conversation id, from list-conversations.
          schema:
            type: string
        - name: message_limit
          in: query
          required: false
          description: >-
            How many of the most recent messages to return, oldest-first.
            Default 25, max 50.
          schema:
            minimum: 1
            maximum: 50
            type: integer
      responses:
        '200':
          description: The call ran. Read `data.status` for what happened.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    properties:
                      status:
                        type: string
                        enum:
                          - completed
                          - queued
                          - processing
                          - partially_completed
                          - failed_temporary
                          - failed_permanent
                          - provider_unavailable
                          - rate_limited
                          - action_required
                        description: >-
                          What happened, machine-readable. Trust it over the
                          prose.
                      conversation:
                        properties:
                          id:
                            type: string
                          channel:
                            type: string
                          attendee_name:
                            type:
                              - string
                              - 'null'
                          attendee_headline:
                            type:
                              - string
                              - 'null'
                          stage:
                            description: The lead's stage; null for a chat with no lead.
                            type:
                              - string
                              - 'null'
                          unread_count:
                            type: integer
                          archived:
                            type: boolean
                          last_message_at:
                            type:
                              - string
                              - 'null'
                          last_message_direction:
                            type:
                              - string
                              - 'null'
                          linkedin_account_id:
                            type:
                              - string
                              - 'null'
                          lead_id:
                            type:
                              - string
                              - 'null'
                        type: object
                        required:
                          - id
                          - channel
                          - attendee_name
                          - attendee_headline
                          - stage
                          - unread_count
                          - archived
                          - last_message_at
                          - last_message_direction
                          - linkedin_account_id
                          - lead_id
                      messages:
                        description: Oldest first.
                        items:
                          properties:
                            id:
                              type: string
                            direction:
                              enum:
                                - inbound
                                - outbound
                              type: string
                            status:
                              description: Delivery status of the message.
                              type: string
                            text:
                              type:
                                - string
                                - 'null'
                            sent_at:
                              type:
                                - string
                                - 'null'
                            sender_name:
                              type:
                                - string
                                - 'null'
                            attachments_count:
                              type: integer
                          type: object
                          required:
                            - id
                            - direction
                            - status
                            - text
                            - sent_at
                            - sender_name
                            - attachments_count
                        type: array
                      lead:
                        properties:
                          id:
                            description: The lead id every other tool takes.
                            type: string
                          full_name:
                            type:
                              - string
                              - 'null'
                          job_title:
                            type:
                              - string
                              - 'null'
                          company_name:
                            type:
                              - string
                              - 'null'
                          linkedin_profile_url:
                            type:
                              - string
                              - 'null'
                          email_present:
                            description: >-
                              Whether an email address is known; the address
                              itself comes from get-lead.
                            type: boolean
                          score:
                            description: >-
                              Lead score 1.0-10.0, the best across campaigns;
                              null until a campaign scored the person.
                            type:
                              - number
                              - 'null'
                          lead_status:
                            description: >-
                              qualified = a lead, candidate = found but not a
                              lead, suppressed = do-not-contact.
                            enum:
                              - candidate
                              - qualified
                              - suppressed
                            type: string
                          stage:
                            description: >-
                              Where the person stands as a deal: new,
                              in_sequence, in_conversation, meeting_booked,
                              evaluating, won, lost or on_hold. LeadBeast moves
                              new to in_sequence on the first send and to
                              in_conversation on a reply; the rest is yours.
                            enum:
                              - new
                              - in_sequence
                              - in_conversation
                              - meeting_booked
                              - evaluating
                              - won
                              - lost
                              - on_hold
                            type: string
                          tags:
                            description: >-
                              The lead's tag as a one-item list ("Lead",
                              "Interested", "Do Not Contact", a custom name), or
                              empty when uncategorized.
                            items:
                              type: string
                            type: array
                        type:
                          - object
                          - 'null'
                        required:
                          - id
                          - full_name
                          - job_title
                          - company_name
                          - linkedin_profile_url
                          - email_present
                          - score
                          - lead_status
                          - stage
                          - tags
                      signals:
                        description: Newest first.
                        items:
                          properties:
                            id:
                              type: string
                            signal_type:
                              type: string
                            title:
                              description: >-
                                One line on what the person did, for example the
                                post they wrote.
                              type:
                                - string
                                - 'null'
                            detected_at:
                              type:
                                - string
                                - 'null'
                          type: object
                          required:
                            - id
                            - signal_type
                            - title
                            - detected_at
                        type: array
                      activities:
                        items:
                          properties:
                            type:
                              type: string
                            description:
                              type:
                                - string
                                - 'null'
                            created_at:
                              type:
                                - string
                                - 'null'
                          type: object
                          required:
                            - type
                            - description
                            - created_at
                        type: array
                      latest_ai_draft:
                        description: The newest reply draft-reply asked for, or null.
                        properties:
                          message_id:
                            type: string
                          chat_id:
                            type: string
                          status:
                            type: string
                          text:
                            description: The draft once written.
                            type:
                              - string
                              - 'null'
                          error:
                            type:
                              - string
                              - 'null'
                        type:
                          - object
                          - 'null'
                        required:
                          - message_id
                          - chat_id
                          - status
                          - text
                          - error
                      can_reply:
                        type: boolean
                      reply_blockers:
                        items:
                          enum:
                            - no_linkedin_account
                          type: string
                        type: array
                    type: object
                    required:
                      - status
                      - conversation
                      - messages
                      - lead
                      - signals
                      - activities
                      - latest_ai_draft
                      - can_reply
                      - reply_blockers
                  meta:
                    $ref: '#/components/schemas/Meta'
                required:
                  - data
                  - meta
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '402':
          $ref: '#/components/responses/SubscriptionRequired'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/ActionRequired'
        '422':
          $ref: '#/components/responses/ValidationFailed'
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          $ref: '#/components/responses/Unavailable'
components:
  schemas:
    Meta:
      type: object
      properties:
        request_id:
          type: string
        replayed:
          type: boolean
      required:
        - request_id
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            status:
              type: string
              enum:
                - completed
                - queued
                - processing
                - partially_completed
                - failed_temporary
                - failed_permanent
                - provider_unavailable
                - rate_limited
                - action_required
            reason_code:
              type:
                - string
                - 'null'
            message:
              type: string
          required:
            - status
            - message
        meta:
          $ref: '#/components/schemas/Meta'
      required:
        - error
        - meta
  responses:
    Unauthenticated:
      description: The API key is missing, expired or revoked.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    SubscriptionRequired:
      description: The workspace has no active subscription.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: The key lacks the scope, or the plan lacks API access.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: No such record in this workspace.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    ActionRequired:
      description: The request was understood but cannot run in the current state.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    ValidationFailed:
      description: One or more arguments are invalid; see `error.errors`.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    RateLimited:
      description: Too many requests. Wait for `Retry-After` seconds.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unavailable:
      description: A dependency failed. The call is safe to retry.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearer:
      type: http
      scheme: bearer

````

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