Log in and test webhooks from the terminal
npx joinsimplesms loginopens the console for you to approve and stores a new test key for the machine, then prints your sandbox number. No key to copy. Test keys only;login --keystill stores one you have. See CLI.npx joinsimplesms listen --forward-to http://localhost:3000/webhooksreplays your events to a local server, signed like real webhooks with a secret it prints. No tunnel. Your configured endpoints are not touched. See Test locally.npx joinsimplesms trigger message.receivedfires a sandbox event.- Webhook endpoints over the API:
POST /v1/webhooks(returns the signing secret once),GET/PATCH/DELETE /v1/webhooks/{id}, andwebhooks.create / get / update / deletein the Node and Python SDKs (2.1.0). Restricted keys need the newwebhooks:writescope; the existingwebhooksscope stays read-only. GET /v1/events/wait: long-poll for new events (events.waitin the SDKs).- JSON errors on the API host: an unknown path on
api.joinsimplesms.comnow answers404with{"error":{"code":"not_found",...}}instead of an HTML page, and an unsupported method answers405method_not_allowedwith anAllowheader instead of an empty body.