Skip to content

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.
1

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.

2

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.

3

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.

4

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 seeWhat to check
Get a number instead of a number to pickYour project has no SMS number free to register. Select Get a number to buy one.
Your number shows ActivatingA 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 filePhoton needs a card on file to register a number. Owners and admins can add one.
The WhatsApp window was closed before finishingNothing was connected. Select Open Meta's window and finish there.
Your message isn't in InboxThat 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

Receive messages

Get each message to your agent's number as an event in your code.