Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/vnd.api+json
Response
webhooks_endpoint created
The response is of type object
.
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": "1403a87b-8d38-4e8b-8d06-ab327c74147d",
"type": "webhooks_endpoints",
"attributes": {
"team_id": 423,
"slug": "test-87a05633-db4b-4155-8cbc-867c74a754da",
"name": "Test",
"url": "https://test.com/test",
"secret": "nrT7kBej6p4VYgZQ",
"event_types": [
"incident.created"
],
"enabled": true,
"created_at": "2025-09-14T12:19:03.075-07:00",
"updated_at": "2025-09-14T12:19:03.075-07:00"
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
webhooks_endpoint created
The response is of type object
.
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": "1403a87b-8d38-4e8b-8d06-ab327c74147d",
"type": "webhooks_endpoints",
"attributes": {
"team_id": 423,
"slug": "test-87a05633-db4b-4155-8cbc-867c74a754da",
"name": "Test",
"url": "https://test.com/test",
"secret": "nrT7kBej6p4VYgZQ",
"event_types": [
"incident.created"
],
"enabled": true,
"created_at": "2025-09-14T12:19:03.075-07:00",
"updated_at": "2025-09-14T12:19:03.075-07:00"
}
}
}