Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/vnd.api+json
Response
webhooks_endpoint created
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": "ced677c6-7ace-4b36-9884-972675abed10",
"type": "webhooks_endpoints",
"attributes": {
"team_id": 480,
"slug": "test-897ae94e-a5a4-4406-94a3-a76cb20ec654",
"name": "Test",
"url": "https://test.com/test",
"secret": "RHcHVbpDhRfR5uBq",
"event_types": [
"incident.created"
],
"enabled": true,
"created_at": "2025-10-31T19:00:30.399-07:00",
"updated_at": "2025-10-31T19:00:30.399-07:00"
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
webhooks_endpoint created
Show child attributes
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": "ced677c6-7ace-4b36-9884-972675abed10",
"type": "webhooks_endpoints",
"attributes": {
"team_id": 480,
"slug": "test-897ae94e-a5a4-4406-94a3-a76cb20ec654",
"name": "Test",
"url": "https://test.com/test",
"secret": "RHcHVbpDhRfR5uBq",
"event_types": [
"incident.created"
],
"enabled": true,
"created_at": "2025-10-31T19:00:30.399-07:00",
"updated_at": "2025-10-31T19:00:30.399-07:00"
}
}
}