curl --location --request POST 'https://api.nxsys.tech/nxsys/oauth/token' \
--data-urlencode 'code=add9180cfc9e89b8b8408cc02f9f1222' \
--data-urlencode 'clientId=NXSYS.ONZEYLYLO38TL9XEBE3JQUPGTYUQMZ7S' \
--data-urlencode 'clientSecret=8ffcf26dfe63a2576d7e1994e8307ed1cac09f845b62fb79' \
--data-urlencode 'redirectUri=https://yourapp.com/callback' \
--data-urlencode 'grantType=authorization_code'
{
"accessToken": "7eff18323a4695ec90aa4305c0cc6ee9793d4d3d65285b312e4c0d152b94ecd0",
"refreshToken": "0c39535a7469f5b317154ee01768a8f0c431d078a10630e88189e9b913544f51",
"expiresIn": 3600,
"tokenType": "Nxsys-oauthtoken"
}