All API calls are performed using your Organisation's API Key
which can be found in the developer settings of your Organisation's dashboard. For your convenience, the API key is provided below and it is used in the examples in these docs. Feel free to copy or run these examples as-is.
To authenticate your request, simply add the Authorization
header, set to Organisation YOUR_API_KEY
.
Once the header has been added you can call the Lessonspace API by executing the following:
{
"request": {
"method": "GET",
"url": "https://api.thelessonspace.com/v2/hello/",
"headers": [
{
"name": "Authorization",
"value": "Organisation __API_KEY__"
}
]
},
"response": {
"status": 200,
"httpVersion": "HTTP/2",
"headers": [
{
"name": "content-type",
"value": "application/json"
}
],
"content": {
"text": "{\"response\":\"The sun is shining and so are you, {name}\"}",
"mimeType": "application/json"
}
}
}