cURL
curl --request POST \ --url https://api.series.hr/attendance/update-attendee/{sessionId} \ --header 'Content-Type: application/json' \ --header 'apikey: <api-key>' \ --data ' { "UserId": "<string>", "JoinTime": "2023-11-07T05:31:56Z", "LeaveTime": "2023-11-07T05:31:56Z" } '
Update attendee join/leave times
curl -X POST https://api.series.hr/attendance/update-attendee/session_xyz789 \ -H "apikey: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "UserId": "714760171", "JoinTime": "2024-01-15T10:25:00Z", "LeaveTime": "2024-01-15T11:50:00Z" }'
{ "success": true, "data": { "UserId": "714760171", "sessionId": "session_xyz789", "JoinTime": "2024-01-15T10:25:00Z", "LeaveTime": "2024-01-15T11:50:00Z", "duration": 4500, "updatedAt": "2024-01-15T12:00:00Z" } }
Pass your API key in the apikey header. Alternatively, the x-api-key header is also accepted.
apikey
x-api-key
The session ID
The Roblox user ID (required)
Updated join time (optional)
Updated leave time (optional)
Attendee updated