POST
/
v1
/
webhooks
/
endpoints
Creates a webhook endpoint
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": "a4118e90-64da-43e4-989c-83c87e9b9fec",
    "type": "webhooks_endpoints",
    "attributes": {
      "team_id": 414,
      "slug": "test-c31544f6-2300-4d82-8d9c-d9894d308212",
      "name": "Test",
      "url": "https://test.com/test",
      "secret": "ZPG481uLoFt69vVT",
      "event_types": [
        "incident.created"
      ],
      "enabled": true,
      "created_at": "2025-07-14T14:53:14.160-07:00",
      "updated_at": "2025-07-14T14:53:14.160-07:00"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/vnd.api+json

Response

201
application/vnd.api+json

webhooks_endpoint created

The response is of type object.