Creates a new user
Documentation Index
Fetch the complete documentation index at: https://www.cometchat.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
| Item | Constraint | Notes |
|---|---|---|
| UID character limit | 100 characters | Alphanumeric with dashes only; spaces not allowed |
| User name | 100 characters (UTF8mb4) | Supports all languages and emojis |
| Avatar URL | 3000 characters max | CometChat doesn’t store the image; no resolution limit |
| Profile URL | 3000 characters max | Same as avatar |
| Metadata | 5 KB max (within 10 KB POST limit) | Store custom key-value pairs |
| Tags | Up to 25 tags, 100 characters each (UTF8mb4) | Enable filtering and searching |
| Maximum groups per user | 2000 | Must leave existing groups to join new ones beyond limit |
| Maximum friends per user | 1000 | Bidirectional relationships count toward both users’ limits |
| Maximum auth tokens per user | 100 active (rolling retention) | Oldest tokens are archived when limit is exceeded |
| Maximum Bot users per app | 25 | Special accounts for automated messaging |
| Maximum users per app | No limit | Pricing based on Monthly Active Users (MAU) |
API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).
Unique identifier of the user. Please refer to https://prodocs.cometchat.com/docs/concepts#uid
Display name of the user.
URL to profile picture of the user.
URL to profile page.
User role of the user for role based access control.
A message providing context related to the user's current status or mood.
Additional information about the user as JSON. If you plan to use Email Notification [blocked] or SMS Notification [blocked] extensions, Please add the private metadata here.
A list of tags to identify specific users.
Includes authToken of created user in response.
Create User