CometChat Developer Documentation

Welcome Ninja!

You'll find comprehensive guides and documentation to help you start working with CometChat as quickly as possible. Let's jump right in!

Get Started    

Basic Security

Basic Security is pre-enabled for most accounts automatically. If it is not enabled, please follow the steps below.

If you are using CometChat on a website

First, check if chat_auth is present in your CometChat HTML code.

If chat_auth not present

Visit the CometChat Admin Panel -> API Keys (top-right button) and copy the Auth Key

Add the following to your HTML code:

<script>
  var chat_auth = "YOUR_AUTH_KEY"; 
</script>

Then, enable the security setting from Admin Panel -> Settings -> Authentication -> Security -> "Auth Key Verification" -> "Yes".

If you are NOT using CometChat on a website

(i.e. you are using CometChat ONLY in Android/iOS/Cordova/Ionic/Xamarin/Xamarin Forms apps)

Simply enable the security setting "Enable Auth Key Verification?" from Admin Panel -> Settings -> Authentication -> Security.

Basic Security


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.