Update scheduled event
https://octopus.livepush.io/streams/{stream_id}/config/scheduler/events/{event_id}
Base URL https://octopus.livepush.io — Core Streams & Media APIs
Changes an event. Only the fields sent are written, with one
exception: always resend repeatCount, because a request that
leaves it out resets it to 0.
immediateStart: true moves the start to about 10 seconds from now.
datetimeEndExplicit: false clears an explicit end time.
Fails if the event has already finished. Plan checks are the same as for creating an event.
Requires a token with the streams.write scope.
Authorization
Send a valid access token in the Authorization header.
bearerAuth— Bearer token (JWT)
Authorization: Bearer YOUR_API_TOKEN
Try it
Loading the request builder…
PUT
https://octopus.livepush.io/streams/{stream_id}/config/scheduler/events/{event_id}
— This call changes live data on your account.
Parameters
Path parameters
-
stream_idstring requiredUnique identifier of the pre-recorded live stream -
event_idstring requiredUnique identifier of the scheduled event
Request body
-
labelstring -
datetimestring<date-time> -
datetimeEndstring<date-time> -
datetimeEndExplicitbooleanSendfalseto cleardatetimeEnd -
repeatCountintegerResend on every update; omitting it resets it to0 -
videosstring[] -
immediateStartboolean -
loopboolean
{
"label": "Morning session 09:30",
"datetime": "2026-12-03T04:30:00.000Z",
"repeatCount": 1
}
Code samples
curl -X PUT 'https://octopus.livepush.io/streams/<stream_id>/config/scheduler/events/<event_id>' \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"label": "Morning session 09:30",
"datetime": "2026-12-03T04:30:00.000Z",
"repeatCount": 1
}'
const response = await fetch('https://octopus.livepush.io/streams/<stream_id>/config/scheduler/events/<event_id>', {
method: 'PUT',
headers: {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"label": "Morning session 09:30",
"datetime": "2026-12-03T04:30:00.000Z",
"repeatCount": 1
}),
});
if (!response.ok) {
throw new Error(`Livepush API error ${response.status}`);
}
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer YOUR_API_TOKEN',
'Content-Type': 'application/json',
}
payload = {
"label": "Morning session 09:30",
"datetime": "2026-12-03T04:30:00.000Z",
"repeatCount": 1
}
response = requests.put('https://octopus.livepush.io/streams/<stream_id>/config/scheduler/events/<event_id>', headers=headers, json=payload, timeout=30)
response.raise_for_status()
data = response.json()
Responses
The updated event
-
idstring -
labelstring -
immediateStartboolean -
datetimestring<date-time> -
datetimeEndstring<date-time> -
datetimeEndExplicitboolean -
repeatCountinteger -
videosstring[] -
loopboolean -
isActiveboolean -
isArchivedboolean -
runtimeintegerRuntime in seconds -
immediateEndboolean -
finishedAtinteger -
preciseStartboolean -
revisioninteger -
streamstring -
userstring -
awaitingboolean
{
"id": "ev_xxxxxxxxx",
"label": "Morning session 09:30",
"datetime": "2026-12-03T04:30:00.000Z",
"datetimeEnd": "2026-12-03T04:59:00.000Z",
"runtime": 3540000,
"videos": [
"Xk2fP9qLm"
],
"repeatCount": 1,
"awaiting": true,
"isActive": false,
"user": "usr_xxxxxxxxxxxx",
"stream": "st_xxxxxxxxxxxxx"
}
Unknown event, or the event has already finished
Unauthorized