{
"access_token": "token_here",
"token_type": "Bearer",
"expires_in": 3600,
"refresh_token": "refresh_token_here",
"scope": "data.share.sales credit.score.read"
}| Token | Lifetime |
|---|---|
| Access Token | 1 hour |
| Refresh Token | 30 days |
| Authorization Code | 5 minutes |
curl --location --request POST 'https://api.dev.opensylo.com/oauth/token' \
--header 'Content-Type: application/json' \
--data-raw '{
"grant_type": "authorization_code",
"code": "string",
"client_id": "string",
"client_secret": "string",
"redirect_uri": "string",
"refresh_token": "string",
"code_verifier": "string"
}'{
"access_token": "string",
"token_type": "Bearer",
"expires_in": 3600,
"refresh_token": "string",
"scope": "string"
}