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": "1514375e-fc9d-4f0c-bb75-1bde14dc9b03",
    "type": "webhooks_endpoints",
    "attributes": {
      "team_id": 425,
      "slug": "test-08eecd48-6a4b-4c5f-bd9a-642b0313eb75",
      "name": "Test",
      "url": "https://test.com/test",
      "secret": "PkbxaLoj3uU6WvMk",
      "event_types": [
        "incident.created"
      ],
      "enabled": true,
      "created_at": "2025-10-07T00:23:47.710-07:00",
      "updated_at": "2025-10-07T00:23:47.710-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
I