cURL
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>" } '
Link a game server to a session
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" }'
{ "success": true, "data": { "sessionId": "session_xyz789", "ServerId": "server_12345", "connectedAt": "2024-01-15T10:30: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 server job ID (required)
The Roblox place ID (optional)
The Roblox game ID (optional)
Server connected