POST OAuth/token
Request or refresh a token
Request Information
URI Parameters
None.
Body Parameters
Collection of ObjectNone.
Request Formats
application/json, text/json, application/x-www-form-urlencoded
            Sample:
                    
Sample not available.
Response Information
Resource Description
TokenResponse| Name | Description | Type | Additional information | 
|---|---|---|---|
| access_token | 
                         The access token  | 
                    string | 
                             None.  | 
                
| token_type | 
                         The token type  | 
                    string | 
                             None.  | 
                
| expires_in | 
                         How many seconds until the token expires  | 
                    integer | 
                             None.  | 
                
| refresh_token | 
                         The refresh token  | 
                    string | 
                             None.  | 
                
| as:client_id | 
                         The client/app id  | 
                    string | 
                             None.  | 
                
| userName | 
                         The users email address  | 
                    string | 
                             None.  | 
                
| .issued | 
                         The time the token was issued  | 
                    date | 
                             None.  | 
                
| .expires | 
                         The time when the token expires  | 
                    date | 
                             None.  | 
                
| mfa_required | 
                         Indicates if the user is an mfa user  | 
                    boolean | 
                             None.  | 
                
Response Formats
application/json, text/json
            Sample:
        
{
  "access_token": "sample string 1",
  "token_type": "sample string 2",
  "expires_in": 3,
  "refresh_token": "sample string 4",
  "as:client_id": "sample string 5",
  "userName": "sample string 6",
  ".issued": "2025-11-04T12:07:14.1789607+00:00",
  ".expires": "2025-11-04T12:07:14.1789607+00:00",
  "mfa_required": true
}
        application/xml, text/xml
            Sample:
<TokenResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <AccessToken>sample string 1</AccessToken> <TokenType>sample string 2</TokenType> <ExpiresIn>3</ExpiresIn> <RefreshToken>sample string 4</RefreshToken> <AppId>sample string 5</AppId> <UserName>sample string 6</UserName> <Issued>2025-11-04T12:07:14.1789607+00:00</Issued> <Expires>2025-11-04T12:07:14.1789607+00:00</Expires> <MfaRequired>true</MfaRequired> </TokenResponse>