Authentication
Authentication
1. Get an Access Token (Auth0)
Request
Example (cURL)
curl -X POST "https://<AUTH0_DOMAIN>/oauth/token" \
-H "Content-Type: application/json" \
-d '{
"client_id": "<YOUR_CLIENT_ID>",
"client_secret": "<YOUR_CLIENT_SECRET>",
"audience": "https://api.meti.millpont.com",
"grant_type": "client_credentials",
"scope": "read:sources write:sources delete:sources"
}'
Response
2. Using the Access Token with METI API
Example: List Sources
Example: Filtered by Methodology
3. Token Expiration & Automated Workflows
Steps for Token Renewal
4. Minimal Python Example (Client Credentials + Auth Header)
5. Scopes & Permissions
6. Common Errors
Last updated

