Choosing a provider
Every channel runs on one of two things. Pigeon makes them look identical to your code, which means the choice is about risk and cost rather than about integration work.
What does not change
The request body, the response, the status vocabulary, the webhook payload and the error codes are the same either way. No provider name appears in anything Pigeon sends you. Moving a channel from one to the other does not change a line of your code.
What does
| OpenWA (self-hosted) | Cloud API (Meta) | |
|---|---|---|
| Cost per message | None. You pay for the server. | Meta's conversation pricing, passed through at cost. |
| Setup | Scan a QR code with the phone. | Business verification with Meta. Days to weeks. |
| 24-hour window | Does not apply. | Enforced. Templates required outside it. |
| Templates | Not needed. | Pre-approved by Meta before you can send them. |
| Risk | The number can be banned by WhatsApp. | The account can be restricted by Meta. |
| Who owns the number | You. Any ordinary WhatsApp number. | Registered to your Meta Business account. |
| Suits | Internal tools, low volume, countries where cost matters most. | Anything you cannot afford to have stop. |
Choosing by stakes
The question worth asking is what happens if the number stops.
- An internal tool, alerts to your own team, a side project: OpenWA. If it breaks you notice and re-link it.
- Order updates and OTPs for paying customers: Cloud API. A ban here is lost revenue and support tickets, and the per-message cost is cheaper than that.
- High volume in a price-sensitive market: OpenWA, on a number you can afford to lose, with Cloud API as the fallback.
Running both
A channel can name a fallback_channel. If the first provider cannot take the message, Pigeon sends it on the fallback instead — once, never silently, and never when the outcome of the first attempt is unknown. Re-sending something that may already have been delivered would mean the recipient gets it twice, which is worse than the failure.
The failover is recorded on the message, so a channel that keeps falling back is visible rather than quietly papered over.
Self-hosting Pigeon itself
Separate question from which provider you use. Pigeon runs on your own infrastructure with Docker Compose, including the OpenWA gateway, so message content and customer phone numbers never leave your servers. That is why self-hosting is a first-class path rather than an afterthought: in several markets it is the only version anybody is allowed to use.
Messages
Templates and the 24-hour window in practice.
Error codes
Which errors come from which provider.