https:/​/​rest.course-source.net/​auth

POST

Get an access token.

Example Payload: {"SiteID":"example-site","SiteKey":"lWzfuV9t1rY3E2a5UK6NLPgXQkCwTibnA"}

Add Authorization: Bearer {TheToken} or Authorization: Token {TheToken} to the header of subsequent requests.

Every response will contain an updated token to use in the next request, tokens are valid for 10 minutes.
Tokens are automatically added to the requests in these help pages.

In Postman you can use Bearer Token, or OAuth 2.0 with the Header Prefix set to Bearer or Token - on the Get New Access Token page set the Grant Type to Client Credentials, the URL to https://token.course-source.net, the Client ID to your SiteID, the Client Secret to your SiteKey and the Client Authentication to Send client credentials in body.

You can auto-populate the payload below by logging into the Administration site and selecting a payload in the Test API section of the API Access page under the Settings menu.

Response