Get an access token

Obtain an access token and send it on protected requests as Authorization: Bearer <access_token>. Send token requests as application/x-www-form-urlencoded. The default token lifetime in the reviewed configuration is 30 minutes; the effective lifetime depends on deployment configuration.

Supported grants:

  • password: username and password; set domain_user=true for domain login. Supply X-OTP as a request parameter when required.
  • client_credentials: registered client ID and secret, supplied as form fields or HTTP Basic credentials. The client must have the SERVICE claim.
  • adsso: authdata in the query string.
  • customauth: session_id in the query string; the remote IP address is also used.
  • msgraphsso: access_token in the token parameters.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string

Authentication data for the adsso grant.

string

Session identifier for the customauth grant.

Form Data
string
enum
required
Allowed:
string
password
string
password
string
enum
Allowed:
string

Microsoft Graph access token for the msgraphsso grant.

string

Current one-time passcode when two-factor authentication is enabled for the user. Send as a form field.

Responses

Language
Credentials
Basic
base64
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json