Overview
The Channel User API allows channel editors to view and manage users who have access to their channels. This includes adding/removing editors and viewers, and managing permission levels.Base Endpoint
Authentication
All Channel User API endpoints require authentication. Users can only manage users for channels they have edit access to.Channel User Object
The Channel User object extends the User object with channel-specific permission fields:Unique identifier for the user (UUID)
User’s email address
User’s first name
User’s last name
Whether the user account is active
Whether the user has edit permissions for the channel
Whether the user has view-only permissions for the channel
List Channel Users
Retrieve all users with access to a specific channel.Query Parameters
Channel ID to retrieve users for (required filter)
Example Request
Example Response
Add Channel Editor
Add a user as an editor to a channel using the sync API.Request Body
Use the sync API format to add editors:Example Request
Add Channel Viewer
Add a user as a viewer to a channel using the sync API.Request Body
Use the sync API format to add viewers:Example Request
Remove Channel User
Remove a user’s access to a channel using the sync API.Request Body
Use the sync API format to remove access:Example Request (Remove Editor)
Remove Self from Channel
Allow a user to remove themselves from a channel’s viewer list.Path Parameters
ID of the user to remove
Query Parameters
ID of the channel to remove the user from
Example Request
Example Response
Returns HTTP 204 No Content on success.Permissions
- User can remove themselves from any channel they have viewer access to
- Channel editors can remove other users from their channels
Role Types
Editor
Users with editor access (can_edit: true) can:
- Create, edit, and delete content nodes
- Manage channel metadata and settings
- Invite other users to the channel
- Publish the channel
- Remove other editors and viewers
Viewer
Users with viewer access (can_view: true) can:
- Browse and view channel content
- View channel metadata
- Cannot make any modifications
- Cannot invite other users
- Can remove themselves from the channel
Permissions
Channel User management requires:- Authentication: User must be logged in
- Channel Edit Access: User must have edit permissions for the channel
- Scope: Users can only manage permissions for channels they can edit
Permission Checks
- When listing users, the API verifies that the requester has edit access to the specified channel
- When adding/removing users, the API verifies that the requester has edit access to all affected channels
- Users without proper permissions receive an empty result set
Error Responses
400 Bad Request
Missing required
channel_id parameter, or user is not a viewer of the channel when attempting self-removal401 Unauthorized
Missing or invalid authentication token
403 Forbidden
User does not have edit permissions for the channel or attempting to remove a user without proper permissions
404 Not Found
Channel or user not found
Change Tables
When using the sync API to manage channel users, use these table identifiers:editor_m2m
Manages the many-to-many relationship between channels and editor users
viewer_m2m
Manages the many-to-many relationship between channels and viewer users
