Creates a new webhook endpoint from provided data
curl --request POST \
--url https://api.rootly.com/v1/webhooks/endpoints \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '
{
"data": {
"type": "webhooks_endpoints",
"attributes": {
"name": "<string>",
"url": "<string>",
"secret": "<string>",
"event_types": [
"incident.created"
],
"enabled": true
}
}
}
'{
"data": {
"id": "db3e607d-94ea-4864-b15e-d8b54b0114a0",
"type": "webhooks_endpoints",
"attributes": {
"team_id": 505,
"slug": "test-9a41de1b-8d98-4764-bfe2-252756b9da3f",
"name": "Test",
"url": "https://test.com/test",
"secret": "GaFsHS6gUPjYUCCT",
"event_types": [
"incident.created"
],
"enabled": true,
"created_at": "2025-12-13T18:53:20.848-08:00",
"updated_at": "2025-12-13T18:53:20.848-08:00"
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
webhooks_endpoints Show child attributes
The name of the endpoint
The URL of the endpoint.
The webhook signing secret used to verify webhook requests.
incident.created, incident.updated, incident.in_triage, incident.mitigated, incident.resolved, incident.cancelled, incident.deleted, incident.scheduled.created, incident.scheduled.updated, incident.scheduled.in_progress, incident.scheduled.completed, incident.scheduled.deleted, incident_post_mortem.created, incident_post_mortem.updated, incident_post_mortem.published, incident_post_mortem.deleted, incident_status_page_event.created, incident_status_page_event.updated, incident_status_page_event.deleted, incident_event.created, incident_event.updated, incident_event.deleted, alert.created, pulse.created, genius_workflow_run.queued, genius_workflow_run.started, genius_workflow_run.completed, genius_workflow_run.failed, genius_workflow_run.canceled webhooks_endpoint created
Show child attributes
Unique ID of the webhooks_endpoint
webhooks_endpoints Show child attributes
The name of the endpoint
The slug of the endpoint
The URL of the endpoint.
incident.created, incident.updated, incident.in_triage, incident.mitigated, incident.resolved, incident.cancelled, incident.deleted, incident.scheduled.created, incident.scheduled.updated, incident.scheduled.in_progress, incident.scheduled.completed, incident.scheduled.deleted, incident_post_mortem.created, incident_post_mortem.updated, incident_post_mortem.published, incident_post_mortem.deleted, incident_status_page_event.created, incident_status_page_event.updated, incident_status_page_event.deleted, incident_event.created, incident_event.updated, incident_event.deleted, alert.created, pulse.created, genius_workflow_run.queued, genius_workflow_run.started, genius_workflow_run.completed, genius_workflow_run.failed, genius_workflow_run.canceled The webhook signing secret used to verify webhook requests.
Date of creation
Date of last update
Was this page helpful?
curl --request POST \
--url https://api.rootly.com/v1/webhooks/endpoints \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '
{
"data": {
"type": "webhooks_endpoints",
"attributes": {
"name": "<string>",
"url": "<string>",
"secret": "<string>",
"event_types": [
"incident.created"
],
"enabled": true
}
}
}
'{
"data": {
"id": "db3e607d-94ea-4864-b15e-d8b54b0114a0",
"type": "webhooks_endpoints",
"attributes": {
"team_id": 505,
"slug": "test-9a41de1b-8d98-4764-bfe2-252756b9da3f",
"name": "Test",
"url": "https://test.com/test",
"secret": "GaFsHS6gUPjYUCCT",
"event_types": [
"incident.created"
],
"enabled": true,
"created_at": "2025-12-13T18:53:20.848-08:00",
"updated_at": "2025-12-13T18:53:20.848-08:00"
}
}
}