Menu

WhatsApp Business API for Developers: What to Know Before You Build
📰

WhatsApp Business API for Developers: What to Know Before You Build

DEV Community: api·Rohan Singh·17 days ago
#q3lrsQHs
#devtoapi#devto#dev#business#messages
Reading 0:00
15s threshold

So someone on your team says “can we just add WhatsApp to the product?” and you say sure, how hard can it be. I said the same thing. It’s not hard, but there’s more to it than sending a POST request.

First question: build directly on Meta’s API or use a platform on top of it? Hold that thought, a few basics first.

The basics

The WhatsApp Business API lets software send and receive messages for a business. The regular Business app is meant for one person on one phone, while the API is for teams, automation and integrations.

Stuff that will bite you

Opt-in. You can only message people who agreed to hear from you. No shortcuts here.

Templates. Business-initiated messages usually need pre-approved templates, and approval can take a while, so don’t leave it for launch week.

The 24-hour window. After a customer messages you, you can reply more freely for a limited time. Outside that, it’s templates again.

Webhooks. Incoming messages and delivery status come in as webhook events.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.