companiesAdd
Create a new company.
Side effects: emits a company.created activity event.
Auth · x-app-token · required permission companiesAdd
Related: companies, companiesEdit, Company
companiesAdd(avatar: String, primaryName: String, names: [String], primaryPhone: String, phones: [String], primaryEmail: String, emails: [String], primaryAddress: JSON, addresses: [JSON], size: Int, website: String, industry: String, parentCompanyId: String, email: String, ownerId: String, businessType: String, description: String, isSubscribed: String, links: JSON, tagIds: [String], customFieldsData: JSON, code: String, location: String): CompanyArguments
Logo/avatar image URL.
Main display name.
Additional known names.
Main phone number, used for identity matching.
Additional known phone numbers.
Main email address, used for identity matching.
Additional known email addresses.
Primary address as free-form JSON.
Additional addresses as free-form JSON.
Approximate headcount.
Company website URL.
Industry classification (free text).
Id of the parent Company in a hierarchy, if any.
Legacy single email field.
Prefer primaryEmail / emails — kept for backward compatibility only.
Id of the User to assign as owner.
Business type classification (free text).
Free-form notes.
Marketing consent flag, e.g. "Yes" / "No".
Social/external profile links as free-form JSON.
Ids of Tag records to attach at creation.
Custom field values as an array of { field, value } entries.
Optional short human-friendly identifier.
Free-text location label.
Returns
When this record was created.
When this record was last updated.
Logo/avatar image URL.
Approximate headcount.
Company website URL.
Industry classification (free text).
Subscription plan label for this account, if tracked.
Id of the parent Company in a hierarchy, if any.
Id of the User assigned as owner of this company.
Ids of companies previously absorbed into this one via companiesMerge.
All known names for this company.
Main display name.
All known email addresses.
Main email address, used for identity matching.
All known phone numbers.
Main phone number, used for identity matching.
Primary mailing address as free-form JSON.
All known addresses as free-form JSON.
Business type classification (free text).
Free-form notes about this company.
Subscription/marketing consent flag, e.g. "Yes" / "No".
Social/external profile links as free-form JSON.
Custom field values as an array of { field, value } entries.
Custom field values keyed by field code instead of field id.
Short human-friendly identifier. Accepted anywhere _id is accepted on lookups such as companyDetail.
Free-text location label.
Engagement/lead score, when scoring is enabled for this workspace.