Overview
The Channel Sections API allows you to create, update, and manage channel sections within your organization. Sections help organize channels into logical groups (e.g., “Engineering”, “Marketing”, “Support”). Sections are organization-wide and visible to all members. Only organization admins/owners can manage sections.Methods
channelSection.create
Creates a new channel section in an organization. Only organization admins/owners can create sections.Section name (e.g., “Engineering”, “Marketing”)
UUID of the organization
Display order (0-based). If set to 0, automatically assigned to end.
Optional client-provided ID for optimistic updates
Transaction ID for optimistic updates
UnauthorizedError- User lacks admin permissionInternalServerError- Unexpected server error
channelSection.update
Updates an existing channel section (rename, change order). Only organization admins/owners can update sections.Section ID to update
New section name
New display order
Updated section object (see channelSection.create for structure)
Transaction ID for optimistic updates
ChannelSectionNotFoundError- Section doesn’t existUnauthorizedError- User lacks admin permissionInternalServerError- Unexpected server error
channelSection.delete
Deletes a channel section (soft delete). When a section is deleted, all channels in that section are moved to the default section (sectionId = null). Only organization admins/owners can delete sections.Section ID to delete
Transaction ID for optimistic updates
ChannelSectionNotFoundError- Section doesn’t existUnauthorizedError- User lacks admin permissionInternalServerError- Unexpected server error
channelSection.reorder
Reorders all sections in an organization. Takes an ordered array of section IDs and updates their order field accordingly. Only organization admins/owners can reorder sections.Organization ID
Ordered array of section IDs (from top to bottom)
Transaction ID for optimistic updates
UnauthorizedError- User lacks admin permissionInternalServerError- Unexpected server error
channelSection.moveChannel
Moves a channel to a different section. Set sectionId to null to move channel back to the default section. Only organization admins/owners can move channels between sections.Channel ID to move
Target section ID, or null for default section
Transaction ID for optimistic updates
ChannelNotFoundError- Channel doesn’t existChannelSectionNotFoundError- Section doesn’t exist or belongs to different organizationUnauthorizedError- User lacks admin permissionInternalServerError- Unexpected server error