Authorization Code Authentication (Recommended)
Request
Body Params application/json
{
"tenantId": "000000",
"language": "CN",
"clientSecret": "62daf79c8e6ca9f1f39c47ccfb98176ebe4b69b5edd5262702effda9053ca33268b5760f94d737ee4b0caea205ceb45693a794f5a6006f4377c7c7a751d48710",
"clientId": "d11fb91180aaccebd1bfd9c4b40cf90c",
"grantType": "code"
}
Request Code Samples
curl --location '/auth/code' \
--header 'Content-Type: application/json' \
--data '{
"tenantId": "000000",
"language": "CN",
"clientSecret": "62daf79c8e6ca9f1f39c47ccfb98176ebe4b69b5edd5262702effda9053ca33268b5760f94d737ee4b0caea205ceb45693a794f5a6006f4377c7c7a751d48710",
"clientId": "d11fb91180aaccebd1bfd9c4b40cf90c",
"grantType": "code"
}'
Responses
application/json
{
"code": 1200,
"msg": "Operation successful!",
"data": {
"scope": null,
"openid": null,
"access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJsb2dpblR5cGUiOiJsb2dpbiIsImxvZ2luSWQiOiJzeXNfdXNlcjoxIiwicm5TdHIiOiJvY3VzcXBGbnFHYjFNcFJic0k2YW01anNYbWpzM2dDeiIsImNsaWVudGlkIjoiZDExZmI5MTE4MGFhY2NlYmQxYmZkOWM0YjQwY2Y5MGMiLCJ0ZW5hbnRJZCI6IjAwMDAwMCIsInVzZXJJZCI6MSwiZGVwdElkIjoxMDN9.U-frDGx7FfyG0lMDRBSZFJduuBzvxCVhZF6V15V06v4",
"refresh_token": null,
"expire_in": 604799,
"refresh_expire_in": null,
"client_id": "d11fb91180aaccebd1bfd9c4b40cf90c"
},
"tran": true
}
Modified at 2026-04-08 03:21:58