Skip to main content
POST

Authorizations

Authorization
string
header
required

Partner API key. Send the raw key as the Authorization header value — e.g. dk_test_… in sandbox or dk_live_… in production. Generate and rotate keys in the doola Partner Portal.

Headers

Idempotency-Key
string
required

Unique key that makes the create safe to retry. Reuse the same value to retry; if the create fails before committing, the key is released, so retry with the same value.

Body

application/json

Request body to create (form) a company for one of your customers.

doolaCustomerId
string
required

doola customer ID (KSUID) that will own the company.

Minimum string length: 1
state
string
required

US state of formation (two-letter abbreviation).

Example:

"DE"

nameOptions
object[]
required

Candidate company names, in order of preference. One to three entries.

description
string
required

Short description of what the business does.

Minimum string length: 1
Example:

"Custom software development for small businesses."

responsibleParty
object
required

The person legally responsible for the company.

addresses
object[]
required

Company addresses. Exactly two entries are required: one mailing and one business. Each entry is either customer-provided or handed to doola's Registered Agent (see the provider field).

entityType
enum<string>
default:LLC

Entity type to form. Defaults to LLC when omitted. An LLC takes members; a CCorp takes executiveMembers and ccorpValuation.

Available options:
LLC,
CCorp
Example:

"LLC"

industry
string

Unique NAICS industry label (the industry value from GET /v1/partner/references/naics-codes). Preferred over naicsCode: Provide either industry or naicsCode; when both are sent, industry wins.

Example:

"Custom Computer Programming Services"

naicsCode
string
deprecated

NAICS industry code. DEPRECATED — use industry instead. When industry is also provided it takes precedence and this value is ignored; otherwise it must exist in the reference list. Supported through the 90-day deprecation window for backwards compatibility.

Example:

"541511"

members
object[]

Company members/owners. Required for an LLC (ownership percentages must total 100); omit for a CCorp.

executiveMembers
object[]

C-Corp officers and directors. Required for a CCorp; omit for an LLC. Include at least one President, Secretary, Treasurer, and Director; the President, Secretary, and Treasurer may each appear only once.

ccorpValuation
object

C-Corp share structure. Required for a CCorp; omit for an LLC.

requestedServices
object[]

Optional per-service variant overrides. Today only the EIN service is configurable: include { "service": "EinCreation", "variant": "Expedite" } to request the expedited EIN (requires a non-US applicant). Omit for standard processing.

Response

201 - application/json

Created