post
https://queries-test.envia.com/webhooks
Register a new webhook subscription to receive HTTP POST notifications whenever a selected event type occurs.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Use this endpoint to register a new webhook subscription. Once created, the platform sends HTTP POST requests to your specified URL whenever the selected event type occurs (e.g., shipment status change, surcharge applied).
When to use this endpoint
- Setting up event-driven integrations that react to shipment status changes
- Triggering order fulfillment workflows when tracking updates arrive
- Keeping external dashboards or ERPs in sync with Envia events
- Configuring billing alerts for surcharges and refunds
Considerations
- The
urlmust be a publicly reachable HTTPS endpoint capable of receiving JSON POST requests - Retrieve available event types from Webhook types to get the correct
type_id - Set
activeto0to create the webhook in a disabled state for testing before enabling it - Multiple webhooks can be registered for the same event type with different URLs
- Returns the created webhook object with its assigned
id, which can be used with Update webhook
Related endpoints
- Webhook types — look up available event types before creating
- All webhooks available — verify the subscription was created
- Update webhook — modify URL, type, or active status later
