Skip to content

REST API

The Corporation exposes a REST API for integrations, dashboards, and programmatic access to corporate operations.

https://api.thecorporation.ai/v1

All requests require a workspace API key in the Authorization header:

Terminal window
curl -H "Authorization: Bearer $CORP_API_KEY" \
https://api.thecorporation.ai/v1/entities
ResourceDescription
/v1/entitiesLegal entities (LLCs, corporations) — form, convert, dissolve
/v1/entities/:id/cap-tableEquity ownership, grants, and SAFEs
/v1/entities/:id/documentsFormation docs, contracts, tax filings
/v1/contactsPeople and organizations
/v1/obligationsHuman-required actions with urgency tiers
/v1/agentsAutonomous agents
/v1/intentsIntent creation, evaluation, and execution
/v1/receiptsImmutable, hash-bound audit trail
ResourceDescription
/v1/invoicesCreate and manage invoices
/v1/payroll/runsRun payroll cycles
/v1/paymentsACH, wire, and check payments
/v1/share-transfersTransfer shares between holders
/v1/treasury/chart-of-accountsChart of accounts and ledger
/v1/ledger/reconcileLedger reconciliation
/v1/contractors/classifyEmployee vs. contractor analysis
/v1/valuations409A valuations
ResourceDescription
/v1/governance-bodiesBoard and committee definitions
/v1/seatsBoard and committee seats
/v1/meetingsMeetings — convene, vote, resolve
/v1/deadlinesCompliance and filing deadlines
/v1/tax/filingsTax document generation

All mutating operations go through the intent system:

POST /v1/intents
{
"action": "form_entity",
"params": { "entity_name": "Acme AI LLC", "entity_type": "llc", "jurisdiction": "DE" }
}

The API evaluates policies, executes the action, and returns a hash-bound receipt.

Agents have dedicated endpoints for inbound triggers:

EndpointDescription
POST /v1/agentsCreate a new agent
POST /v1/agents/:id/messagesSend a message to an agent
POST /v1/inbound/webhook/:agent_idExternal webhook trigger
POST /v1/inbound/email/:agent_idEmail-to-agent bridge

See the Endpoints reference for the complete list.