Token (Auth Code Flow)
Request Access Token Using Authorization Code Flow:
URL : /api/v1/oauth2/token
Method : POST
Parameters
client_id
(required)
Your application client id
client_secret
(required)
Your application client secret
grant_type
(required)
Use the value as “authorization_code
“
code
(required)
Authorization code received in authorize response
Sample Request
curl -X POST -d "client_id=ibl90vqe9ll5198ss53v1b1knpk4fhacv4y7uzpa.worksmart.net&client_secret= avfyflz1ygyaxrmx95nf&grant_type=authorization_code&code=m98z8wr6mxvmtr9sf3kl" https:://my.worksmart.app/api/v1/oauth2/token
Sample Response
Last updated