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": "69449a40-8909-43b4-a653-3a814c9ed5b2",
    "type": "webhooks_endpoints",
    "attributes": {
      "team_id": 414,
      "slug": "test-c7cd03a3-71b3-473f-ad23-f757dba065bb",
      "name": "Test",
      "url": "https://test.com/test",
      "secret": "zTZe5JgkS1Cpef7g",
      "event_types": [
        "incident.created"
      ],
      "enabled": true,
      "created_at": "2025-07-09T12:10:32.786-07:00",
      "updated_at": "2025-07-09T12:10:32.786-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.