Before you start
- A Kordless workspace with a published Live Book.
- An organization admin account (required to mint API keys).
- The API access feature on your plan.
If your workspace has no published Book yet, the quote-spec and simulation endpoints return a
no_published_book error. Publish a Book first — see Start your first Book.Create a Test API key
- Open your workspace and go to Developers.
- Under API keys, choose Create key.
- Name the key (for example,
Quickstart test). - Select Test as the environment.
- Choose the scopes you need. For this quickstart, select
accounts:read,quote-spec:read, andsimulations:write. - Copy the secret immediately — it is shown only once.
sk_test_, which marks it as a Test key. Test keys reach only test-mode data and never affect Live customers or billing.
Check your key
Verify your key works and see what scopes it has:test), and the scopes your key holds:
Find your account ID
List the account targets your key can reach:self). Connected Accounts appear after it. Find the id of the account you want to quote against — you will use it in the next steps.
Read the quote spec
Fetch the published Book’s services and required inputs:Run a simulation
Simulate a quote without persisting it. Pass the service key and selections from the quote spec:Success
You have authenticated, read the quote spec, and run a simulation. The simulation used the same evaluator and Book version that a formal quote would use — the only difference is that it was not persisted.Next steps
- Produce a formal quote using
POST /v1/accounts/{id}/quotes(requiresquotes:writescope and anIdempotency-Keyheader). - Create a commitment when the customer accepts using
POST /v1/accounts/{id}/quotes/{quoteId}/commitment. - Set up webhooks to receive commitment events.
- Read Authentication to understand scopes, environments, and key rotation.
- Read Test and Live to understand environment isolation.
- Browse the full API reference for request and response schemas.