List all incoming webhooks

Returns a list of all your incoming webhooks.

GET https://betteruptime.com/api/v2/incoming-webhooks

Headers

Authorization
required string
200

Response body

{
  "data": [
    {
      "id": "4",
      "type": "incoming_webhook",
      "attributes": {
        "name": "test",
        "created_at": "2023-01-23T14:18:07.408Z",
        "updated_at": "2023-01-23T14:18:07.408Z",
        "policy_id": null,
        "url": "https://betteruptime.com/api/v1/incoming-webhook/[token]",
        "sample_query_string": null,
        "sample_headers": null,
        "sample_body": null,
        "call": false,
        "sms": false,
        "email": true,
        "push": true,
        "team_wait": 180,
        "recovery_period": 0,
        "paused": false,
        "started_rule_type": "unused",
        "acknowledged_rule_type": "unused",
        "resolved_rule_type": "unused",
        "started_rules": [

        ],
        "acknowledged_rules": [

        ],
        "resolved_rules": [

        ],
        "cause_field": null,
        "started_alert_id_field": null,
        "acknowledged_alert_id_field": null,
        "resolved_alert_id_field": null,
        "other_started_fields": null,
        "other_acknowledged_fields": null,
        "other_resolved_fields": null
      }
    }
  ],
  "pagination": {
    "first": "https://betteruptime.com/api/v2/incoming-webhooks?page=1",
    "last": "https://betteruptime.com/api/v2/incoming-webhooks?page=1",
    "prev": null,
    "next": null
  }
}

Example cURL

curl --request GET \
  --url https://betteruptime.com/api/v2/incoming-webhooks \
  --header 'Authorization: Bearer YOUR_API_TOKEN'
Copied!