add_role
Add a new role to a channel and return a one-time bearer token. Requires admin access and a unique lowercase slug; the role gains channel read access and must consent to protected-pin rounds.
Instructions
ADMIN ONLY (HTTP transport): add a new role to an existing channel and return its bearer token (shown exactly once). The channel must have room (<= 12 roles) and the role must be new. Existing roles, tokens and message history are untouched; the new role can read the whole channel. Its consent becomes required for future protected-pin rounds that do not declare their voters or declare voters='*'; a round that lists its voters by name is unaffected. Role is a lowercase slug.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | ||
| channel | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||