# test-mode

> Test mode: magic numbers, simulated inbound messages and test recipients.

Test mode: magic numbers, simulated inbound messages and test recipients.

| Method | Path | Operation | Scope | Test mode |
|---|---|---|---|---|
| POST | `/v1/test/inbound` | `test_inbound_create`: Simulate an inbound WhatsApp message (test mode) | `messages:send` | yes |
| GET | `/v1/test/join-qr.svg` | `test_join_qr`: QR code that opens WhatsApp to the shared test number with the START text filled in | `api_keys:write` | - |
| GET | `/v1/test/magic-numbers` | `test_magic_numbers_list`: Magic numbers for simulated outcomes in test mode | `any` | yes |
| GET | `/v1/test/recipients` | `test_recipients_list`: List test recipients | `messages:read` | yes |
| POST | `/v1/test/recipients` | `test_recipients_create`: Add a test recipient (your own phone) | `messages:send` | yes |
| DELETE | `/v1/test/recipients/{recipient_id}` | `test_recipients_delete`: Remove a test recipient | `messages:send` | yes |
| POST | `/v1/test/recipients/{recipient_id}/verify` | `test_recipients_verify`: Verify a test recipient with the code the test number sent | `messages:send` | yes |
| GET | `/v1/test/workspace` | `test_workspace_get`: The organisation's test workspace (created on first use) | `api_keys:write` | - |

Request and response schemas: the interactive reference at `https://api.wapitick.com/docs`, or `docs/api/openapi.json`.
