Available endpoints for testing logging, state, and webhooks. Use the Run buttons to trigger the logging tests; check your VCR logs for the output.
| Method | Endpoint | Description | Action |
|---|---|---|---|
| GET | /log/sdk |
Log via the VCR SDK session logger, including a structured context object. | |
| GET | /log/multiline |
Emit several lines from a SINGLE console.log call. | |
| GET | /log/exception |
Force an exception, catch it, and log it with console.error (message + stack). | |
| GET | /log/uncaught |
Throw an uncaught exception with NO logging at all. | |
| GET | /logs |
Emit 100,000 timestamped console.log lines. | |
| GET | /logsBig |
Emit 1,000 large console.log lines (each with a big string). |
| Method | Endpoint | Description | Action |
|---|---|---|---|
| POST | /state/session/set |
Save { key, value } to session-scoped state. | |
| POST | /state/instance/set |
Save { key, value } to instance-scoped state. | |
| POST | /state/global/set |
Save { key, value } to account/global-scoped state. | |
| GET | /state/session/get?key=<key> |
Read a value from session-scoped state. | |
| GET | /state/instance/get?key=<key> |
Read a value from instance-scoped state. | |
| GET | /state/global/get?key=<key> |
Read a value from account/global-scoped state. |
| Method | Endpoint | Description | Action |
|---|---|---|---|
| POST | /onMessage |
Inbound WhatsApp message webhook (auto-replies "OK"). | |
| POST | /onMessageEvent |
WhatsApp message status/event webhook. | |
| ALL | /callback |
Records the last request received for later inspection. | |
| GET | /lastInbound |
Return the last inbound WhatsApp message received. | |
| GET | /lastMessageEvent |
Return the last onMessageEvent payload received. | |
| GET | /lastRequest |
Return the last request captured on /callback. |
| Method | Endpoint | Description | Action |
|---|---|---|---|
| GET | /_/health |
Health check (returns 200). |