Skip to main content
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": "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"
    }
  }
}

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