The Kapso WhatsApp Sandbox provides a dedicated phone number allowing you to test your AI agents directly within WhatsApp without needing to configure your own WhatsApp Business number during development.

Workflow

  1. Create a Sandbox Session: Initiate a testing session using either the Kapso CLI or the web UI. This links your agent to the sandbox number for a limited time.
  2. Receive Activation Details: Upon session creation, you will receive an activation code and the sandbox WhatsApp number (often presented as a wa.me link).
  3. Activate the Session: Send the provided activation code as a message to the sandbox WhatsApp number from the phone number you intend to test with.
  4. Test your Agent: Once activated, you can interact with your agent by sending messages to the sandbox number from your test phone number.

Using the CLI

To create a sandbox session via the command line:

Create Sandbox Session
kapso create sandbox-session

The CLI will interactively prompt for the phone number you wish to test from. After confirmation, it will output the unique activation code and the WhatsApp contact link/number for the sandbox.

Using the Web UI

Sandbox sessions can also be managed through the Kapso web application.

[web]