Create logbook entry
curl --request POST \
--url https://api.lumonol.co.uk/ankra/create-logbook-entry \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"roblox_user_id": 123,
"title": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({roblox_user_id: 123, title: '<string>'})
};
fetch('https://api.lumonol.co.uk/ankra/create-logbook-entry', 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-logbook-entry"
payload = {
"roblox_user_id": 123,
"title": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"entry_type": "Promotion",
"title": "Promotion",
"content": "Promoted for hard work.",
"amount": 1,
"created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z"
}{
"error": "roblox_user_id is required"
}{
"error": "roblox_user_id is required"
}{
"error": "roblox_user_id is required"
}{
"error": "roblox_user_id is required"
}Logbook
Create logbook entry
Log an entry: entry_type, title, content, amount.
Only writes the entry. To change their rank too, call set-rank.
POST
/
create-logbook-entry
Create logbook entry
curl --request POST \
--url https://api.lumonol.co.uk/ankra/create-logbook-entry \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"roblox_user_id": 123,
"title": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({roblox_user_id: 123, title: '<string>'})
};
fetch('https://api.lumonol.co.uk/ankra/create-logbook-entry', 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-logbook-entry"
payload = {
"roblox_user_id": 123,
"title": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"entry_type": "Promotion",
"title": "Promotion",
"content": "Promoted for hard work.",
"amount": 1,
"created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z"
}{
"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 Roblox user ID of the person.
The first line of the entry.
"Strike" is a warning.
Available options:
Note, Promotion, Demotion, Suspension, Termination, Strike, Reminder, Strike Revocation The rest of the entry.
How many warnings a Strike gives, or a Strike Revocation takes back.
Required range:
1 <= x <= 100Roblox user ID of whoever did this in game. Recorded as the actor when they are linked to someone in the workspace.

