2026-09-24

How to connect WhatsApp to a CRM

Practical steps to connect WhatsApp messaging to CRM events using API keys, webhooks, and consent practices.

1. Connect WhatsApp in Paygham

Create an account, connect your number with the browser extension or a server engine, and confirm the session is live.

2. Create an API key

In the admin, generate an API key for your CRM middleware. Store it as a secret—never in a public frontend.

3. Map CRM events to sends

When a CRM stage changes or an invoice is issued, call Paygham’s messaging API with the recipient and message body (and media if needed).

4. Subscribe to webhooks

Register a webhook URL and verify signatures. Update CRM records when messages succeed or fail.

5. Respect consent

Keep opt-in/opt-out state visible. Automation should only message people who expect operational updates.

Continue with the WhatsApp CRM integration overview or the messaging API.

Start Free