Skip to main content
  1. The Webhook API documentation provides comprehensive guidance on how to integrate and utilize Webhook functionality for real-time event-driven communication.
  2. Our platform is designed around the concept of event-driven communication. It allows your applications to subscribe to specific events and receive instant notifications when these events occur.

Please review the following requirements for setting up your webhook endpoint

  1. Your webhook endpoint must be accessible over HTTPS. This is essential to ensure the security and integrity of data transmission.
  2. Provide us with the URL where you’d like to receive webhook payloads. Webhook payloads would be in JSON format. This URL should be publicly accessible from the internet.
  3. Ensure that your endpoint supports the HTTP POST method. Webhook payloads will be delivered via HTTP POST requests.
  4. Configure your endpoint to respond immediately to the CometChat server with a 200 OK response.
  5. We recommend you use Basic Auth while configuring webhook, so as to validate incoming webhook requests.
Here is the list of properties associated with Webhook.

Constraints

The list of triggers that are supported

Payload structure of events

Groups

group_created:
group_updated:
group_deleted:
group_owner_transferred:
group_member_added:
group_member_banned:
group_member_unbanned:
group_member_joined:
group_member_left:
group_member_scope_changed:
group_member_kicked:

Messages

message_sent:
message_edited:
message_deleted:
message_delivery_receipt:
message_read_receipt:
message_reaction_added:
message_reaction_removed:

Users

user_connection_status_changed:
user_blocked:
user_unblocked:
user_mentioned:

Calls & Meetings

call_initiated:
call_started:
call_ended:
call_participant_joined:
call_participant_left:
meeting_started:
meeting_participant_joined:
meeting_participant_left:
meeting_ended:
recording_generated:

Campaigns

after_campaign_completed:
after_campaign_failed:
after_notification_created:
after_feed_item_sent:
after_feed_item_delivered:
after_feed_item_read:
after_feed_item_interacted:
after_push_notification_sent:
after_push_notification_delivered:
after_push_notification_clicked: