Dolva authenticates requests using HTTP Bearer tokens. Every request to a protected endpoint must include a valid token in the Authorization header. Requests without a token, or with an invalid token, are rejected with a 401 Unauthorized response.
Getting Your API Token
Sign up or log in at dolva.ai and navigate to your account dashboard to retrieve your API token. Treat your token like a password — never share it or commit it to source control.
Your API token grants full access to your Dolva account. Store it securely using environment variables or a secrets manager — never hard-code it in your application code.
Using Your Token
Include your token in the Authorization header of every API request using the Bearer scheme:
Examples
Using Environment Variables
Avoid hard-coding your token. Store it in an environment variable instead:
Authentication Errors
The GET /health endpoint does not require authentication and can be used to verify network connectivity without a token.