Connect WhatsApp Business
Connect a Photon SMS number to WhatsApp Business through Meta, then send your agent its first WhatsApp message.
WhatsApp Business lets people message your agent on WhatsApp. You pick one of your project's SMS numbers and connect it to a WhatsApp Business Account through Meta. That number is your agent's. Send it a WhatsApp message, and the message reaches your project.
Prerequisites
You need:
- A project from Set up your project.
- An SMS number in your project, from Connect SMS.
- A Facebook account, to sign in to Meta's window.
- A card on file for your organization. Connecting is free, but Photon registers a number only after a card is on file.
- A phone with WhatsApp on a different number, to send the first message.
Choose your SMS number
Open WhatsApp Business in your project. Under Connect WhatsApp, choose Use a Photon SMS number. Then pick your number from Select a number.
Connect through Meta
Select Continue with Meta. Meta's window opens. Sign in and follow its steps to connect a WhatsApp Business Account and add your number.
Meta may text a code to the number to verify it. The code shows on the WhatsApp Business page, not in the number's SMS Inbox. Copy it, enter it in Meta's window, and finish there.
If your project already has a connected account, you see Register instead of Continue with Meta. Leave Display name empty to use your agent profile's name, and select Register. Photon verifies the number for you, so there is no code to enter.
Message your agent's number
Photon registers the number with WhatsApp. This usually takes a few seconds. Then the number appears under Numbers. This is your agent's number.
On your phone, open WhatsApp and start a chat with the agent's number. Send any message, such as hi.
Check that it arrived
Under Numbers, open the agent's number and select Inbox. Your message appears there. WhatsApp messages to the agent's number now reach your project.
How a WhatsApp Business number works
- Each project connects one WhatsApp Business Account. To add another number, return to WhatsApp Business and pick it under Connect WhatsApp.
- A Photon SMS number registers for WhatsApp Business only through Photon. You can't register it with another WhatsApp provider.
- Meta's verification codes never appear in the number's SMS Inbox or SMS history. Read them on the WhatsApp Business page while you connect.
- Meta reviews the number's display name before recipients see it.
To connect a number you already control, choose Bring your own number instead. Meta's window does the whole setup. To add SMS numbers to a connected account from code, use Create WhatsApp VoIP sender.
If your message doesn't arrive
| What you see | What to check |
|---|---|
| Get a number instead of a number to pick | Your project has no SMS number free to register. Select Get a number to buy one. |
| Your number shows Activating | A new SMS number takes about 15 minutes to activate. Wait, then pick it. |
| Add a card opens, or the page says This organization has no card on file | Photon needs a card on file to register a number. Owners and admins can add one. |
| The WhatsApp window was closed before finishing | Nothing was connected. Select Open Meta's window and finish there. |
| Your message isn't in Inbox | That you sent a WhatsApp message, not an SMS, to the agent's number. Then open the card under Business account and check that Message subscription reads Subscribed. |
Next: receive messages
Get each message to your agent's number as an event in your code.