Skip to content

The Learnspot API (1.0.0)

The Learnspot API documentation.

Download OpenAPI description
Languages
Servers
Mock server

https://docs.thelearnspot.nl/_mock/openapi/

https://docs.thelearnspot.nl/{serverUrl}/

OAuth

Operations

Get an access token

Request

Get an access token using client credentials

Bodyapplication/x-www-form-urlencodedrequired
grant_typestring
Value"client_credentials"
client_idstring
client_secretstring
scopestring

The scopes to request. Available scopes: get_modules, mutate_modules, get_subjects, mutate_subjects, get_chapters, mutate_chapters

curl -i -X POST \
  https://docs.thelearnspot.nl/_mock/openapi/oauth/token \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -d grant_type=client_credentials \
  -d client_id=string \
  -d client_secret=string \
  -d scope=string

Responses

Successful response

Bodyapplication/json
token_typestring
expires_ininteger
access_tokenstring
refresh_tokenstring
Response
application/json
{ "token_type": "string", "expires_in": 0, "access_token": "string", "refresh_token": "string" }

Modules

Operations

Subjects

Operations

Chapters

Operations