API keys
All API requests require a Bearer token in theAuthorization header:
Creating an API key
- Sign in to dbhost.app
- Go to Settings
- Click Generate API Key
- Copy the key (shown only once)
Error responses
| Status | Code | Description |
|---|---|---|
| 401 | UNAUTHORIZED | Missing or invalid API key |
| 403 | FORBIDDEN | Key is valid but lacks access to the resource |