Skip to main content
WG Messaging Guides

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.

Environment Target

This documentation and its interactive API examples target the Production environment (https://api.hootline.dev), and the hosted onboarding page is https://onboard.hootline.dev. Requests made against this endpoint send live WhatsApp traffic and require matching live credentials (pt_live_ / mgmt_live_).

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​

  1. Authenticate your backend.
  2. Register a new connection, or use an existing connection.
  3. Confirm billing readiness and template approval.
  4. Set up webhooks before sending your first message.
  5. Track delivery and handle errors and retries.

The production hosted signup gateway is available at https://onboard.hootline.dev (use https://stage.onboard.hootline.dev for staging tests). Confirm your allowed origin and browser contract with the platform team before integrating it.