Auth
Authorizations
Responses
200Success
application/json
401
Invalid authentication credentials.
get
/api/v1/auth/granted-claimsGET /api/v1/auth/granted-claims HTTP/1.1
Host: {PORTAL_API_BASE_URL}
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"grantedClaims": [
"text"
]
}Exchange a valid authorization code for an access and refresh token. You can only exchange an authorization code once!
post
Body
authorizationCodestringRequired
usedRedirectUristringRequired
Redirect URI that was used when retrieving an authorization code.
Responses
201Success
application/json
400Error
503Error
post
/api/v1/auth/sign-in/code-exchangePOST /api/v1/auth/sign-in/code-exchange HTTP/1.1
Host: {PORTAL_API_BASE_URL}
Content-Type: application/json
Accept: */*
Content-Length: 53
{
"authorizationCode": "text",
"usedRedirectUri": "text"
}{
"accessToken": "text",
"expiresIn": 1,
"refreshToken": "text"
}Body
refreshTokenstringRequired
Responses
201Success
application/json
400Error
503Error
post
/api/v1/auth/sign-in/refresh-tokenPOST /api/v1/auth/sign-in/refresh-token HTTP/1.1
Host: {PORTAL_API_BASE_URL}
Content-Type: application/json
Accept: */*
Content-Length: 23
{
"refreshToken": "text"
}{
"accessToken": "text",
"expiresIn": 1
}