Sync activity
curl --request POST \
--url https://api.lumonol.co.uk/ankra/sync-activity \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"events": [
{
"roblox_user_id": 123,
"username": "<string>",
"game_name": "<string>"
}
]
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({events: [{roblox_user_id: 123, username: '<string>', game_name: '<string>'}]})
};
fetch('https://api.lumonol.co.uk/ankra/sync-activity', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.lumonol.co.uk/ankra/sync-activity"
payload = { "events": [
{
"roblox_user_id": 123,
"username": "<string>",
"game_name": "<string>"
}
] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"success": true
}{
"error": "roblox_user_id is required"
}{
"error": "roblox_user_id is required"
}{
"error": "roblox_user_id is required"
}{
"error": "roblox_user_id is required"
}Activity
Sync activity
Report join, leave, idle and chat events from a game server.
What the Ankra activity loader sends. Joins only start a session for tracked ranks, per Settings › Activity Tracking.
POST
/
sync-activity
Sync activity
curl --request POST \
--url https://api.lumonol.co.uk/ankra/sync-activity \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"events": [
{
"roblox_user_id": 123,
"username": "<string>",
"game_name": "<string>"
}
]
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({events: [{roblox_user_id: 123, username: '<string>', game_name: '<string>'}]})
};
fetch('https://api.lumonol.co.uk/ankra/sync-activity', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.lumonol.co.uk/ankra/sync-activity"
payload = { "events": [
{
"roblox_user_id": 123,
"username": "<string>",
"game_name": "<string>"
}
] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"success": true
}{
"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
Events in the order they happened.
Show child attributes
Show child attributes
Response
OK.

