$ curl api.rivet.network/v1/documents?type=invoice&limit=2 \
-H "Authorization: Bearer rk_test_Kq3Z…"Illustrative. The full walkthrough is in the reference.
The normal Rivet sign-up. There is no separate developer account — API keys belong to your organization.
An organization admin names the key and picks its scopes. The secret is shown once; only its hash is kept.
Send the key as a bearer token. The key is your organization — there's no org id to pass.
curl https://api.rivet.network/v1/documents?type=invoice&limit=2 \
-H "Authorization: Bearer rk_live_Kq3Z…"A key’s prefix follows its organization: rk_live_ for a live one, rk_test_ for a sandbox. The full walkthrough — pagination, errors, rotation — is in the reference.
A key acts as your organization and only ever sees your own side of a connection — reads across documents, payments and treasury, plus document writes where your environment has them enabled. Every response carries the spec version it was produced under.
Invoices, bills, purchase orders, quotes and the rest — both directions, labelled the way your team sees them.
Payment context per document and the payment methods on file.
Your treasury accounts and their ledger-derived balances, once Rivet Money is available to you.
The Rivet MCP server runs beside your agent and turns the contract into MCP tools, one per operation, acting as your organization with the scopes of the key you give it.
See the Context API$ npx -y @rivet-network/mcp # tools listDocuments · getDocument · transitionDocument · payDocument …
There is no separate developer account. API keys belong to your organization.