Bando Documentation
REST authentication
Authenticate clients and use Bearer tokens to access protected resources.
Why does authentication exist?
The Bando API may contain private content and operations that modify data. For this reason, certain endpoints require a valid API key to authorize access.
How it works
Using an API key
Requests to the Document API must include the API key through the X-Bando-API-Key header.
/api/:collectionSend the API key in the request header.
In JavaScript, the API key can be sent as follows:
API key header
The X-Bando-API-Key header identifies and authenticates the project making the request.
Authenticated requests
Authentication is required for protected Document API endpoints. The API key must be included with every request that requires authentication.
Authentication errors
Requests without a valid API key are not authorized by the API. Make sure the header is present and that the API key belongs to the correct project.
X-Bando-API-Keymissing — the request is not authenticated.- Invalid API key — authentication fails.
- Valid API key — the request can be processed according to the available permissions.