Doola Playground (sandbox only) API

Sandbox-only helpers to drive a test company through the Formation and EinCreation milestones end to end.

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 3

POST /v1/partner/playground/companies/{companyId}/itin/{itinSubmissionId}/stage Move an ITIN request to a later stage (sandbox) #
POST /v1/partner/playground/companies/{companyId}/formation/complete Complete formation (sandbox) #
POST /v1/partner/playground/companies/{companyId}/eincreation/complete Complete EIN creation (sandbox) #

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-playground-sandbox-only-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-playground-sandbox-only-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: doola Partner Playground (sandbox only) 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: Playground (sandbox only)
  description: Sandbox-only helpers to drive a test company through the Formation and EinCreation milestones end to end.
paths:
  /v1/partner/playground/companies/{companyId}/itin/{itinSubmissionId}/stage:
    post:
      tags:
      - Playground (sandbox only)
      summary: Move an ITIN request to a later stage (sandbox)
      description: 'Simulates doola moving a submitted ITIN request through its stages: DOCUMENT_REVIEW, PENDING_SIGNATURE, IRS_SUBMITTED, ITIN_ISSUED. Reaching ITIN_ISSUED once the ITIN is recorded fires `company_itin_issued`, as in production; `triggeredEvents` lists it only on the call that completed the issuance. A draft request is refused with E_ITIN_NOT_READY. Sandbox only.'
      operationId: moveItinStage
      parameters:
      - name: companyId
        in: path
        description: doola company ID (KSUID).
        required: true
        schema:
          type: string
      - name: itinSubmissionId
        in: path
        description: ITIN request ID.
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MovePlaygroundItinStageRequest'
        required: true
      responses:
        '200':
          description: Milestone completed. The listed webhook events fire asynchronously through the normal delivery pipeline.
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/PlaygroundActionResponse'
        '404':
          description: 'E_COMPANY_NOT_FOUND: no company with this ID for the authenticated partner.'
        '409':
          description: 'E_COMPANY_CANCELLED: the company was cancelled. Nothing changes.'
        '422':
          description: 'E_FORMATION_AWAITING_PAYMENT: the company is awaiting payment. Confirm the payment first; nothing changes.'
  /v1/partner/playground/companies/{companyId}/formation/complete:
    post:
      tags:
      - Playground (sandbox only)
      summary: Complete formation (sandbox)
      description: 'Simulates the State confirming formation: records the filing date, adds a test admin note, and uploads the Articles of Organization. Fires `company_formation_completed` and `document_aoo_uploaded`, and advances the Formation service to Completed. Processing the Articles also generates the entity type''s governance document shortly after — Corporate Bylaws for a CCorp (firing `document_corporatebylaws_uploaded`) or the Operating Agreement for an LLC (firing `document_operatingagreement_uploaded`) — as in production. A company whose formation is already completed is left unchanged and fires nothing, so a repeat call returns an empty `triggeredEvents`. Sandbox only.'
      operationId: completeFormation
      parameters:
      - name: companyId
        in: path
        description: doola company ID (KSUID).
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Milestone completed. The listed webhook events fire asynchronously through the normal delivery pipeline.
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/PlaygroundActionResponse'
        '404':
          description: 'E_COMPANY_NOT_FOUND: no company with this ID for the authenticated partner.'
        '409':
          description: 'E_COMPANY_CANCELLED: the company was cancelled. Nothing changes.'
        '422':
          description: 'E_FORMATION_AWAITING_PAYMENT: the company is awaiting payment. Confirm the payment first; nothing changes.'
      x-mint:
        metadata:
          description: 'Simulates the state confirming a formation: records the filing date, uploads the Articles and fires the formation webhooks. Sandbox only.'
  /v1/partner/playground/companies/{companyId}/eincreation/complete:
    post:
      tags:
      - Playground (sandbox only)
      summary: Complete EIN creation (sandbox)
      description: 'Simulates the IRS issuing the EIN: sets the company''s EIN and uploads the EIN letter. Fires `company_ein_issued` (first issuance only) and `document_einletter_uploaded`, and advances the EinCreation service to Completed. `triggeredEvents` reflects what this call actually fired, so a repeat call lists only `document_einletter_uploaded`. Sandbox only.'
      operationId: completeEinCreation
      parameters:
      - name: companyId
        in: path
        description: doola company ID (KSUID).
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Milestone completed. The listed webhook events fire asynchronously through the normal delivery pipeline.
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/PlaygroundActionResponse'
        '404':
          description: 'E_COMPANY_NOT_FOUND: no company with this ID for the authenticated partner.'
        '409':
          description: 'E_COMPANY_CANCELLED: the company was cancelled. Nothing changes.'
        '422':
          description: 'E_FORMATION_AWAITING_PAYMENT: the company is awaiting payment. Confirm the payment first; nothing changes.'
      x-mint:
        metadata:
          description: 'Simulates the IRS issuing an EIN: sets the company''s EIN, uploads the EIN letter and fires the matching webhooks. Sandbox only.'
components:
  schemas:
    MovePlaygroundItinStageRequest:
      type: object
      description: The stage to move a submitted ITIN request to.
      properties:
        status:
          type: string
          enum:
          - DOCUMENT_REVIEW
          - PENDING_SIGNATURE
          - IRS_SUBMITTED
          - ITIN_ISSUED
          example: ITIN_ISSUED
      required:
      - status
    PlaygroundActionResponse:
      type: object
      description: 'Acknowledges a playground milestone. Webhook delivery is asynchronous: triggeredEvents lists the events this call caused to fire, not a delivery confirmation.'
      properties:
        doolaCompanyId:
          type: string
          description: doola company ID (KSUID).
        service:
          type: string
          description: The company service the milestone advanced.
          enum:
          - Formation
          - EinCreation
          - ItinCreation
          example: Formation
        triggeredEvents:
          type: array
          description: Webhook events this call triggered. First-issuance-only events (company_ein_issued) appear only when they actually fired, so repeat calls omit them.
          example:
          - company_formation_completed
          - document_aoo_uploaded
          items:
            type: string
  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