Skip to main content
GET
/
threads
/
{id}
Get thread
curl --request GET \
  --url https://productlane.com/api/v2/threads/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "created_at": "<string>",
  "updated_at": "<string>",
  "title": "<string>",
  "text": "<string>",
  "origin": "<string>",
  "snoozed_until": "<string>",
  "last_inbound_message_at": "<string>",
  "last_outbound_message_at": "<string>",
  "last_state_change_at": "<string>",
  "is_read": true,
  "contact": {
    "id": "<string>",
    "email": "<string>",
    "name": "<string>",
    "image_url": "<string>",
    "company_id": "<string>",
    "is_subscribed": true,
    "external_ids": {
      "intercom": "<string>",
      "front": "<string>",
      "zendesk": "<string>",
      "hubspot": "<string>",
      "plain": "<string>",
      "productboard": "<string>",
      "slack_channel": "<string>"
    },
    "created_at": "<string>",
    "updated_at": "<string>"
  },
  "company": {
    "id": "<string>",
    "name": "<string>",
    "logo_url": "<string>",
    "domains": [
      "<string>"
    ],
    "size": 123,
    "revenue": 123,
    "status_id": "<string>",
    "status_name": "<string>",
    "tier_id": "<string>",
    "tier_name": "<string>",
    "owner": {
      "id": "<string>",
      "name": "<string>",
      "avatar_url": "<string>"
    },
    "external_ids": {
      "intercom": "<string>",
      "front": "<string>",
      "zendesk": "<string>",
      "hubspot": "<string>",
      "plain": "<string>",
      "productboard": "<string>",
      "slack_channel": "<string>"
    },
    "created_at": "<string>",
    "updated_at": "<string>"
  },
  "assignee": {
    "id": "<string>",
    "name": "<string>",
    "email": "<string>",
    "image_url": "<string>"
  },
  "reporter": {
    "id": "<string>",
    "name": "<string>",
    "email": "<string>",
    "image_url": "<string>"
  },
  "tags": [
    {
      "id": "<string>",
      "name": "<string>",
      "color": "<string>",
      "icon": "<string>",
      "tag_group_id": "<string>",
      "created_at": "<string>",
      "updated_at": "<string>"
    }
  ],
  "customer_needs": [
    {
      "id": "<string>",
      "thread_id": "<string>",
      "project_id": "<string>",
      "issue_id": "<string>",
      "priority": 123,
      "created_at": "<string>",
      "updated_at": "<string>"
    }
  ],
  "external_ids": {
    "intercom": "<string>",
    "front": "<string>",
    "zendesk": "<string>",
    "hubspot": "<string>",
    "plain": "<string>",
    "productboard": "<string>",
    "slack_channel": "<string>"
  },
  "ai_draft_html": "<string>",
  "ai_draft_sources": "<array>",
  "ai_draft_generated_at": "<string>",
  "ai_draft_started_at": "<string>",
  "ai_draft_error_at": "<string>",
  "messages": [
    {
      "id": "<string>",
      "created_at": "<string>",
      "subject": "<string>",
      "to": "<array>",
      "cc": "<array>",
      "bcc": "<array>",
      "text": "<string>",
      "html": "<string>",
      "attachments": "<array>",
      "thread_id": "<string>",
      "user_id": "<string>",
      "from": "<unknown>"
    }
  ],
  "comments": [
    {
      "id": "<string>",
      "created_at": "<string>",
      "updated_at": "<string>",
      "content": "<string>",
      "attachments": "<array>",
      "thread_id": "<string>",
      "user_id": "<string>"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://productlane.mintlify.dev/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Query Parameters

expand
string

Comma-separated list of related resources to inline on the response. Allowed values: messages (inlines the conversation), comments (inlines internal comments). Pass either one alone or both separated by a comma, e.g. messages,comments. Unknown values are ignored.

Response

Successful response

id
string
required
created_at
string
required
updated_at
string
required
title
string | null
required
text
string
required
pain_level
enum<string>
required
Available options:
UNKNOWN,
LOW,
MEDIUM,
HIGH
origin
string
required
status
enum<string>
required
Available options:
open,
snoozed,
done
tab
enum<string>
required
Available options:
open,
new,
needs-response,
my,
snoozed,
done
snoozed_until
string | null
required
last_inbound_message_at
string | null
required
last_outbound_message_at
string | null
required
last_state_change_at
string | null
required
is_read
boolean
required
contact
object
required
company
object
required
assignee
object
required
reporter
object
required
tags
object[]
required
customer_needs
object[]
required
external_ids
object
required
ai_draft_html
string | null
required
ai_draft_sources
array | null
required
ai_draft_generated_at
string | null
required
ai_draft_started_at
string | null
required
ai_draft_error_at
string | null
required
messages
object[]
comments
object[]