The API is currently unversioned, and breaking changes will be communicated in
advance when possible.
Base URL
Most API endpoints are available at:Authentication
The public API uses API key authentication via Bearer tokens.Creating an API key
To create an API key, open Settings → API keys and click Create API key. When you create an API key, you’ll be shown the full key once. Make sure to copy and store it securely, as it cannot be retrieved later.API key format
API keys follow the formatbd_key_<secret>, where <secret> is a 32-character cryptographically secure random string.
Example: bd_key_aBcD1234eFgH5678iJkL9012mNoP
Using your API key
Include your API key in theAuthorization header using the Bearer scheme:
Request format
- All requests with a body should use
Content-Type: application/json. - Request bodies should be valid JSON.
Response format
All responses use a standardized wrapper format for consistency.Successful responses
Successful responses wrap the result in adata property:
Error responses
Error responses wrap the error details in anerror property, following a format inspired by RFC 7807: