All API calls are performed using an API Key which can generated in the developer settings of your organisation's dashboard.
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:
curl \
http://api.thelessonspace.com/v2/hello{
"request": {
"method": "GET",
"url": "https://api.thelessonspace.com/v2/hello/",
"headers": [
{
"name": "Authorization",
"value": "Organisation YOUR_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"
}
}
}