cURL
curl --request POST \ --url https://api.series.hr/attendance/add-attendee/{sessionId} \ --header 'Content-Type: application/json' \ --header 'apikey: <api-key>' \ --data ' { "UserId": "<string>", "Username": "<string>", "DisplayName": "<string>", "AvatarUrl": "<string>", "JoinTime": "2023-11-07T05:31:56Z" } '
Add a player to session attendance
curl -X POST https://api.series.hr/attendance/add-attendee/session_xyz789 \ -H "apikey: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "UserId": "714760171", "Username": "player_name", "JoinTime": "2024-01-15T10:30:00Z", "LeaveTime": "2024-01-15T11:45:00Z" }'
{ "success": true, "data": { "attendeeId": "attendee_12345", "sessionId": "session_xyz789", "UserId": "714760171", "JoinTime": "2024-01-15T10:30:00Z", "LeaveTime": "2024-01-15T11:45:00Z", "duration": 4500 } }
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)
The Roblox username (optional)
The Roblox display name (optional)
The user's avatar URL (optional)
ISO 8601 timestamp of join time (optional)
Attendee added