Skip to main content
The create-company endpoint classifies a company by NAICS. There are two fields for it: the precise industry label (recommended) and the legacy naicsCode (deprecated). Each industry value maps to a single classification, so it’s the precise way to set what a company is filed as.
naicsCode is deprecated. It keeps working through 2026-09-21 (a 90-day window) so existing integrations are unaffected, then it will be removed. Migrate to industry before then.

Source the value from the reference list

Read the catalogue with List NAICS codes and use the industry field of the entry you want. Treat it as the source of truth rather than hard-coding labels.
Send the chosen industry verbatim on create:

Precedence

When both fields are present, doola classifies from industry and ignores naicsCode (it isn’t validated). This makes migration painless: you can keep sending your existing naicsCode alongside an industry during the switch. If you send an industry, it must be a valid one — doola uses it as the classification and does not substitute naicsCode.
“valid” means the value exists in List NAICS codes — an industry matching an entry’s industry, or a naicsCode matching an entry’s naicsCode. Blank strings count as absent.

The response echoes both

A successful create returns both the resolved naicsCode and industry, so you can confirm the classification that was persisted.

Validation errors

These are field-level entries inside the standard validation envelope: the top-level error.code is E_VALIDATION_FAILED, and the detail is under error.fields. Branch on error.fields.<field>.code.

Migrating off naicsCode

  1. Call List NAICS codes and map each naicsCode you send to the industry of the entry you want.
  2. Switch the create payload from naicsCode to industry. Nothing else changes.
  3. Drop naicsCode from the payload before 2026-09-21.