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).

Minimum string length: 1
Example:

"DE"

nameOptions
object[]
required

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

industry
string
required

Unique NAICS industry label (the industry value from GET /v1/partner/references/naics-codes), sent verbatim.

Minimum string length: 1
Example:

"Custom Computer Programming Services"

description
string
required

Short description of what the business does.

Required string length: 1 - 50
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"

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.

services
object[]

Services to create the company with. Formation is required; RegisteredAgent is always included with it; EinCreation is optional and takes a variant (Standard by default, or Expedite). AiCofounder comes with every company and cannot be ordered. Each service may appear once. Omit to get Formation, Registered Agent and EIN, as before. Cannot be combined with requestedServices. An invalid order is rejected with E_SERVICE_SELECTION_INVALID.

requestedServices
object[]
deprecated

DEPRECATED: use services instead. Optional per-service variant overrides. Only the EIN service is configurable: include { "service": "EinCreation", "variant": "Expedite" } to request expedited EIN. Available when the responsible party supplies no valid SSN; a responsible party with an ITIN is eligible, and another owner's SSN does not change it. SSNs are checked for format, not issuance. Omit for standard processing. Cannot be combined with services.

Response

201 - application/json

Created