CometChat Pro Documentation

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

SMS Notification

The SMS Notification extension helps you send SMSes to your users when they have unread messages.

There are a few steps to activate this extension:

Required: Read Receipts

Be sure to implement read receipts so that your users receive SMS notifications for only unread messages.

Configure your backend to store phone number

You can use our API to set private metadata for a user. We recommend adding this code where you call our user creation API.

The metadata is a JSON that should have the @private key present and should have the value contactNumber specified for the user. The format for the private metadata must be as follows:

  "@private": {

Setup Twilio

Note your Twilio API Key
Once you signup with Twilio for an account, login and head over to the Settings -> API Key section. Please note the API Key; you'll need it when configuring the extension.

Activate SMS Notification extension

You're all set! Go to your CometChat dashboard and activate the extension. Send a message to an offline user and watch them receive an SMS!

SMS Notification

Suggested Edits are limited on API Reference Pages

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