Skip to main content

Documentation Index

Fetch the complete documentation index at: https://cometchat-22654f5b-docs-android-v6-beta2.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

This page lists the properties and constraints applicable to various CometChat systems.

API Keys

PropertyConstraints
API key valueSystem-generated, 40-character hexadecimal string
API key nameMax 100 characters, UTF8mb4 (supports all languages and emojis; one emoji = 2 characters)
API key scopeauthOnly — can only create auth tokens for users. Referred to as “Auth Key” in the dashboard and docs. fullAccess — can perform all REST API operations (create/update/delete users, groups, messages, etc.). Referred to as “REST API Key” in the dashboard and docs.
Maximum API keys per app25

Users and Groups

PropertyConstraints
Maximum members per group (all features enabled)300 (with delivery/read receipts and typing indicators)
Maximum members per group (without receipts and typing indicators)100,000
Maximum groups per user2,000
Maximum friends per user1,000
Maximum auth tokens per user100 active (rolling retention — oldest tokens archived when limit exceeded)
Maximum groups per appNo limit
Maximum unread messages per userNo limit
Maximum users per appNo limit
Maximum bot users per app25
User/Group ID (uid, guid)Max 100 characters, alpha-dash (a-z, 0-9, -, _), no spaces. Automatically lowercased.
User/Group nameMax 100 characters, UTF8mb4 (supports all languages and emojis)
User/Group avatarMust be a valid URL, max 3,000 characters. Image is not stored by CometChat — URL must remain accessible.
User profile linkMust be a valid URL, max 3,000 characters
User/Group metadataMax 5 KB (within the 10 KB POST request body limit)
User/Group tagsMax 25 tags, each up to 100 characters, UTF8mb4
Group passwordMax 100 characters
Group descriptionMax 255 characters, UTF8mb4
Presence subscriptionsActive for up to 1,000 concurrent online users per app. Beyond 1,000, presence notifications are not sent. Applies across friends, role-based, and all-user subscriptions.
Typing indicators (groups)Sent for groups with up to 1,000 online members
Unread message counts (groups)Not updated for groups with more than 300 members
Delivery/read receipts (groups)Sent for groups with up to 300 online members

Roles

PropertyConstraints
Maximum roles per app25
Role IDMax 100 characters, alpha-dash (a-z, 0-9, -, _), no spaces. Automatically lowercased.
Role nameMax 100 characters, UTF8mb4 (supports all languages and emojis)
Role descriptionMax 255 characters, UTF8mb4
Role metadataNo limit

Messages

PropertyConstraints
Maximum file upload size100 MB per message (includes file + entire POST body)
Maximum message size (including metadata)65,536 characters (~65 KB). Applies to the message JSON payload, not file uploads.
Message data objectArbitrary JSON, UTF8mb4. Reserved keys: text, attachments, custom_data, metadata. Max 10 KB for the data object. Attachment file size is counted separately.
Message tagsMax 25 tags, each up to 100 characters, UTF8mb4
Conversation tagsMax 25 tags, each up to 100 characters, UTF8mb4
Soft-deleted messages retainedYes
Permanently deleted messages (via API) retainedNo

Calling

PropertyConstraints
Maximum users per call50
Default video frame rate30 FPS
Video resolutionMin 180p, max 720p (varies by layout and user bandwidth)
Media encryptionSRTP
Audio codecOPUS
Video codecH.264