agentlyleads docs
Companies API

The Company object

The following fields are accepted on write via POST /api/v1/companies.

FieldTypeNotes
idstringCUID, assigned on create (read-only)
namestring (required)Max 200 characters
domainstring | nullPrimary web domain, e.g. acme.com (max 200 chars)
industrystring | nullIndustry / vertical (max 200 chars)
sizestring | nullFree-form company size, e.g. employee count band (max 100 chars)
websitestring | nullFull website URL (max 500 chars)
notesstring | nullFree-form notes about the company
externalIdstring | nullYour system's ID — upsert key and dedupe handle (max 200 chars)
customFieldsobject | nullWorkspace-defined custom field values
createdAtstring (ISO 8601)Assigned on create (read-only)
updatedAtstring (ISO 8601)Updated on every write (read-only)

Example object

{
  "id": "cmq1abc2def3ghi4jkl5",
  "name": "Acme Corp",
  "domain": "acme.com",
  "industry": "Retail",
  "size": null,
  "website": null,
  "notes": null,
  "externalId": "SHOP-CO-1",
  "customFields": null,
  "createdAt": "2025-06-01T12:00:00.000Z",
  "updatedAt": "2025-06-01T12:00:00.000Z"
}

Notes on specific fields

name is the only required field. All other fields are optional on write.

externalId is the upsert key. A row with an externalId that matches an existing company in the workspace updates that company instead of creating a duplicate.

customFields are validated against the workspace's custom field definitions for the Company entity; unknown keys are dropped.

On this page