Webhooks (legacy)
A legacy webhook posts an event to an HTTPS URL you register, as a JSON POST, and your endpoint replies with any 2xx status code. Timestamps in the payload are YYYY-MM-DD HH:MM:SS in UTC. Legacy webhooks get no new features. For anything new, use Events. The Events page also explains how to switch.
The four events
SMS from a device
Sent when a device sends an SMS to +55555. In Events this is simcard.sms.mo.
IMEI change
Sent when the network reports the SIM in a device with a different IMEI. oldIMEI is the previous IMEI, or empty if the SIM had none. action is disabled when theft protection disabled the SIM, and None when nothing was done. In Events this is simcard.security.imei_changed. See Theft protection to block a change instead of only reporting it.
SIM state change
Sent whenever a SIM is enabled or disabled, whatever caused it. old_state and new_state are enabled or disabled. In Events these are simcard.state.enabled and simcard.state.disabled.
Usage limit reached
Sent when a SIM passes its monthly data or SMS cap and is disabled. Usage is reported when sessions close, so a SIM can finish slightly over its cap. In Events this is simcard.usage.threshold_exceeded. See Usage limits.
Set up a legacy webhook
Create an HTTPS endpoint that accepts POST requests and returns a 2xx status code. Only the status code matters, not the response body.
Register the URL in the dashboard under Integrations → Webhooks. Each event type has one URL.
Simbase sends a test event. If your endpoint replies with a 2xx status code, the webhook is saved and starts receiving events.
Delivery and security
Retries: if your endpoint doesn't return a 2xx status code, Simbase tries again after 15 minutes, and once more if that fails. After three attempts in total the event is dropped and you get an email.
Not signed: legacy webhook requests carry no signature. Each request has an
x-simbase-requesttokenheader, a request ID that stays the same on retries. It is not a secret, so it doesn't prove the request came from Simbase. To verify requests, use Events.No IP allowlists: Simbase sends from addresses that change over time, so an allowlist will break.
Common questions
Yes, for anything new. Events cover the same four situations and more, can send many event types to one URL, sign every request and keep a delivery log. Run both side by side while you switch.
Not with legacy webhooks: each event type has one URL. Events can send to several destinations.
Yes. The API has endpoints to list, create and delete webhooks. See the API documentation.
Related
Events: the replacement for legacy webhooks
SMS: sending and receiving SMS
SIM state: what Enabled and Disabled mean and what changes them
Usage limits: set the cap behind the usage event
API keys: create a key for your integration



