cURL
curl --request GET \ --url https://productlane.com/api/v1/companies/{id} \ --header 'Authorization: Bearer <token>'
{ "company": { "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>" }, "upvotes": "<unknown>", "pastUpvotes": "<unknown>", "pastProjects": "<unknown>" }
Get a company by id. Authentication is required.
GET /api/v1/companies/comp_123456789?groupUpvotes=true
{ "id": "comp_123456789", "name": "Acme Corp", "domains": ["acme.com", "acme.io"], "externalIds": ["ACME-001"], "autoAdd": true, "size": 50, "revenue": 1000000, "tierId": "tier_123", "statusId": "status_456", "createdAt": "2024-01-15T10:30:00Z", "updatedAt": "2024-01-15T10:30:00Z", "workspaceId": "ws_123456789", "contacts": [ { "id": "contact_123", "name": "John Doe", "email": "john@acme.com" } ], "upvotes": 15 }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful response
Show child attributes