cURL
curl --request GET \ --url https://productlane.com/api/v1/companies/{id} \ --header 'Authorization: Bearer <token>'
{ "id": "<string>", "name": "<string>", "domains": [ "<string>" ], "externalIds": [ "<string>" ], "autoAdd": true, "size": 123, "revenue": 123, "tierId": "<string>", "statusId": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "workspaceId": "<string>", "contacts": [ { "id": "<string>", "name": "<string>", "email": "<string>" } ], "upvotes": 123 }
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