Skip to main content
GET
/
companies
/
linear-options
Get Linear customer options
curl --request GET \
  --url https://productlane.com/api/v1/companies/linear-options \
  --header 'Authorization: Bearer <token>'
{
  "statuses": [
    {
      "id": "<string>",
      "name": "<string>",
      "color": "<string>"
    }
  ],
  "tiers": [
    {
      "id": "<string>",
      "name": "<string>"
    }
  ]
}

Get Linear Customer Options

Retrieve available Linear customer statuses and tiers for your workspace. Returns null for statuses and tiers if Linear is not connected.

Response

statuses
object[]
Array of available Linear customer statuses (null if Linear not connected)
statuses[].id
string
Linear status ID
statuses[].name
string
Status name
statuses[].color
string
Status color (hex code)
tiers
object[]
Array of available Linear customer tiers (null if Linear not connected)
tiers[].id
string
Linear tier ID
tiers[].name
string
Tier name

Example Request

GET /api/v1/companies/linear-options

Example Response

{
  "statuses": [
    {
      "id": "status_123",
      "name": "Active",
      "color": "#00ff00"
    },
    {
      "id": "status_456",
      "name": "Inactive",
      "color": "#ff0000"
    }
  ],
  "tiers": [
    {
      "id": "tier_123",
      "name": "Enterprise"
    },
    {
      "id": "tier_456",
      "name": "Pro"
    }
  ]
}

Example Response (Linear Not Connected)

{
  "statuses": null,
  "tiers": null
}

Authorizations

Authorization
string
header
required

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

Response

Successful response

statuses
object[] | null
required
tiers
object[] | null
required