Administration

Provision an isolated sponsored demo workspace

Site-admin/admin-agent route. Idempotent by normalized owner email: creates one firm, three stable demo company identities, and an email-bound owner invitation shell without Stripe. The heavy three-company template build and invitation email run after the HTTP response via a background finalize step. Repeating the same email returns the existing workspace and re-queues a build when status is failed or still provisioning. Poll GET until workspace.status is ready or failed.

post/admin/demo-workspaces

Request

  • Base URL: https://ledgerhq.pro/api/v1
  • URL: https://ledgerhq.pro/api/v1/admin/demo-workspaces
  • Auth: one of:
    • HTTP bearer and API key in header x-organization-id
    • HTTP bearer and API key in header x-organization-id

Request body

ownerNamestring required
ownerEmailstring email required
templateVersionstring
sponsoredUntilstring date-time nullable
tallyIncludedboolean
sendInvitationboolean

Response

Existing ready workspace needed no background work (buildQueued false)

Changes

No recorded changes to this operation across all 3 revisions of this API.