Workspaces

post/v1/workspaces

Request

  • Base URL: https://api.tokenbooks.io (the document declares no server; this is the origin it was published from)
  • URL: https://api.tokenbooks.io/v1/workspaces
  • Auth: API key in header x-api-key

Request body

namestring required

Workspace name

slugstring

Workspace slug (auto-generated if not supplied

environment'production' | 'test'

Use "test" only when calling with a test API key (tb_test_…); assigns relaxed testing plan. Live keys must omit or use production.

Response

apiKeystring required

Workspace-scoped API key

Changes

No recorded changes to this operation across all 1 revision of this API.