Janore
Start free
โ† Back to docs

WhatsApp

Reply on WhatsApp, automatically.

Connect your WhatsApp Business number through Meta's Cloud API. Janore handles every incoming message in your customer's language.

Prerequisites

  • A Meta Business account.
  • A WhatsApp Business phone number โ€” not a personal number. The number must not be active in the consumer WhatsApp app.
  • A Meta App at developers.facebook.com with the WhatsApp product enabled.

1. Grab three values from Meta

In the Meta App dashboard, open WhatsApp โ†’ API Setup and copy:

  • phone_number_id โ€” the WhatsApp number's internal id.
  • business_account_id โ€” your WhatsApp Business Account id.
  • access_token โ€” generate a System User token with the whatsapp_business_messaging and whatsapp_business_management scopes. System User tokens are permanent โ€” temporary tokens expire in 24h.

2. Paste them into Janore

Open Dashboard โ†’ Channels โ†’ WhatsApp โ†’ Connect. Paste the three values. Janore generates a webhook_verify_token for you โ€” copy it, you'll need it in step 3.

3. Point Meta at Janore

Back in the Meta App: WhatsApp โ†’ Configuration โ†’ Webhook.

  • Callback URL:
    https://janore.com/api/v1/channels/whatsapp/{ASSISTANT_ID}
  • Verify token: the one Janore gave you in step 2.
  • Subscribe to fields: messages.

Click Verify and save. Meta pings Janore; Janore replies with the verify token; you're connected.

4. Test it

Send a message to your WhatsApp Business number from your personal WhatsApp. Janore replies within a couple of seconds, in the customer's language. Open the assistant's Conversations tab in the dashboard to watch it live.

Proactive messages (templates)

Outside the 24-hour customer-service window, Meta requires pre-approved message templates for outbound messages. Janore can send approved templates via the API; full guide on Meta's side at developers.facebook.com/docs/whatsapp.

Troubleshooting

  • Token expired. If you used a temporary token, regenerate as a System User token. They don't expire.
  • Sandbox limits. Until you complete Meta's business verification, you're limited to 5 test recipients per number. Submit for review when you're ready to go live.
  • No reply on outbound. Check the 24-hour window: outside it, only approved templates can be sent first.
  • Webhook not verifying. Make sure the verify token in Meta matches exactly what Janore generated โ€” no trailing whitespace.