Current Status
These pages show plain HTTP examples you can adapt in your application today. They do not require an official Composer, npm, or PyPI package.
On-Site Documentation
Use language-specific examples with the public WhatsApp Gateway API contract.
SDK Examples
SDK examples are available now. Official package releases are being prepared.
These pages show plain HTTP examples you can adapt in your application today. They do not require an official Composer, npm, or PyPI package.
Native cURL examples for sending messages, handling errors, and verifying customer webhook signatures.
Fetch and Express examples for API sends, webhook verification, and normalized event handling.
Requests and Flask examples for API sends, API errors, and customer webhook receivers.
POST /api/send-message.message_purpose values: transactional, operational, support, internal_team, and authentication.module_not_enabled, recipient_suppressed, and message_purpose_not_allowed.message.received, recipient.opted_out, message.sent, and message.failed.WhatsApp Gateway is for transactional, operational, support, internal, and authentication-style messages. Marketing, cold outreach, and bulk campaigns are not allowed.