Skip to main content
POST
/
attendance
/
add-attendee
/
{sessionId}
Add Attendee
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 an attendance session with join/leave timestamps (Premium/Enterprise only).

Request

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"
  }'

Parameters

UserId
string
required
Roblox user ID (required)
Username
string
Roblox username (optional)
DisplayName
string
Roblox display name (optional)
AvatarUrl
string
User’s avatar URL (optional)
JoinTime
string
ISO 8601 join timestamp (optional)

Response

201
{
  "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
  }
}

Authorizations

apikey
string
header
required

Pass your API key in the apikey header. Alternatively, the x-api-key header is also accepted.

Path Parameters

sessionId
string
required

The session ID

Body

application/json
UserId
string
required

The Roblox user ID (required)

Username
string

The Roblox username (optional)

DisplayName
string

The Roblox display name (optional)

AvatarUrl
string

The user's avatar URL (optional)

JoinTime
string<date-time>

ISO 8601 timestamp of join time (optional)

Response

Attendee added