WhatsApp API Tutorials

Developers

Webhook Integration for Custom Apps

Receive inbound messages and delivery status via webhooks — authentication, payload structure, and retry handling.

Use webhooks when native CRM connector does not exist. Common pattern: inbound message → your API → CRM create lead → Ominiflow API send reply.

How It Works

  1. 1
    Generate webhook URLOminiflow developer settings → create endpoint with secret token.
  2. 2
    Subscribe to eventsmessages, message_status, template_status as needed.
  3. 3
    Verify signatureValidate X-Hub-Signature on incoming POST requests.
  4. 4
    Handle idempotencyStore message IDs — Meta may retry webhooks on timeout.
  5. 5
    Return 200 quicklyProcess async; respond within 5 seconds to avoid retries.

Related

Need help? Chat with AI