Get Token (By code)

Path

/v1/oauth2/token

Method

POST

Header

Content-Type: application/json

Query Params

None

Body

{

"clientId": "string-client-id",

"clientSecret": "string-client-secret",

"code": "string-32",

"authType": "code",

"redirectURL": "string-redirect-url",

"scope": "string-score"

}

Success response

{

"code": 200,

"message": "string",

"response": {

"accessToken": "string-32-char",

"refreshToken": "string-32-char"

}

}

Error response

{

"code": 500,

"message": "string",

"response": null

}

Last updated