Local development setup
How to configure your local environment to make API calls and receive webhooks from Solvimon during development.
Sandbox credentials
Sandbox API keys are available immediately β no contract required.
- Log in to test.desk.solvimon.com
- Go to Settings β API keys
- Copy your
TESTkey
Store 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 againstapi.solvimon.comreturns401.
Receiving webhooks locally
Solvimon needs a publicly reachable HTTPS URL to deliver webhooks. Since localhost isnβt reachable externally, use ngrok to create a tunnel during development.
1. Start ngrok
ngrok prints a forwarding URL like https://a1b2c3d4.ngrok.io. Copy it.
2. Register the webhook endpoint with Solvimon
Use POST /v1/webhooks to register your local URL:
To receive all events, omit included_actions.
3. Verify itβs registered
Use GET /v1/webhooks:
You should see your endpoint listed with status: "ACTIVE".
Recommended environment variables
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.
Common issues
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.