Skip to main content
POST
/
attendance
/
connect-server
/
{sessionId}
Connect Server
curl --request POST \
  --url https://api.series.hr/attendance/connect-server/{sessionId} \
  --header 'Content-Type: application/json' \
  --header 'apikey: <api-key>' \
  --data '
{
  "ServerId": "<string>",
  "PlaceId": "<string>",
  "GameId": "<string>"
}
'
Connect a Roblox game server to an attendance session (Premium/Enterprise only).

Request

curl -X POST https://api.series.hr/attendance/connect-server/session_xyz789 \
  -H "apikey: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "ServerId": "server_12345",
    "PlaceId": "9876543210",
    "GameId": "game_98765",
    "JobId": "job_54321"
  }'

Parameters

sessionId
string
required
The attendance session ID
ServerId
string
required
Roblox game server ID (required)
PlaceId
string
Roblox place ID (optional)
GameId
string
Roblox game ID (optional)

Response

200
{
  "success": true,
  "data": {
    "sessionId": "session_xyz789",
    "ServerId": "server_12345",
    "connectedAt": "2024-01-15T10:30:00Z"
  }
}

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
ServerId
string
required

The Roblox server job ID (required)

PlaceId
string

The Roblox place ID (optional)

GameId
string

The Roblox game ID (optional)

Response

Server connected