Confusing documentation for Update Chat Settings

The API reference for Update Chat settings has two query parameters with user ID requirement.

Parameter Required Type Description
broadcaster_id Yes String The ID of the broadcaster whose chat settings you want to update. This ID must match the user ID associated with the user OAuth token.
moderator_id Yes String The ID of a user that has permission to moderate the broadcaster’s chat room. This ID must match the user ID associated with the user OAuth token. If the broadcaster wants to update their own settings (instead of having the moderator do it), set this parameter to the broadcaster’s ID, too.

What’s the point of two different ID parameters if they both have to match the OAuth token?

Or is the documentation wrong and it only requires a broadcaster_id that the moderator_id has moderator rights to?

It’s a documentation error

Only the moderator_id needs to match the tokens.
The broadcaster_id does not need to match

1 Like

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