CometChat API gives an infrastructure for user management for custom coded sites. These APIs allow to create/delete a user, add/remove friends and update user details. This simple API has an intuitive flow which makes the entire process hassle-free.
Note: These API’s are available for CometChat v5.7 and greater for custom coded sites only. The user’s information will be stored in cometchat_users table in CometChat’s database and will not sync with other user table (if any) you have for your website. These API’s are intended to be used on sites that don’t already have user management.
You can find your API key listed under settings tab in CometChat administration panel as shown below:
If you wish to change or modify the key you have to change the value of $apikey in /cometchat/config.php file.
Not finding what you need?
The CometChat team is here to help!