Skip to main content
Returns a tappable WhatsApp link and an inline PNG QR code for your agent’s approved WhatsApp number. Both open a chat with Hello! prefilled. The person must tap Send to send the message to your agent. Unlike shared iMessage onboarding, WhatsApp does not require a connect message. This endpoint does not send a message, provision a number, or enable WhatsApp access.

Query parameters

Response (200)

JSON
When the agent does not have enabled WhatsApp access, number, message_link, and message_qr_png_data_url are null, and ready is false. An enabled but temporarily unavailable channel retains its number, link, and QR code with ready: false. A link or QR code is not proof of current availability; check ready before presenting the agent as available.

Error responses

Code examples

These SDK and CLI helpers require version 0.7.29 or later.
The SDK examples use an identity-scoped API key. With an organization-wide key, pass agent_identity_id in Python, agentIdentityId in TypeScript, or Some(&identity_id) in Rust. You can also call identity.get_whatsapp_onboarding() in Python or Rust, or identity.getWhatsAppOnboarding() in TypeScript, after retrieving your agent identity.

Receive the first message

  1. Share the message link or display the QR code.
  2. The person opens the link or scans the code, then taps Send in WhatsApp.
  3. The message appears in the agent’s WhatsApp conversations. A subscribed agent receives a whatsapp.received webhook.
Your existing phone contact rules still apply. Opening the link or scanning the QR code alone does not send a message.