Skip to main content
POST
/
sessions
/
create
Create Session
curl --request POST \
  --url https://api.series.hr/sessions/create \
  --header 'Content-Type: application/json' \
  --header 'apikey: <api-key>' \
  --data '
{
  "Title": "Training Session",
  "Host": "714760171",
  "Scheduled": "2023-11-07T05:31:56Z",
  "Duration": 123
}
'
Create a new session with optional scheduling and duration parameters.

Request

curl -X POST https://api.series.hr/sessions/create \
  -H "apikey: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "Title": "Training Session",
    "Host": "714760171",
    "Scheduled": "2024-01-20T15:00:00Z",
    "Duration": 3600
  }'

Parameters

Title
string
required
Session title
Host
string
required
Roblox user ID of the host
Scheduled
string
ISO 8601 scheduled start time
Duration
integer
Session duration in seconds

Response

201
{
  "success": true,
  "data": {
    "sessionId": "session_abc123",
    "Title": "Training Session",
    "Host": "714760171",
    "Scheduled": "2024-01-20T15:00:00Z",
    "Duration": 3600,
    "createdAt": "2024-01-15T10:30:00Z"
  }
}

Authorizations

apikey
string
header
required

Body

application/json
Title
string
required
Example:

"Training Session"

Host
string
required
Example:

"714760171"

Scheduled
string<date-time>
Duration
integer

Response

201

Session created