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": "2c307109-c49f-4e56-be65-9706407dfc61",
    "type": "webhooks_endpoints",
    "attributes": {
      "team_id": 423,
      "slug": "test-9bc20163-5b78-40af-b26b-ae1c3409f049",
      "name": "Test",
      "url": "https://test.com/test",
      "secret": "RMGyVETyTnei9Gvd",
      "event_types": [
        "incident.created"
      ],
      "enabled": true,
      "created_at": "2025-09-16T04:51:13.682-07:00",
      "updated_at": "2025-09-16T04:51:13.682-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
data
object
required

Response

webhooks_endpoint created

data
object
required