Doola Required Actions API

Actions doola needs you to take on a company, such as supplying new name options after a state rejection.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 4

POST /v1/partner/companies/{companyId}/required-actions/{requiredActionId}/resolution Resolve a required action #
GET /v1/partner/required-actions List open required actions across your companies #
GET /v1/partner/companies/{companyId}/required-actions List a company's required actions #
GET /v1/partner/companies/{companyId}/required-actions/{requiredActionId} Retrieve a required action #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/doola:doola-required-actions-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

doola-required-actions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: doola Partner Required Actions API
  description: 'REST API for doola partners to create and manage customers and companies, retrieve formation documents, and look up reference data.


    Authenticate every request with a partner API key in the `Authorization` header. Generate keys and manage your webhook endpoint in the doola Partner Portal.'
  contact:
    name: doola
    url: https://www.doola.com
  version: v1
servers:
- url: https://api.test.doola.com
  description: Sandbox — use test keys (dk_test_…)
- url: https://api.doola.com
  description: Production — use live keys (dk_live_…)
security:
- PartnerApiKey: []
tags:
- name: Required Actions
  description: Actions doola needs you to take on a company, such as supplying new name options after a state rejection.
paths:
  /v1/partner/companies/{companyId}/required-actions/{requiredActionId}/resolution:
    post:
      tags:
      - Required Actions
      summary: Resolve a required action
      description: Submit what doola asked for. Name options move to `submitted` while doola refiles with the state. A founder address resolves the action at once, and the formation continues. You will receive further webhooks if anything else is needed. Actions resolved by another flow, such as an SS4 re-signature, are not accepted here. For IMPORT_INFO_REQUIRED, send importCorrections with exactly the fields the action lists in requestedFieldIds, and documentIds of documents you uploaded to the company first, covering every type in requestedDocumentTypes. The corrections are applied to the company and the action resolves at once.
      operationId: submitRequiredActionResolution
      parameters:
      - name: companyId
        in: path
        description: doola company ID (KSUID).
        required: true
        schema:
          type: string
      - name: requiredActionId
        in: path
        description: Required action ID (KSUID).
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SubmitRequiredActionResolutionRequest'
            examples:
              Name options:
                description: Name options
                value:
                  actionCode: FORMATION_NAME_OPTIONS_EXHAUSTED
                  nameOptions:
                  - name: Acme Holdings
                    entityTypeEnding: LLC
                  - name: Acme Ventures
                    entityTypeEnding: LLC
              Import corrections:
                description: Import corrections
                value:
                  actionCode: IMPORT_INFO_REQUIRED
                  importCorrections:
                    ein: 99-7654321
                    addresses:
                    - provider: customer
                      type: business
                      address:
                        line1: 1 Main St
                        city: Cheyenne
                        state: WY
                        postalCode: '82001'
                        country: USA
                    - provider: customer
                      type: mailing
                      address:
                        line1: 1 Main St
                        city: Cheyenne
                        state: WY
                        postalCode: '82001'
                        country: USA
                  documentIds:
                  - 2qZ8vJqZ1lQwErTyUiOpAsDfGhJ
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/PartnerRequiredActionDto'
      x-mint:
        metadata:
          description: Submits what doola asked for, such as new company names, a founder address, import corrections or corrected annual report details, so work can continue.
  /v1/partner/required-actions:
    get:
      tags:
      - Required Actions
      summary: List open required actions across your companies
      description: Every open required action across all of your companies, most recently changed first. Closed actions are excluded — use the per-company listing to reconcile those. `total` carries the tenant-wide open count whatever the page size. Histories are omitted; read a single action for those.
      operationId: listOpenRequiredActions
      parameters:
      - name: page
        in: query
        description: Zero-based page index.
        required: false
        schema:
          type: integer
          format: int32
          default: 0
          minimum: 0
      - name: size
        in: query
        description: Page size (max 100).
        required: false
        schema:
          type: integer
          format: int32
          default: 20
          minimum: 1
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/PartnerSearchPagePartnerRequiredActionDto'
      x-mint:
        metadata:
          description: Lists every open required action across all your companies, most recently changed first, with the tenant-wide open count.
  /v1/partner/companies/{companyId}/required-actions:
    get:
      tags:
      - Required Actions
      summary: List a company's required actions
      description: Every required action for the company, most recently changed first, including ones already resolved or rejected. Use this to reconcile after missing webhooks. Histories are omitted here; read a single action for those.
      operationId: listRequiredActions
      parameters:
      - name: companyId
        in: path
        description: doola company ID (KSUID).
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PartnerRequiredActionDto'
      x-mint:
        metadata:
          description: Lists every required action for a company, most recently changed first, including resolved and rejected ones, to reconcile after missed webhooks.
  /v1/partner/companies/{companyId}/required-actions/{requiredActionId}:
    get:
      tags:
      - Required Actions
      summary: Retrieve a required action
      description: One required action with its full history, so you can see when it was raised, whether doola reached your endpoint, and how many rounds it has taken.
      operationId: getRequiredAction
      parameters:
      - name: companyId
        in: path
        description: doola company ID (KSUID).
        required: true
        schema:
          type: string
      - name: requiredActionId
        in: path
        description: Required action ID (KSUID).
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/PartnerRequiredActionDto'
      x-mint:
        metadata:
          description: 'Returns one required action with its full history: when it was raised, whether doola reached your endpoint and how many rounds it has taken.'
