Before You Begin
Before creating a Generic Webhook Alert Source, make sure you have:- Access to create alert sources in Rootly
- A tool that can send
POSTrequests with a JSON body - A plan for how alerts should be routed after ingestion
- The fields you want Rootly to extract, such as:
- Alert title
- Description
- External identifier
- Alert state
- Routing target
Content-Type: application/json.
In production, the Generic Webhook Alert Source uses these endpoint patterns:
- Base endpoint:
POST https://webhooks.rootly.com/webhooks/incoming/generic_webhooks - Fixed target endpoint:
POST https://webhooks.rootly.com/webhooks/incoming/generic_webhooks/notify/<type>/<id>
Create and Configure the Source
Create the Generic Webhook Alert Source
Go to the new alert source page and locate Generic Webhook Alert Source.
You will be prompted to name the source.


Authenticate incoming requests
Rootly verifies inbound generic webhook requests using a Bearer Token — a static secret you provide in either of these forms:Example request (query-parameter form):
Authorization: Bearer <secret>secretas a query string or request parameter
401 Unauthorized response. Prefer the header form when your sending tool supports it — query parameters tend to be captured in proxy and load-balancer access logs.Example request (header form, recommended):Map the incoming payload fields
Generic webhook sources do not require a strict vendor-specific payload shape. Instead, you configure how Rootly should interpret the incoming JSON by mapping fields from the webhook payload.At a minimum, you should map a field for the alert title so alerts are easy to identify in Rootly.Depending on your use case, you may also want to map:
- Alert description
- External URL
- External identifier
- Alert state
- Notification target type
- Notification target ID
Configure Routing Targets
There are two main ways to tell Rootly where an alert should route.Set the target in the webhook URL
This is the simplest option when each webhook should always route to the same target.With this approach, you include the target type and target ID in the webhook URL. This is useful when alerts from a given source should always be associated with the same service, team, escalation policy, or other supported target.Common target types include:
When the target is defined in the webhook URL, you do not need to separately map the target type and target ID in the payload mapping step.
servicegrouporteamescalationPolicy

Set the target from the incoming payload
This option is more flexible when the same webhook source may need to route alerts to different targets.With this approach, your external system sends the target information in the webhook JSON body, and Rootly extracts it using your configured field mappings.Use this option when:
- A single source may route alerts to different services or teams
- Your observability tool already includes routing metadata in the webhook body
- You want the routing decision to come from the event payload itself
Test the Source
Send a test alert
After setup, send a test alert from your observability provider and confirm that Rootly receives and processes it as expected.

Confirm the alert was processed correctly
A successful test should confirm that:
- The webhook request reaches Rootly
- The payload is parsed correctly
- The alert title and other mapped fields are populated as expected
- The alert routes to the correct target
- The alert appears in Rootly
Next Steps
Auto-Resolution
Configure Rootly to resolve alerts automatically when your source sends recovery events.
Alert Workflows
Automate incidents, notifications, and follow-up actions for alerts created through this source.