Obtain a new access token using a refresh token when the current access token expires.
curl -X POST https://api.cloud.blnkfinance.com/oauth/token \
-H "Content-Type: application/x-www-form-urlencoded" \
-u "YOUR_CLIENT_ID:YOUR_CLIENT_SECRET" \
-d "grant_type=refresh_token" \
-d "refresh_token=blnk_rt_YOUR_REFRESH_TOKEN_HERE"
{
"access_token": "blnk_at_...",
"token_type": "Bearer",
"expires_in": 3600,
"refresh_token": "blnk_rt_...",
"scope": "data:read data:write proxy:write"
}
Refresh an expired access token using the refresh token you received when obtaining the original access token.Documentation Index
Fetch the complete documentation index at: https://guide.cloud.blnkfinance.com/llms.txt
Use this file to discover all available pages before exploring further.
curl -X POST https://api.cloud.blnkfinance.com/oauth/token \
-H "Content-Type: application/x-www-form-urlencoded" \
-u "YOUR_CLIENT_ID:YOUR_CLIENT_SECRET" \
-d "grant_type=refresh_token" \
-d "refresh_token=blnk_rt_YOUR_REFRESH_TOKEN_HERE"
Basic base64(client_id:client_secret) or use -u flag in cURL.refresh_token for this flow.{
"access_token": "blnk_at_...",
"token_type": "Bearer",
"expires_in": 3600,
"refresh_token": "blnk_rt_...",
"scope": "data:read data:write proxy:write"
}
Authorization: Bearer <access_token> header.Bearer for access tokens.curl -X POST https://api.cloud.blnkfinance.com/oauth/token \
-H "Content-Type: application/x-www-form-urlencoded" \
-u "YOUR_CLIENT_ID:YOUR_CLIENT_SECRET" \
-d "grant_type=refresh_token" \
-d "refresh_token=blnk_rt_YOUR_REFRESH_TOKEN_HERE"
{
"access_token": "blnk_at_...",
"token_type": "Bearer",
"expires_in": 3600,
"refresh_token": "blnk_rt_...",
"scope": "data:read data:write proxy:write"
}