The documentation says the broadcaster_id parameter is optional.
I’ve tried with and without the broadcaster_id parameter and am receiving the same result.
That being said, I’m not really seeing how to determine the proper broadcaster_id, but even with an ID passed (I’m using my user ID) it’s still returning the same error.
Okay - I’ve found the initial issue in regards to the error. The endpoint for clips accepts both POST and GET. I was accidentally using GET and needed to add the post.
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
This has resolved the issue. That being said, I’m still trying to figure out how to get the broadcaster_id for channels.
Yes, I also noticed that it will not let you make the call without a broadcaster_id. Not a big deal, but the documentation had me a bit confused. Thanks for the help, everyone!