Skip to main content
Basedash provides a public API for programmatic access to certain features. This page describes how to authenticate and interact with the API.
The API is currently unversioned, and breaking changes will be communicated in advance when possible.

Base URL

Most API endpoints are available at:
The SSO endpoint for embedding uses a different path:

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 format bd_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 the Authorization header using the Bearer scheme:
Example with curl:

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 a data property:
The HTTP status code indicates the type of success:

Error responses

Error responses wrap the error details in an error property, following a format inspired by RFC 7807: