ChatofyHelp Center
Enter
Developer DocsSign In
Help CenterAPI & DevelopersWebhooks Guide
Integration

Webhooks Guide

Chatofy can send outbound webhooks to your server when specific events occur. Webhooks enable real-time integrations with your backend systems.

Available Events

  • message.received — A new message is received from a customer
  • message.sent — A message was sent successfully
  • message.delivered — A message was delivered to the recipient
  • message.read — A message was read by the recipient
  • message.failed — A message delivery failed
  • contact.created — A new contact was created or upserted
  • contact.updated — Contact fields or attributes were updated
  • contact.deleted — A contact was soft-deleted
  • contact.restored — A contact was restored from soft-deletion
  • contact.merged — Duplicate contacts were merged
  • deal.created — A new deal was created
  • deal.updated — Deal attributes or owner were updated
  • deal.stage_changed — Deal was moved to a new pipeline stage
  • deal.won — Deal was moved to a won stage
  • deal.lost — Deal was moved to a lost stage with a lost reason
  • deal.deleted — A deal was soft-deleted
  • deal.restored — A deal was restored from soft-deletion
  • conversation.status_changed — A conversation was resolved or reopened

Configuring a Webhook

  1. Navigate to Settings → Webhooks
  2. Click "Add Webhook"
  3. Enter the Endpoint URL (your server endpoint)
  4. Select the events you want to subscribe to
  5. Optionally enter a Secret for HMAC signature verification
  6. Click "Save"

Webhook Payload Format

Webhooks are sent as HTTP POST requests with a JSON payload:

{ "event": "message.received", "organization_id": "uuid", "data": { "contact_id": "uuid", "conversation_id": "uuid", "message": { ... } }, "timestamp": "2026-01-01T05:30:00+05:30" }

Signature Verification

If you set a secret, Chatofy signs each webhook with an HMAC-SHA256 signature. Verify the signature in your webhook handler to ensure the request is legitimate from Chatofy.

Was this article helpful?

Your feedback helps us refine and improve Chatofy technical documentation.

Related Articles

View all API & Developers guides

Getting Started with the Chatofy API

Overview of the REST API v1, authentication, and available endpoints.

API Key Management & Security

Generate, revoke, and manage API keys with granular permission scopes.

API Reference Overview

Complete reference for contacts, campaigns, templates, and messaging endpoints.

API Rate Limits & Best Practices

Understand rate limits, throttling, and how to optimize API usage.

Chatofy Help Center
Help HomeDeveloper DocsPrivacyTerms

© 2026 Chatofy. All rights reserved.