Access levels
A minimum access level includes everyone at that level or higher. For example, a chat command set to Mod also accepts a message from a lead moderator or the broadcaster.
| Value | Level | Meaning |
|---|---|---|
| 0 | Anyone | Default for chat messages when the provider supplies no recognized role. |
| 1 | Sub | Subscriber or channel member. |
| 2 | VIP | Viewer with the provider’s VIP role. |
| 7 | Mod | Channel moderator. |
| 8 | Lead Mod | Lead moderator. |
| 100 | Editor | Can manage channel content such as commands, timers, and widgets. |
| 200 | Admin | Can manage channel integrations and user access. |
| 500 | Owner | Channel owner. Chat providers can report this level for the broadcaster. |
| 1000 | Global admin | Reserved for Synchra administrators. |
In a widget, message.access_level reflects the sender’s role as reported by the chat integration. Available roles vary by provider. For example, a Twitch viewer who is both a subscriber and a moderator has the higher of those levels on their message.
In a command script, ctx.input.access_level comes from the triggering chat message. Activity triggers use Anyone. For dashboard and API access, Synchra checks the signed-in user’s access to the channel separately.