TL;DR
POST https://auth.clever-pv.com/connect/tokenwithgrant_type=client_credentialsandscope=connect_api- Use the returned
access_tokenasAuthorization: Bearer {token}on all requests - Tokens expire — check
expires_inin the response and refresh before it runs out
Base URLs
| Purpose | URL |
|---|---|
| Auth | https://auth.clever-pv.com |
| API | https://api.clever-pv.com/connect |
Token Details
The authentication uses OAuth2 Client Credentials flow:
- Token URL:
https://auth.clever-pv.com/connect/token - Grant Type:
client_credentials - Scope:
connect_api
Tokens are automatically cached and refreshed as needed.
Example: Fetch Token with curl
curl -X POST "https://auth.clever-pv.com/connect/token"
-H "Content-Type: application/x-www-form-urlencoded"
-d "grant_type=client_credentials"
-d "client_id=CLIENT_ID"
-d "client_secret=CLIENT_SECRET"
-d "scope=connect_api"
Replace CLIENT_ID and CLIENT_SECRET with your actual credentials.
Last modified on