components:
  schemas:
    PartnerAnnualReportCompanyDetailsDto:
      type: object
      description: Corrections to the company details doola already holds.
      properties:
        companyName:
          type:
          - string
          - 'null'
          description: Company name as it should appear on the report.
        address:
          anyOf:
          - $ref: '#/components/schemas/PartnerAddressDto'
          - type: 'null'
          description: Business address.
        mailingAddress:
          anyOf:
          - $ref: '#/components/schemas/PartnerAddressDto'
          - type: 'null'
          description: Mailing address.
        physicalAddress:
          anyOf:
          - $ref: '#/components/schemas/PartnerAddressDto'
          - type: 'null'
          description: Physical address. Required for a Delaware C-corp, which doola does not hold one for.
        phoneNumber:
          type:
          - string
          - 'null'
          description: Phone number. Required for a Delaware C-corp, which doola does not hold one for.
          example: '+13075550100'
        authorizedShares:
          type:
          - number
          - 'null'
          description: Authorized shares. A whole number.
          example: 10000000
        issuedShares:
          type:
          - number
          - 'null'
          description: Issued shares. A whole number.
          example: 2500000
        perValuedShares:
          type:
          - number
          - 'null'
          description: Par value per share, in USD.
          example: 0.0001
    PartnerCCorpExecMemberDto:
      type: object
      description: A C-Corp executive member — an officer or director.
      properties:
        id:
          type: string
          description: Server-assigned ID, ignored on create and import. In the importCorrections of an IMPORT_INFO_REQUIRED resolution, send it back to keep this person and their stored SSN.
        type:
          type: string
          description: Executive role. The list must include at least one of each role; President, Secretary, and Treasurer may each appear only once, while Director may repeat.
          enum:
          - President
          - Secretary
          - Treasurer
          - Director
          example: President
        legalFirstName:
          type: string
          description: Legal first name.
          example: Ada
        legalLastName:
          type: string
          description: Legal last name.
          example: Lovelace
        ssn:
          type: string
          description: 'Social Security Number or ITIN. Optional. Input: nine ASCII digits or XXX-XX-XXXX. Handled as sensitive data.'
        address:
          $ref: '#/components/schemas/PartnerAddressDto'
          description: Executive member's address.
      required:
      - address
      - legalFirstName
      - legalLastName
      - type
    PartnerImportCorrectionsDto:
      type: object
      description: 'Corrections to an imported company, for IMPORT_INFO_REQUIRED. Send exactly the fields the action lists in requestedFieldIds, each following the same rules as on the import. The legalName field is sent as nameOptions with one entry. A blank text value counts as not sent, so a requested field sent blank is refused as missing. Lists replace what doola holds: a person left out is removed. Send each person you keep with the id the company returned; their SSN can then be sent back masked, as the company returned it, or left out to keep the one doola holds. A person without an id is new.'
      properties:
        nameOptions:
          type:
          - array
          - 'null'
          description: 'For legalName: the legal name as filed with the state, as exactly one name option with an ending that belongs to the company''s entity type.'
          items:
            $ref: '#/components/schemas/PartnerCompanyNameOptionDto'
        state:
          type:
          - string
          - 'null'
          description: US state of formation (two-letter abbreviation). Moving the company to another state is refused when a company there already holds its state filing number.
          example: WY
        formationFilingNumber:
          type:
          - string
          - 'null'
          description: Filing number the state assigned when it formed the company.
          example: 2023-001234567
          maxLength: 255
          minLength: 0
        formationFilingDate:
          type:
          - string
          - 'null'
          format: date
          description: Date the state formed the company. Cannot be in the future.
          example: '2023-04-12'
        ein:
          type:
          - string
          - 'null'
          description: Employer Identification Number. Adding one to a company that had none needs an EinLetter among documentIds.
          example: 99-1234567
          pattern: ^[0-9]{2}-[0-9]{7}$
        addresses:
          type:
          - array
          - 'null'
          description: The company's `business` and `mailing` addresses, exactly one of each, both with `provider` set to `customer`.
          items:
            $ref: '#/components/schemas/PartnerCompanyAddressDto'
        responsibleParty:
          anyOf:
          - $ref: '#/components/schemas/PartnerResponsiblePartyDto'
          - type: 'null'
          description: The person legally responsible for the company.
        members:
          type:
          - array
          - 'null'
          description: LLC members with their ownership percentages, which must total 100.
          items:
            $ref: '#/components/schemas/PartnerCompanyMemberDto'
        managers:
          type:
          - array
          - 'null'
          description: 'Managers of a manager-managed LLC, sent with managementType: at least one for MANAGER_MANAGED, an empty list for MEMBER_MANAGED.'
          items:
            $ref: '#/components/schemas/PartnerCompanyManagerDto'
        managementType:
          type:
          - string
          - 'null'
          description: Who runs the LLC, sent with managers.
          enum:
          - MEMBER_MANAGED
          - MANAGER_MANAGED
          - null
          example: MANAGER_MANAGED
        executiveMembers:
          type:
          - array
          - 'null'
          description: 'C-Corp officers and directors: at least one President, Secretary, Treasurer, and Director.'
          items:
            $ref: '#/components/schemas/PartnerCCorpExecMemberDto'
        ccorpValuation:
          anyOf:
          - $ref: '#/components/schemas/PartnerCcorpValuationDto'
          - type: 'null'
          description: C-Corp authorized shares and par value.
        industry:
          type:
          - string
          - 'null'
          description: Unique NAICS industry label (the `industry` value from GET /v1/partner/references/naics-codes).
          example: Custom Computer Programming Services
        description:
          type:
          - string
          - 'null'
          description: Short description of what the business does.
          maxLength: 50
        registeredAgent:
          anyOf:
          - $ref: '#/components/schemas/PartnerRegisteredAgentDto'
          - type: 'null'
          description: The registered agent the company has today.
    PartnerCompanyMemberDto:
      type: object
      description: A company member/owner. Ownership across all members must total 100.
      properties:
        id:
          type: string
          description: Server-assigned ID, ignored on create and import. In the importCorrections of an IMPORT_INFO_REQUIRED resolution, send it back to keep this person and their stored SSN.
        legalFirstName:
          type: string
          description: Legal first name (natural persons).
          example: Ada
        legalLastName:
          type: string
          description: Legal last name (natural persons).
          example: Lovelace
        contactFullName:
          type: string
          description: Full contact name (entities or where a single name is used).
          example: Acme Holdings LLC
        isNaturalPerson:
          type: boolean
          description: True if the member is a person, false if it is another entity.
          example: true
        address:
          $ref: '#/components/schemas/PartnerAddressDto'
          description: Member's address.
        ownershipPercent:
          type: number
          description: Ownership percentage (0–100).
          example: 100
        ssn:
          type: string
          description: 'Social Security Number or ITIN. Optional. Input: nine ASCII digits or XXX-XX-XXXX. Handled as sensitive data.'
      required:
      - address
      - isNaturalPerson
      - ownershipPercent
    PartnerCompanyAddressDto:
      type: object
      description: A company address of a given type.
      properties:
        provider:
          type: string
          description: Who provides this address. Use `customer` to supply the address yourself in the `address` field. Use `registeredAgent` to have doola fill in its Registered Agent address for the company's state; leave `address` out, as it is not used for a registered-agent entry.
          enum:
          - customer
          - registeredAgent
          example: registeredAgent
        type:
          type: string
          description: Which address this is. Send exactly one `mailing` entry and one `business` entry.
          enum:
          - mailing
          - business
          example: business
        address:
          $ref: '#/components/schemas/PartnerAddressDto'
          description: The address itself.
      required:
      - provider
      - type
    PartnerAddressDto:
      type: object
      description: A postal address.
      properties:
        id:
          type: string
          description: Server-assigned ID.
          readOnly: true
        line1:
          type: string
          description: Street address line 1.
          example: 251 W 30th St
        line2:
          type: string
          description: Street address line 2.
          example: Ste 12E
        city:
          type: string
          description: City.
          example: New York
        state:
          type: string
          description: State or province.
          example: NY
        postalCode:
          type: string
          description: Postal or ZIP code.
          example: '10001'
        country:
          type: string
          description: ISO 3166-1 alpha-3 country code (e.g. USA).
          example: USA
        phone:
          type: string
          description: Phone number in E.164 format. Required for a person's address (the responsible party, a member, or an executive member); optional for a company `mailing` or `business` address.
          example: '+12125550100'
      required:
      - city
      - country
      - line1
      - postalCode
      - state
    SubmitRequiredActionResolutionRequest:
      type: object
      description: Resolution payload for a required action
      properties:
        actionCode:
          type: string
          description: The code of the required action being resolved
          enum:
          - FORMATION_NAME_OPTIONS_EXHAUSTED
          - FORMATION_FOUNDER_ADDRESS_REQUIRED
          - ANNUAL_REPORT_ADDRESS_NOT_ACCEPTED
          - ANNUAL_REPORT_SHARE_VALUE_TOO_HIGH
          - IMPORT_INFO_REQUIRED
          example: FORMATION_NAME_OPTIONS_EXHAUSTED
        nameOptions:
          type: array
          description: Replacement company names, in preference order, one to three entries. Required when actionCode is FORMATION_NAME_OPTIONS_EXHAUSTED.
          items:
            $ref: '#/components/schemas/PartnerCompanyNameOptionDto'
        addresses:
          type: array
          description: 'The founder''s own US address, as exactly one `business` and one `mailing` entry, both with `provider: customer` and `country: USA` (exactly that value). Required when actionCode is FORMATION_FOUNDER_ADDRESS_REQUIRED.'
          items:
            $ref: '#/components/schemas/PartnerCompanyAddressDto'
        companyDetails:
          $ref: '#/components/schemas/PartnerAnnualReportCompanyDetailsDto'
          description: The corrected company details. Required when actionCode is ANNUAL_REPORT_ADDRESS_NOT_ACCEPTED or ANNUAL_REPORT_SHARE_VALUE_TOO_HIGH. Send the fields the action's requestedFieldIds names and nothing else; any other field is refused. A named field you leave out keeps the value doola holds.
        importCorrections:
          $ref: '#/components/schemas/PartnerImportCorrectionsDto'
          description: 'For IMPORT_INFO_REQUIRED: the corrected company fields. Send exactly the fields the action lists in requestedFieldIds; a missing or extra field is refused. legalName is sent as nameOptions with one entry.'
        documentIds:
          type: array
          description: 'For IMPORT_INFO_REQUIRED: ids of documents you uploaded to this company with POST /v1/partner/companies/{companyId}/documents before answering. Each must belong to the company, and together they must cover every type the action lists in requestedDocumentTypes. Adding an EIN to a company that had none also needs an EinLetter.'
          items:
            type: string
            minLength: 1
          maxItems: 10
          minItems: 0
      required:
      - actionCode
    PartnerCompanyManagerDto:
      type: object
      description: 'A manager of a manager-managed LLC: a person who runs the company.'
      properties:
        id:
          type: string
          description: Server-assigned ID, ignored on create and import. In the importCorrections of an IMPORT_INFO_REQUIRED resolution, send it back to keep this person and their stored SSN.
        legalFirstName:
          type: string
          description: Manager's legal first name.
          example: Grace
        legalLastName:
          type: string
          description: Manager's legal last name.
          example: Hopper
        ssn:
          type: string
          description: 'Manager''s Social Security Number or ITIN. Optional. Input: nine ASCII digits or XXX-XX-XXXX. Handled as sensitive data.'
        email:
          type: string
          description: Manager's contact email.
          example: grace@example.com
        address:
          $ref: '#/components/schemas/PartnerAddressDto'
          description: Manager's address. When sent, a phone number is required.
      required:
      - email
      - legalFirstName
      - legalLastName
    PartnerRequiredActionEventDto:
      type: object
      description: A single step in a required action's history
      properties:
        status:
          type: string
          description: Status this step set
          enum:
          - created
          - delivered
          - delivery_failed
          - submitted
          - rejected
          - resolved
          example: delivered
        submittedPayload:
          $ref: '#/components/schemas/SubmittedResolutionPayload'
          description: The resolution exactly as you submitted it. Present on submitted steps only; a historical record of that step, not the company's current state.
        createdAt:
          type: string
          format: date-time
          description: When this step happened
    PartnerCcorpValuationDto:
      type: object
      description: C-Corp share structure.
      properties:
        noOfShares:
          type: integer
          format: int32
          description: Number of authorized shares. Must be greater than 0.
          example: 10000000
        shareValue:
          type: number
          description: Par value per share, in USD. Must be greater than 0.
          example: 0.0001
      required:
      - noOfShares
      - shareValue
    SubmittedResolutionPayload:
      type: object
      description: The resolution exactly as the partner submitted it
      properties:
        actionCode:
          type: string
          example: FORMATION_NAME_OPTIONS_EXHAUSTED
        nameOptions:
          type: array
          description: The name options as sent, in the order they were sent
          items:
            $ref: '#/components/schemas/SubmittedNameOption'
        addresses:
          type: array
          description: The addresses as sent
          items:
            $ref: '#/components/schemas/SubmittedAddress'
        companyDetails:
          $ref: '#/components/schemas/SubmittedCompanyDetails'
          description: The company details as sent
        importCorrections:
          $ref: '#/components/schemas/PartnerImportCorrectionsDto'
          description: The import corrections as sent, with every SSN masked
        documentIds:
          type: array
          description: The document ids as sent
          items:
            type: string
    PartnerRequiredActionDto:
      type: object
      description: An action doola needs you to take on a company
      properties:
        requiredActionId:
          type: string
          example: 31pLdpvMh4OfO90moxLgLT8AuQr
        doolaCompanyId:
          type: string
          example: 31pLD0Tq2lm2FsgRBoHv4x3BpzZ
        actionCode:
          type: string
          description: What is needed
          enum:
          - FORMATION_NAME_OPTIONS_EXHAUSTED
          - FORMATION_SIGNATURE_SS4_RESET
          - FORMATION_SIGNATURE_FORM8821_REQUIRED
          - FORMATION_FOUNDER_ADDRESS_REQUIRED
          - ANNUAL_REPORT_ADDRESS_NOT_ACCEPTED
          - ANNUAL_REPORT_SHARE_VALUE_TOO_HIGH
          - IMPORT_DOCUMENTS_MISSING
          - IMPORT_INFO_REQUIRED
          - ITIN_PASSPORT_REUPLOAD
          - ITIN_SIGNATURE_REQUIRED
          example: FORMATION_NAME_OPTIONS_EXHAUSTED
        actionName:
          type: string
          description: Human-readable label for the action
          example: New company names needed
        status:
          type: string
          enum:
          - created
          - delivered
          - delivery_failed
          - submitted
          - rejected
          - resolved
          example: delivered
        reason:
          type: string
          description: Human-readable explanation you can surface to your user
          example: All submitted company name options were rejected by the state. Submit new options.
        requestedFieldIds:
          type: array
          description: Field ids to send back when resolving. For the annual report actions, named as GET /compliance/annual-reports/requirements names them; for IMPORT_INFO_REQUIRED, the company fields to update, named as the company resource names them. Empty when closing the action needs something other than field values.
          example:
          - address
          items:
            type: string
        requestedDocumentTypes:
          type: array
          description: Document types to upload to the company before resolving, spelled as the document upload takes them. Empty unless the action asks for documents.
          example:
          - EinLetter
          items:
            type: string
        open:
          type: boolean
        awaitingResponse:
          type: boolean
          description: True while doola is waiting for you to act on this action; false once you have submitted a resolution or the action is closed
        updatedAt:
          type: string
          format: date-time
          description: When this action last changed
        history:
          type: array
          items:
            $ref: '#/components/schemas/PartnerRequiredActionEventDto'
        itinSubmissionId:
          type: string
          description: The member's ITIN request an ITIN_* action is about. Absent for every other code.
          example: itin_2p9XmT8pQ6hJ
        documentIds:
          type: array
          description: IDs of the unsigned W-7 and 2848 to sign, on ITIN_SIGNATURE_REQUIRED only. Download each through the company documents route.
          items:
            type: string
    PartnerSearchPagePartnerRequiredActionDto:
      type: object
      properties:
        content:
          type: array
          items:
            $ref: '#/components/schemas/PartnerRequiredActionDto'
        page:
          type: integer
          format: int32
        size:
          type: integer
          format: int32
        total:
          type: integer
          format: int64
        totalPages:
          type: integer
          format: int32
    SubmittedCompanyDetails:
      type: object
      description: Company details as the partner submitted them
      properties:
        companyName:
          type: string
        address:
          $ref: '#/components/schemas/SubmittedAddress'
        mailingAddress:
          $ref: '#/components/schemas/SubmittedAddress'
        physicalAddress:
          $ref: '#/components/schemas/SubmittedAddress'
        phoneNumber:
          type: string
        authorizedShares:
          type: number
        issuedShares:
          type: number
        perValuedShares:
          type: number
    PartnerResponsiblePartyDto:
      type: object
      description: The person legally responsible for the company (used for tax filings).
      properties:
        id:
          type: string
          description: Server-assigned ID, ignored on create and import. In the importCorrections of an IMPORT_INFO_REQUIRED resolution, send it back to keep this person and their stored SSN.
        legalFirstName:
          type: string
          description: Legal first name.
          example: Ada
        legalLastName:
          type: string
          description: Legal last name.
          example: Lovelace
        ssn:
          type: string
          description: 'Social Security Number or ITIN. Optional. Input: nine ASCII digits or XXX-XX-XXXX. Handled as sensitive data.'
        email:
          type: string
          description: Contact email.
          example: ada@example.com
        address:
          $ref: '#/components/schemas/PartnerAddressDto'
          description: Responsible party's address.
      required:
      - email
      - legalFirstName
      - legalLastName
    PartnerRegisteredAgentDto:
      type: object
      description: The registered agent the company has today.
      properties:
        name:
          type: string
          description: Registered agent's name, as filed with the state.
          example: Wyoming Registered Agents LLC
        address:
          $ref: '#/components/schemas/PartnerAddressDto'
          description: The registered agent's address as filed with the state.
      required:
      - address
      - name
    SubmittedAddress:
      type: object
      description: A company address as the partner submitted it
      properties:
        provider:
          type: string
          example: customer
        type:
          type: string
          example: business
        line1:
          type: string
        line2:
          type: string
        city:
          type: string
        state:
          type: string
        postalCode:
          type: string
        country:
          type: string
        phone:
          type: string
    SubmittedNameOption:
      type: object
      description: A candidate company name as the partner submitted it
      properties:
        name:
          type: string
          example: Acme Holdings
        entityTypeEnding:
          type: string
          example: LLC
        position:
          type: integer
          format: int32
          description: Preference order, present only when the partner sent one
    PartnerCompanyNameOptionDto:
      type: object
      description: A candidate company name.
      properties:
        id:
          type: string
          description: Server-assigned ID.
          readOnly: true
        name:
          type: string
          description: Proposed company name, without the entity ending.
          example: Acme Labs
        entityTypeEnding:
          type: string
          description: Entity-type ending appended to the name.
          example: LLC
        position:
          type: integer
          format: int32
          description: Preference order, lowest first. Ignored on create, where array order sets the preference and responses return it starting at 0. On a name-options resolution, options are ordered by this value, or by array order when it is omitted.
          example: 1
      required:
      - entityTypeEnding
      - name
  securitySchemes:
    PartnerApiKey:
      type: apiKey
      description: 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.
      name: Authorization
      in: header