Create Channel Stream Schedule Segment

In the description it says Create a single scheduled broadcast or a recurring scheduled broadcast for a channel’s stream schedule.

Unfortunately I did not manage to create a single scheduled broadcast.

Using the CURL example and putting my token, my userId and my clientId and I get:
{ [0] error: 'Forbidden', [0] status: 403, [0] message: 'single segment creation not authorized' [0] }

Also I have seen that in the docs the duration is an optional parameter but when I try to use the API I get a response saying it is a required parameter.

CURL that I use:

curl -X POST ‘
-H ‘Authorization: Bearer myTOken’
-H ‘Client-Id: myCLientId’
-H “Content-Type: application/json” \ -d ‘{
“start_time”: “2021-07-01T18:00:00Z”,
“timezone”: “America/New_York”,
“is_recurring”: false,
“duration”: “60”,
“category_id”: “509670”,
“title”: “TwitchDev Monthly Update”

Can the target channel create a “one off” stream in the UI.
Not all channels can make a “one off” stream (it may be a partner only/in testing with partners feature)

Left is my partner account and right is my test/bot account, right has no access to “one off”

Looks like you found a docs/system bug to file on Issues · twitchdev/issues · GitHub if not filed already

1 Like

Thank you very much for the reply @BarryCarlyon!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.