Get started
Partner developer documentation
Your integration starts here.
Connect WhatsApp business numbers, queue messages, manage templates, and receive webhook events through the WG Messaging Partner API.
Before you start
Ask the platform team for your API base URL, workspace-scoped partner key, and the scopes needed by your integration. Use the supplied environment URL; the downloadable specification contains a placeholder hostname.
Make your first request
From your backend or terminal, list the workspace's active WhatsApp connections.
The key needs the connections:read scope.
curl --request GET "$WG_API_BASE_URL/partner/v1/connections" \
--header "Authorization: Bearer $WG_PARTNER_KEY"
Set these environment variables in your own environment. Never put the key in browser code or a public repository.
API reference and specification
The API reference is generated from the same OpenAPI definition available as a download. Its current description marks it as a draft that has not been validated against a running deployment. Loosely defined response objects retain that limitation in the generated reference.
Request examples are available to copy into your backend. Browser request sending is disabled because partner and management credentials are backend-only.
Integration journey
- Authenticate your backend.
- Register a new connection, or use an existing connection.
- Confirm billing readiness and template approval.
- Set up webhooks before sending your first message.
- Track delivery and handle errors and retries.
The hosted signup gateway is available in stage/preview with production qualification pending. Confirm its address and browser contract with the platform team before integrating it.