Authentication
Secure access with a Bearer token.
Bearer authentication
Send a valid access token in the Authorization header. The token is issued for your integration by Blulinc.
Shell
Authorization: Bearer <BLULINC_API_TOKEN>
Accept: application/jsonProtect your token
Store the token in a secure server environment. Never share it in browser code, public repositories, screenshots or logs.
- Only request the permissions your integration needs.
- Use separate tokens for separate integrations.
- Revoke and replace a leaked token immediately.
OAuth access
The recommended method is OAuth 2.0 client credentials: exchange your client ID and client secret at POST https://cp.blulinc.com/public-api/oauth/token for a short-lived access token, then send it as Authorization: Bearer <ACCESS_TOKEN>. A long-lived API token issued by Blulinc also stays valid. The client secret itself is not a bearer token.
