Create and Manage Webhooks
A webhook gives your systems a URL they can send data to. Each request to that URL runs the ingestion plan attached to the webhook, with the request body available to the plan.
For the payload format, authentication fields, limits and troubleshooting, see Ingestion Webhooks: Technical Guide.
Before you begin
You need the Admin role in Sprinto.
Create the entity type the data will be stored in, and the ingestion plan that maps the webhook body to it. See Where the payload appears in your plan.
Decide how the sender will authenticate: API key, bearer token or HMAC signature.
Create a webhook
Go to Ingestion → Webhooks and click New webhook.
Enter a Name that says what sends the data and what it contains, for example
Device SyncorIncident Events. Add a Description if others will manage the webhook.Choose an Auth Type and fill in Auth Config. See Authentication for the fields each type needs.
Use No Auth only for testing. Anyone who has the URL of a webhook without auth can send data to it.
Optional: set Event ID Config, Challenge Config, Rate Limit Per Minute and Max Payload Bytes. The defaults work for most senders. See Duplicate events and Limits.
Click Save. Sprinto creates the webhook and its URL.
Open the webhook, click Attach Plan and choose the plan that should process its events. Optionally add a Filter Expression or a Runtime Params Mapping (see Filter events and Map values to plan parameters). Then click Attach.
Test the webhook: click Copy cURL, replace the sample body with a real record, and run the command. You should get HTTP
202. The event appears under Recent Events. Open its plan run to check that the records were stored.Give the Webhook URL to the system that will send events.
Manage a webhook
Open the webhook from Ingestion → Webhooks and use these actions:
Edit
Change the name, authentication, advanced settings or limits. Changes apply to the next request.
Rotate ID
Issues a new webhook URL. The old URL stops working immediately, so update every sender. Use it if the URL may have been exposed.
Delete
Removes the webhook permanently. Requests to its URL get 404. This can't be undone.
Detach Plan
Stops running the plan for new events. The webhook keeps receiving and recording events.
To check what a webhook has received, see Recent Events on the webhook page. For what each status means, see Monitor events.
Related Information
Last updated

