This page covers the Bitnob Enterprise API, the non-custodial product. The custodial Bitnob Business API used for payouts, cards, and trading signs requests with HMAC instead. See Business API authentication.
Base URL
Send your API key
Pass your key on theX-API-Key header with every request. To confirm a key works, call Get API Key Info. A 200 means the key is valid, and the response lists the organization and granted scopes:
Required headers
How authorization works
API key calls never receive a WebAuthn or MFA challenge. When the key has the required permission and your enforced policy allows the request, the Bitnob Secure Enclave signs synchronously. The authorization flow for every transaction is:- API key is verified. The key must exist, be active, and carry the permission required for the requested operation: inspect scopes on Get API Key Info to check.
- The policy is evaluated. Your organization’s enforced policy is checked against the transaction. Its rules run in order, and the first rule that matches decides the outcome. See How policy evaluation works.
- Enclave signs, holds, or blocks. If the policy allows the transaction, the Enclave signs immediately. A
require_approvalrule holds it inpending_authorizationuntil approvers approve, adelayrule holds it indelayeduntil its time lock expires, and ablockrule rejects it. - Transaction is broadcast. After signing, the transaction is broadcast to the network. If gas sponsorship is needed, the gas station tops up the wallet first.