Skip to main content
POST
/
threads
/
{thread_id}
/
customer-needs
Link thread to issues or projects
curl --request POST \
  --url https://productlane.com/api/v2/threads/{thread_id}/customer-needs \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "issue_ids": [
    "<string>"
  ],
  "project_ids": [
    "<string>"
  ],
  "priority": 1
}
'
{
  "customer_needs": [
    {
      "id": "<string>",
      "thread_id": "<string>",
      "project_id": "<string>",
      "issue_id": "<string>",
      "priority": 123,
      "created_at": "<string>",
      "updated_at": "<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

thread_id
string
required

Body

application/json
issue_ids
string[]

Productlane issue ids to link this thread to. Combined with project_ids, at least one id must be provided.

project_ids
string[]

Productlane project ids to link this thread to. Combined with issue_ids, at least one id must be provided.

priority
integer

Linear's CustomerNeed.importance applied to every created link. Defaults to 0.

Required range: x >= 0

Response

Successful response

customer_needs
object[]
required