Skip to content
On this page

Getting started

Set up your JWT

Firstly, you need to create your JWT thank to your clientId, your email and signing it with you secretId.

ClientId and SecretId

In order to obtain your clientId and your secretId you need to login to your edtake account. Next, you have to go to your workspace configuration. Click on "Developer" tab and get your "API CREDENTIALS" (the password asked is your account password).

Your JWT

Now, you have to create the JWT. The payload must have your email and your clientId previously generated, then sign it with your clientSecret.

json
{
    "email": "{{yourEmail}}",
    "clientId": "{{yourClientId}}"
}

Obtain edtake JWT

Since you have your JWT created and signed you can obtain the edtake JWT.

You have to make a post request.

POST
https://edtake-production.azurewebsites.net/api/authentication/external
Headers:  
Authorization "Bearer {yourJWT}"

Response:

json
{
  "message": "OK",
  "authorizedJwt": "{{secureEdtakeJWT}}"
}

Api call

Finally, with your secureEdtakeJwt you can now call any public GET call from your edtake workspace.