This endpoint is used to request an authorization token used to authenticate each invocation of the other Learning Analytics API endpoints.

Learning Analytics authentication and authorization are based on AWS Cognito User Pool.

Request structure

Header

  • Authorization : Client_ID:Client_Secret words converted to Base64
  • Content-Type : application/x-www-form-urlencoded

Parameters

  • grant_type : client_credentials
  • client_id : You must use the Client_ID provided when registering your application
  • scope : la-apiauthidentifier/authorization

Responses

  • Code: 200
    • Status: OK
{
    "access_token": sting containing the Access Token,
    "expires_in": 3600,
    "token_type": "Bearer"
}
  • Code: 400
    • Status: Bad Request
Language
Credentials
OAuth2
Authenticate
Click Try It! to start a request and see the response here!