How to configure your local environment to make API calls and receive webhooks from Solvimon during development.
Sandbox API keys are available immediately — no contract required.
TEST keyStore it as an environment variable rather than hardcoding it:
Then use it in curl:
Test keys only work against test.api.solvimon.com. Using a test key against api.solvimon.com returns 401.
Solvimon needs a publicly reachable HTTPS URL to deliver webhooks. Since localhost isn’t reachable externally, use ngrok to create a tunnel during development.
ngrok prints a forwarding URL like https://a1b2c3d4.ngrok.io. Copy it.
Use POST /v1/webhooks to register your local URL:
To receive all events, omit included_actions.
Use GET /v1/webhooks:
You should see your endpoint listed with status: "ACTIVE".
The webhook signing secret is shown once when you create the webhook endpoint. Use it to verify the X-SOLVIMON-SIGNATURE header on incoming events — see the Webhooks guide for the verification steps.
ngrok tunnel expired — Free ngrok tunnels expire after a few hours. If webhooks stop arriving, run ngrok http 3000 again to get a new URL, then update the registration via PATCH /v1/webhooks/{id}:
Webhook not arriving — Your handler must return a 2XX status within 10 seconds. If it returns anything else (or times out), Solvimon queues the event for retry and holds subsequent webhooks until the queue clears. Check your server logs for errors before the response is sent.
401 Unauthorized — Confirm you’re using a test key (prefixed TEST_) against test.api.solvimon.com, not the production endpoint.