To obtain information about your organisation, simply do a get request to the my-organisation endpoint.
The returned id
parameter identifies this organisation and is used as a path parameter in various endpoints.
{
"request": {
"method": "GET",
"url": "https://api.thelessonspace.com/v2/my-organisation/",
"headers": [
{
"name": "Authorization",
"value": "Organisation __API_KEY__"
}
]
},
"response": {
"status": 200,
"httpVersion": "HTTP/2",
"headers": [
{
"name": "content-type",
"value": "application/json"
}
],
"content": {
"text": "{\"id\":\"0\", \"logo\":\"...\", \"customer\":\"...\", \"...\":\"...\"}",
"mimeType": "application/json"
}
}
}