Skip to main content
Version: 4.2.0

⚠️ Read Before You Start

There are two different registration concepts in WhatsApp, and they are easy to mix up:

  • Your business phone number must be registered with the Cloud API before it can send messages. Use register() with the 6-digit PIN.
  • Recipients do not register with the Cloud API. They must opt in, or message your business number first. This opens the 24-hour customer service window for free-form messages.
Business number registration

Call register() for the WhatsApp Business phone number (the phone number ID used by the client), not for each recipient.

Outside the 24-hour window, use an approved template message. Templates are the only messages that can start or re-open a conversation.

📖 Official docs: Registering numbers and customer service windows.