Skip to main content
Companies

Get company by ID

Retrieves a single company by its Featurebase ID.

GET
/v2/companies/{id}

Path Parameters

  • id - The Featurebase internal ID of the company (MongoDB ObjectId)

Response

Returns a company object with:

  • id - Featurebase internal ID
  • companyId - External company ID from your system
  • name - Company name
  • monthlySpend - Monthly spend/revenue
  • industry - Industry
  • website - Company website URL
  • plan - Plan/tier name
  • linkedUsers - Number of users linked to this company
  • companySize - Employee headcount
  • lastActivity - Last activity timestamp
  • customFields - Custom field values
  • createdAt - Creation timestamp
  • updatedAt - Last update timestamp

Example Response

{
  "object": "company",
  "id": "507f1f77bcf86cd799439011",
  "companyId": "comp_12345",
  "name": "Acme Inc",
  "monthlySpend": 5000,
  "industry": "Technology",
  "website": "https://acme.com",
  "plan": "enterprise",
  "linkedUsers": 15,
  "companySize": 250,
  "lastActivity": "2025-01-15T00:00:00.000Z",
  "customFields": { "location": "Europe" },
  "createdAt": "2025-01-01T12:00:00.000Z",
  "updatedAt": "2025-01-10T15:30:00.000Z"
}

Error Responses

  • 404 Not Found - Company with the specified ID does not exist

Version Availability

This endpoint is only available in API version 2026-01-01.nova and newer.

Authorizationstringheaderrequired

API key as Bearer token. Use: Authorization: Bearer sk_...

idstringrequired

The Featurebase internal ID of the company (MongoDB ObjectId)

Example: 507f1f77bcf86cd799439011
Featurebase-Versionenum<string>header

API version for this request. Defaults to your organization's configured API version if not specified.

Available options: 2026-08-19.orbit, 2026-01-01.nova, 2025-12-12.clover
Example: 2026-08-19.orbit

Response

application/json

Success

companyIdstringrequired

External company ID from your system

Example: comp_12345
companySizenumber | nullrequired

Company employee headcount

Example: 250
createdAtstring | nullrequired

ISO date when company was created

Example: 2025-01-01T12:00:00.000Z
customFieldsobject

Custom field values

idstringrequired

Featurebase internal ID

Example: 507f1f77bcf86cd799439011
industrystring | nullrequired

Industry

Example: Technology
lastActivitystring | nullrequired

ISO date of last activity

Example: 2025-01-15T00:00:00.000Z
linkedUsersnumber | nullrequired

Number of users linked to this company

Example: 15
monthlySpendnumber | nullrequired

Monthly spend

Example: 5000
namestringrequired

Company name

Example: Acme Inc
objectenum<string>required

Object type identifier

Available options: company
Example: company
planstring | nullrequired

Plan or tier name

Example: enterprise
updatedAtstring | nullrequired

ISO date when company was last updated

Example: 2025-01-10T15:30:00.000Z
websitestring | nullrequired

Company website URL

Example: https://acme.com