curl --location --request POST '/api/apps/oauth/token' \
--header 'Accept-Language;' \
--header 'Content-Type: application/json' \
--data-raw '{
"grant_type": "client_credentials",
"client_id": "01923abc-...",
"client_secret": "senler_cs_...",
"project_id": "string",
"scope": "can_view_leads can_manage_dialogs",
"refresh_token": "senler_rt_...",
"code": "senler_code_...",
"redirect_uri": "string"
}'{
"access_token": "string",
"token_type": "bearer",
"expires_in": 31536000,
"refresh_token": "string",
"scope": "can_view_leads can_manage_dialogs"
}