To use OAuth 2.0, please use Fetch Access Token first.Add Authorization: Bearer {access_token} in the other API requests.| Param | Description | Fixed Value |
|---|
| Content-Type | The Content-Type should be multipart/form-data. | multipart/form-data |
| api_key | The API Key value fetched from Before Integration. | |
| api_secret | The API Secret value fetched from Before Integration. | |
| grant_type | Fixed value client_credentials. | client_credentials |
Request Code Samples
curl --location -g --request POST 'https://openapi.dev.stablelink.app/user/auth/oauth2/token?grant_type=client_credentials&api_key=&api_secret='
Responses
application/json {
"retcode": 200,
"retdata": {
"access_token": "Cji8NYO32ugrFJJkG7uCYiX2",
"token_type": "bearer",
"expires_in": 21600,
"refresh_token": "C6k8Vqytb4S8x41RUdMNqzG1",
"rt_expires_in": 43200
},
"success": true
}
Modified at 2025-12-24 08:33:18