OpenAccount API

Machine-readable spec: /openapi.json. Agent guide: /AGENTS.md.

MethodPathWhat it doesAuth
GET/api/healthLiveness and database checkno
GET/api/revisionDeployed git revisionno
POST/api/v1/auth/registerCreate a person with email + passwordno
POST/api/v1/auth/loginSign in with email + passwordno
POST/api/v1/auth/logoutRevoke the current sessionyes
GET/api/v1/meCurrent person, sign-in methods and businessesyes
POST/api/v1/businessesCreate a business or agency (caller becomes owner)yes
GET/api/v1/businessesBusinesses the caller belongs to or manages via an agencyyes
GET/api/v1/businesses/{id}Business detail and the caller's effective accessyes
GET/api/v1/businesses/{id}/membersList membersyes
PATCH/api/v1/businesses/{id}/members/{personId}Change a member role (last owner protected)yes
DELETE/api/v1/businesses/{id}/members/{personId}Remove a member or leaveyes
POST/api/v1/businesses/{id}/invitationsInvite by email or E.164 phone; returns a one-time share linkyes
GET/api/v1/businesses/{id}/invitationsList invitationsyes
DELETE/api/v1/businesses/{id}/invitations/{invitationId}Revoke a pending invitationyes
POST/api/v1/invitations/acceptAccept an invitation (recipient must be verified)yes
GET/api/v1/businesses/{id}/activityAppend-only activity log, newest firstyes
POST/api/v1/auth/passkeys/register/optionsStart adding a passkey to the signed-in personyes
POST/api/v1/auth/passkeys/register/verifyFinish adding a passkey (WebAuthn attestation)yes
GET/api/v1/auth/passkeysList the caller's passkeysyes
DELETE/api/v1/auth/passkeys/{credentialId}Remove a passkey (the last sign-in method is kept)yes
POST/api/v1/auth/passkeys/login/optionsStart a passkey sign-inno
POST/api/v1/auth/passkeys/login/verifyFinish a passkey sign-in (WebAuthn assertion)no
POST/api/v1/auth/apple/nonceSingle-use nonce for native Sign in with Appleno
POST/api/v1/auth/appleSign in with Apple identity token (iOS app)no
DELETE/api/v1/meDelete the caller's account (fresh sign-in; sole owners must transfer or close first)yes
GET/api/v1/integrationsApps OpenAccount can connect and their readinessno
GET/api/v1/businesses/{id}/connectionsConnected apps and their stateyes
POST/api/v1/businesses/{id}/connectionsConnect an app (409 integration_unavailable until its adapter is live)yes
PATCH/api/v1/businesses/{id}/connections/{connectionId}Pause, resume (needs sign-in again) or disconnectyes
POST/api/v1/businesses/{id}/agency-invitationsInvite an agency with a Read, Prepare or Run preset; returns a one-time linkyes
GET/api/v1/businesses/{id}/agency-invitationsList agency invitationsyes
DELETE/api/v1/businesses/{id}/agency-invitations/{invitationId}Revoke a pending agency invitationyes
POST/api/v1/agency-invitations/acceptAccept an agency invitation for one of your agencies (plan limits apply)yes
PATCH/api/v1/businesses/{id}/agencies/{relationshipId}Pause, resume or remove an agency (agency-owned connections pause)yes
GET/api/v1/businesses/{id}/teamPeople, agencies, clients and agents of a businessyes
GET/api/v1/businesses/{id}/usageBudgets and job counts for a month (?period=YYYY-MM)yes
GET/api/v1/businesses/{id}/planEffective plan, limits and checkout availabilityyes
POST/api/v1/businesses/{id}/plan/checkoutStart a paid plan (503 billing_unavailable until a provider is live)yes
GET/api/v1/businesses/{id}/handover-reportOwnership, access, connections and open work, without credentialsyes
POST/api/v1/businesses/{id}/closeClose a business: ends agency access and disconnects appsyes
GET/api/v1/admin/overviewAggregate counts for internal operators onlyyes
GET/api/v1/businesses/{id}/blueprintsAgency onboarding templates (?status=active|archived); no personal data or credentialsyes
POST/api/v1/businesses/{id}/blueprintsCreate a versioned onboarding template (agency owners/admins)yes
GET/api/v1/businesses/{id}/blueprints/{bid}A template with its versionsyes
POST/api/v1/businesses/{id}/blueprints/{bid}/versionsAdd a new version; earlier approvals are never widenedyes
POST/api/v1/businesses/{id}/blueprints/{bid}/cloneClone a templateyes
POST/api/v1/businesses/{id}/blueprints/{bid}/archiveArchive a templateyes
POST/api/v1/businesses/{id}/blueprints/{bid}/unarchiveRestore an archived templateyes
POST/api/v1/blueprints/validateValidate template content without saving ityes
POST/api/v1/businesses/{id}/onboarding/planTurn an intent into a typed plan from your templates (deterministic, no model call)yes
POST/api/v1/businesses/{id}/blueprints/{bid}/previewPermission diff for one client: added, unchanged, narrowed, removed, unavailableyes
POST/api/v1/businesses/{id}/onboarding-runsStart an idempotent onboarding run for one clientyes
GET/api/v1/businesses/{id}/onboarding-runsOnboarding runs (?side=agency|client)yes
GET/api/v1/businesses/{id}/onboarding-metricsOnboarding counts and durationsyes
GET/api/v1/onboarding-runs/{rid}A run with its steps, diff and blockersyes
POST/api/v1/onboarding-runs/{rid}/bindingsBind client resources to template slotsyes
POST/api/v1/onboarding-runs/{rid}/approveClient owner/admin approves this exact diff (covers only this client)yes
POST/api/v1/onboarding-runs/{rid}/advanceAdvance a run; finished steps are never repeatedyes
POST/api/v1/onboarding-runs/{rid}/pausePause a runyes
POST/api/v1/onboarding-runs/{rid}/resumeResume a paused runyes
POST/api/v1/onboarding-runs/{rid}/cancelCancel a runyes
GET/api/v1/businesses/{id}/healthAccess health; sources that can't be checked are reported as cant_check, never okyes
GET/api/v1/accounts/healthNeeds-attention summary for every account the caller can seeyes
POST/api/v1/businesses/{id}/repairsDry-run a narrowing repair; returns a revision that expiresyes
POST/api/v1/repairs/{pid}/applyApply a previewed repair (recent sign-in required; 409 if the state changed)yes
POST/api/v1/repairs/{pid}/discardDiscard a previewed repairyes
GET/api/v1/businesses/{id}/reportsMonthly client reports (?period=YYYY-MM)yes
POST/api/v1/businesses/{id}/reportsGenerate a monthly report (idempotent per period and facts)yes
GET/api/v1/reports/{rid}A report: final, reserved, estimated and refunded kept apart, exact minor unitsyes
GET/api/v1/reports/{rid}/csvReport as CSV with source and freshness per figureyes
GET/api/v1/reports/{rid}/htmlReport as printable HTMLyes
GET/api/v1/businesses/{id}/report-scheduleMonthly report schedule and recipientsyes
PUT/api/v1/businesses/{id}/report-scheduleSet recipients (current members only; removed people get nothing)yes
GET/api/v1/me/reportsReports delivered to the caller in the appyes
POST/api/v1/businesses/{id}/assistantAsk about one business; answers cite only records you can see (deterministic)yes
POST/mcpMCP (Streamable HTTP, JSON-RPC 2.0), read-only tools, bearer tokenyes