Create session
curl --request POST \
--url https://api.lumonol.co.uk/ankra/create-session \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"schedule_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({schedule_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a'})
};
fetch('https://api.lumonol.co.uk/ankra/create-session', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.lumonol.co.uk/ankra/create-session"
payload = { "schedule_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"error": "roblox_user_id is required"
}{
"error": "roblox_user_id is required"
}{
"error": "roblox_user_id is required"
}{
"error": "roblox_user_id is required"
}Sessions
Create session
Start an ad-hoc session of a type (schedule_id, date).
Starts an ad-hoc session. The type must allow them, and have no session that day already.
POST
/
create-session
Create session
curl --request POST \
--url https://api.lumonol.co.uk/ankra/create-session \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"schedule_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({schedule_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a'})
};
fetch('https://api.lumonol.co.uk/ankra/create-session', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.lumonol.co.uk/ankra/create-session"
payload = { "schedule_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"error": "roblox_user_id is required"
}{
"error": "roblox_user_id is required"
}{
"error": "roblox_user_id is required"
}{
"error": "roblox_user_id is required"
}Authorizations
A workspace API key from Settings › Developer.
Query Parameters
The workspace: the 24-character ID in its Ankra address, or its UUID.
Body
application/json
The session type's ID.
The day. Defaults to today (UTC).
This session's description.
Roblox user ID of whoever did this in game. Recorded as the actor when they are linked to someone in the workspace.
The name to record as the actor. Defaults to "API".
Response
Created.

