Skip to main content
POST
/
companies
Create company
curl --request POST \
  --url https://productlane.com/api/v1/companies \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "domains": [
    "<string>"
  ],
  "autoAdd": false,
  "externalIds": [
    "<string>"
  ],
  "size": 123,
  "revenue": 123,
  "tierId": "<string>",
  "tierName": "<string>",
  "statusId": "<string>",
  "statusName": "<string>",
  "statusColor": "<string>"
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "isDeleted": true,
  "version": 123,
  "linearCustomerId": "<string>",
  "size": 123,
  "revenue": 123,
  "statusId": "<string>",
  "statusName": "<string>",
  "statusColor": "<string>",
  "tierId": "<string>",
  "tierName": "<string>",
  "logoUrl": "<string>",
  "domains": [
    "<string>"
  ],
  "autoAdd": true,
  "workspaceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "intercomId": "<string>",
  "hubspotId": "<string>",
  "productboardId": "<string>",
  "externalIds": [
    "<string>"
  ],
  "slugId": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
name
string
required
Required string length: 1 - 255
domains
string[]
Required string length: 1 - 63
Pattern: [0-9a-z-]+\.(?:(?:co|or|gv|ac|com)\.)?[a-z]{2,7}$
autoAdd
boolean
default:false
externalIds
string[]
Required string length: 1 - 255
size
number | null
revenue
number | null
tierId
string | null
tierName
string | null
statusId
string | null
statusName
string | null
statusColor
string | null

Response

Successful response

id
string<uuid>
required
name
string
required
createdAt
string<date-time>
required
updatedAt
string<date-time>
required
isDeleted
boolean
required
version
number
required
linearCustomerId
string | null
required
size
number | null
required
revenue
number | null
required
statusId
string | null
required
statusName
string | null
required
statusColor
string | null
required
tierId
string | null
required
tierName
string | null
required
logoUrl
string | null
required
domains
string[]
required
autoAdd
boolean | null
required
workspaceId
string<uuid>
required
intercomId
string | null
required
hubspotId
string | null
required
productboardId
string | null
required
externalIds
string[]
required
slugId
string | null
required