Skip to main content

Company

Stored in the companies collection. createdAt and updatedAt are maintained automatically.

Returned by GET /company.

Example​

One real Company as returned by GET /company. Recorded from a live response, so the defaults, denormalised snapshots and populated fields are the actual ones:

{
"contactNumber": {
"countryCode": "+91",
"number": "9000000001"
},
"metaData": {
"customFields": [
{
"_id": "6a95738c859eafb47bf22838",
"name": "Budget range"
}
],
"customSections": [],
"systemFields": [],
"systemSections": []
},
"_id": "6a9572df859eafb47bf225d7",
"name": "Docs Test Co",
"profileImage": null,
"memberCount": 1,
"aiLeadCount": 0,
"domain": "",
"aboutUs": "",
"aiOnboardingRuns": [],
"createdAt": "2026-08-31T12:26:07.675Z",
"updatedAt": "2026-08-31T12:29:00.249Z",
"__v": 1,
"leadCount": 3,
"contactCount": 3,
"productServiceCount": 1,
"enrichmentCount": 0,
"campaignCount": 0,
"workflowCount": 1,
"aiLeadsCount": 0,
"chatWidgetCount": 0,
"manualChatbotCount": 0,
"aiCrmChatCount": 0,
"aiCrmMessageCount": 0,
"allFeatures": [
{
"_id": "6a92bda6ebbc3b463dbbec83",
"name": "Contact",
"status": "active"
},
{
"_id": "6a92bda6ebbc3b463dbbec84",
"name": "Lead",
"status": "active"
},
"…and 19 more"
]
}

:::note Trimmed for reading A populated reference is shown by the fields that identify it rather than in full — it arrives as the entire referenced document. Long arrays are cut to the first two entries and marked, long strings are truncated, and any field that could carry a credential is dropped rather than masked. :::

Fields​

FieldTypeNotes
namestringrequired
emailstringrequired · never returned (select: false)
taxIdstring
contactNumber.countryCodestringrequired
contactNumber.numberstringrequired
addressstring
countrystring
statestring
citystring
postalCodestring
profileImageObjectId -> Filedefault null
memberCountnumberdefault 0
aiLeadCountnumberdefault 0
domainstringdefault ""
aboutUsstringdefault ""
aiOnboardingRunsObjectId[] -> AIOnboardingdefault []
metaData.systemFieldsobject[]default []
metaData.systemFields._idstringrequired
metaData.systemFields.namestring
metaData.systemFields.panelstringdefault contact · one of contact, lead, productService
metaData.systemFields.sectionstring
metaData.systemFields.ordernumber
metaData.systemFields.hidebooleandefault false
metaData.systemFields.valueTypestring
metaData.systemFields.fieldTypestring
metaData.systemFields.optionsobject[]default []
metaData.systemFields.options.labelstring
metaData.systemFields.options.descriptionstring
metaData.systemFields.options.valuestring
metaData.systemFields.requiredbooleandefault false
metaData.systemFields.placeholderstring
metaData.systemFields.helperstring
metaData.systemFields.defaultValueany
metaData.systemSectionsobject[]default []
metaData.systemSections._idstringrequired
metaData.systemSections.namestring
metaData.systemSections.descriptionstring
metaData.systemSections.panelstringdefault contact · one of contact, lead, productService
metaData.systemSections.ordernumber
metaData.systemSections.hidebooleandefault false
metaData.customFieldsmixed[]default []
metaData.customSectionsmixed[]default []
_idObjectId
createdAtdateset once
updatedAtdate