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

# PublicApiGetInboxThread

> GET /api/v1/organizations/{orgId}/workspaces/{wsId}/inbox/threads/{threadId}

Use this endpoint through the Developer API or the matching `firstsales` CLI command when available. Responses use the stable FirstSales public error envelope.


## OpenAPI

````yaml GET /api/v1/organizations/{orgId}/workspaces/{wsId}/inbox/threads/{threadId}
openapi: 3.1.0
info:
  title: FirstSales Developer API
  version: 1.0.0
  description: >-
    Public v1 developer API for FirstSales.io. Generated from live step
    definitions — do not hand-edit.
servers:
  - url: https://sandbox.api.app.firstsales.io
  - url: https://api.app.firstsales.io
security:
  - bearerAuth: []
tags:
  - name: Activities
  - name: Alerts
  - name: API Keys
  - name: Authentication
  - name: Billing
  - name: Blocked Domains
  - name: Campaigns
  - name: Companies
  - name: Connectors
  - name: Contacts
  - name: Copilot
  - name: Dashboard
  - name: Deals
  - name: Direct Email
  - name: Email Authentication
  - name: Inbox
  - name: Knowledge Bases
  - name: Learning
  - name: Offerings
  - name: Organizations
  - name: Product Updates
  - name: Sequence Library
  - name: Signals
    description: >-
      Beta. Find people who comment on or react to LinkedIn posts by a keyword,
      a person or a company page. Each scan costs 10x the scraper cost in
      credits (1 credit = $0.01), capped by the daily budget of the signal. A
      scan that adds no new person is free.
  - name: Suppression
  - name: Team
  - name: Tracking Domains
  - name: Warmup
paths:
  /api/v1/organizations/{orgId}/workspaces/{wsId}/inbox/threads/{threadId}:
    get:
      tags:
        - Inbox
      summary: PublicApiGetInboxThread
      operationId: getInboxThread
      parameters:
        - name: orgId
          in: path
          required: true
          schema:
            type: string
        - name: wsId
          in: path
          required: true
          schema:
            type: string
        - name: threadId
          in: path
          required: true
          schema:
            type: string
            minLength: 1
            maxLength: 1024
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicInboxThreadDetailResponse'
        '400':
          description: Public API error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicErrorEnvelope'
        '401':
          description: Public API error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicErrorEnvelope'
        '403':
          description: Public API error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicErrorEnvelope'
        '404':
          description: Public API error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicErrorEnvelope'
        '429':
          description: Public API error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicErrorEnvelope'
        '500':
          description: Public API error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicErrorEnvelope'
        '503':
          description: Public API error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicErrorEnvelope'
        default:
          description: Error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicErrorEnvelope'
      security:
        - developerKeyBearer: []
components:
  schemas:
    PublicInboxThreadDetailResponse:
      type: object
      properties:
        thread:
          type: object
          properties:
            threadId:
              type: string
              minLength: 1
              maxLength: 1024
            subject:
              type: string
            lastMessageAt:
              type: string
            lastMessageDirection:
              type: string
              enum:
                - outbound
                - inbound
            messageCount:
              type: integer
              minimum: 0
              maximum: 9007199254740991
            unreadCount:
              type: integer
              minimum: 0
              maximum: 9007199254740991
            pendingApprovalCount:
              type: integer
              minimum: 0
              maximum: 9007199254740991
            hasBounce:
              type: boolean
            hasGoalHit:
              type: boolean
            hasFailed:
              type: boolean
            hasReply:
              type: boolean
            hasUnsubscribe:
              type: boolean
            hasOoo:
              type: boolean
            status:
              type: string
            journeyStatus:
              type: string
            contact:
              type: object
              propertyNames:
                type: string
              additionalProperties: {}
            campaign:
              type: object
              propertyNames:
                type: string
              additionalProperties: {}
            senderConnector:
              type: object
              properties:
                id:
                  type: string
                email:
                  type: string
              required:
                - id
              additionalProperties: false
            visibility:
              type: string
            ownerId:
              type: string
            ownerName:
              type: string
            assigneeId:
              type: string
            assigneeName:
              type: string
            isOrphan:
              type: boolean
            isWarmup:
              type: boolean
            dealId:
              type: string
            emails:
              type: array
              items:
                type: object
                properties:
                  id:
                    type: string
                  threadId:
                    type: string
                  direction:
                    type: string
                    enum:
                      - outbound
                      - inbound
                  emailType:
                    type: string
                  sequenceNumber:
                    type: integer
                    minimum: 0
                    maximum: 9007199254740991
                  subject:
                    type: string
                  senderEmail:
                    type: string
                  senderName:
                    type: string
                  recipientEmail:
                    type: string
                  recipientName:
                    type: string
                  to:
                    type: array
                    items:
                      type: string
                  cc:
                    type: array
                    items:
                      type: string
                  draftStatus:
                    type: boolean
                  approvalStatus:
                    type: boolean
                  sentStatus:
                    type: boolean
                  failedStatus:
                    type: boolean
                  cancelledStatus:
                    type: boolean
                  readByUser:
                    type: boolean
                  createdAt:
                    type: string
                  sentAt:
                    type: string
                  scheduledAt:
                    type: string
                  engagement:
                    type: object
                    propertyNames:
                      type: string
                    additionalProperties: {}
                  replyAnalysis:
                    type: object
                    properties:
                      sentiment:
                        type: string
                      intent:
                        type: string
                    additionalProperties: false
                  approvalType:
                    type: string
                required:
                  - id
                  - threadId
                  - direction
                  - emailType
                  - sequenceNumber
                  - subject
                  - recipientEmail
                  - draftStatus
                  - approvalStatus
                  - sentStatus
                  - failedStatus
                  - cancelledStatus
                  - readByUser
                  - createdAt
                additionalProperties: false
            aggregatedEngagement:
              type: object
              propertyNames:
                type: string
              additionalProperties: {}
            journey:
              type: object
              propertyNames:
                type: string
              additionalProperties: {}
            latestReplyAnalysis:
              type: object
              properties:
                sentiment:
                  type: string
                intent:
                  type: string
              additionalProperties: false
            replying:
              type: array
              items:
                type: object
                properties:
                  userId:
                    type: string
                  name:
                    type: string
                required:
                  - userId
                  - name
                additionalProperties: false
          required:
            - threadId
            - subject
            - lastMessageAt
            - lastMessageDirection
            - messageCount
            - unreadCount
            - pendingApprovalCount
            - hasBounce
            - hasGoalHit
            - hasFailed
            - hasReply
            - hasUnsubscribe
            - hasOoo
            - status
            - journeyStatus
            - contact
            - campaign
            - emails
            - aggregatedEngagement
            - journey
            - replying
          additionalProperties: false
      required:
        - thread
      additionalProperties: false
    PublicErrorEnvelope:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
            requestId:
              type: string
            details:
              type: object
              additionalProperties: true
          required:
            - code
            - message
            - requestId
      required:
        - error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Legacy compatibility bearer scheme for generated consumers.
    developerKeyBearer:
      type: http
      scheme: bearer
      description: FirstSales developer API key bearer token (fs-key-*).

````

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