exchange Code For Token

POST {{baseUrl}}/onboard/token/exchange?authorisationCode=<string>

Exchange authorisation code for access token

Request Params

KeyDatatypeRequiredDescription
authorisationCodestring(Required) Unique ID of an object

Request Body

{"redirectUri"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;userInfo&quot;:{&quot;subject&quot;:&quot;\u003cstring\u003e&quot;,&quot;profile&quot;:&quot;\u003cstring\u003e&quot;,&quot;email&quot;:&quot;\u003cstring\u003e&quot;,&quot;emailVerified&quot;:&quot;\u003cboolean\u003e&quot;},&quot;token&quot;:{&quot;accessToken&quot;:&quot;\u003cstring\u003e&quot;,&quot;expiresIn&quot;:&quot;\u003cinteger\u003e&quot;,&quot;refreshExpiresIn&quot;:&quot;\u003cinteger\u003e&quot;,&quot;refreshToken&quot;:&quot;\u003cstring\u003e&quot;,&quot;tokenType&quot;:&quot;\u003cstring\u003e&quot;}}