Skip to main content

Channel tags overview

Channel tags provide a flexible way to organize and categorize channels for individual users. By assigning tags to channels, you can group, manage, and display channels more efficiently, improving the user experience of channel lists.

Channel tags are useful in a variety of scenarios, including enterprise collaboration, social messaging, and customer service systems.

Key features

Tag limits

  • Maximum tags per user: 20
  • Maximum channels per tag: 1,000 (via the Platform Chat API). When exceeded, the oldest channel in the tag is automatically removed.
  • Multi-tag support: A single channel can belong to multiple tags simultaneously.

Supported channel types

Channel tags support the following channel types:

  • Direct channel (channelType: 1)
  • Group channel (channelType: 3)
  • System channel (channelType: 6)
tip

Channel tags are not supported for open channels or community channels.

Use cases

Enterprise collaboration

Organize work-related channels by category:

  • Departments: Group channels by department
  • Projects: Categorize project discussion groups
  • Clients: Tag channels for client communication
  • Internal: Separate internal and external channels

Social relationship management

Categorize channels by relationship type:

  • Family: Family member channels
  • Friends: Friend channels
  • Colleagues: Work-related channels
  • Classmates: School-related channels

Priority management

Tag channels by importance:

  • Important: High-priority channels
  • Work: Formal work communications
  • Casual: Everyday channels
  • Temporary: Short-term discussion channels

API overview

Channel tag APIs fall into two main categories:

User tag management APIs create, query, and delete tag definitions. These are the foundation for using channel tags.

DescriptionAPINotes
Create tagsCreate user channel tagsCreate tag definitions (ID and name). You must create tags before assigning them to channels. Max 20 tags per request.
List tagsList user channel tagsQuery all tags created by a user, including tag ID, name, and creation time.
Delete tagsDelete user channel tagsDelete one or more tags. Deleting a tag automatically removes all channel associations. Max 20 tags per request.
tip
  • Tag ID: max 10 characters, must be unique per user
  • Tag name: max 15 characters
  • Max 20 tags per request

Typical workflow

  1. Create tags: Use Create user channel tags to define tags for a user.
  2. Assign channels: Use Add channels to a tag to add channels to the appropriate tags.
  3. Query:
  4. Maintain: