Skip to main content
POST
OneRoster 1.2 token endpoint (alias of /oauth/token)

Authorizations

Authorization
string
header
required

HTTP Basic authentication using your API client's client_id (username) and client_secret (password). Authenticates the token exchange only — never send it to any other endpoint.

Body

application/x-www-form-urlencoded
grant_type
enum<string>
required

Must be client_credentials.

Available options:
client_credentials
client_id
string

Required unless sent with Basic auth.

client_secret
string

Required unless sent with Basic auth.

scope
string

Space-separated scopes to request. Omit for all of the client's scopes.

Response

The access token.

access_token
string
required

The access token

token_type
enum<string>
required

The token type

Available options:
bearer
expires_in
integer
required

Token expiration time in seconds

scope
string

The scope of the access token