cURL
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>" }
Create a new company. Authentication required.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
1 - 255
1 - 63
[0-9a-z-]+\.(?:(?:co|or|gv|ac|com)\.)?[a-z]{2,7}$
Successful response