Trying to send messages to my live YT chat with curl

curl -X POST “” -H “Authorization: Bearer xxyyzz” -d “message=test”

but keep getting a: {“message”:“unauthorized”,“status”:401}

I’m sure that the Authorization: Bearer is correct.
Could it be that is having problems?

Hiya, is the bearer working for other endpoints, does it have the correct scope?

1 Like

Late reply. Yes it was a scope problem.
All fine now.

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