# List incoming webhooks

Returns a list of all your incoming webhooks. This endpoint [supports pagination](https://betterstack.com/docs/uptime/api/pagination/).

[endpoint]
base_url = "https://uptime.betterstack.com"
path = "/api/v2/incoming-webhooks"
method = "GET"

[[query_param]]
name = "team_name"
description = "Filter incoming webhooks belonging to a specified team when using [global API token](https://betterstack.com/docs/uptime/api/getting-started-with-uptime-api/#get-a-global-api-token)."
required = false
type = "string"

[[header]]
name = "Authorization"
description = "Bearer `$TOKEN`"
required = true
type = "string"
[/endpoint]

[responses]
[[response]]
status = 200
description = '''Returns list of existing incoming webhooks'''
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://uptime.betterstack.com/api/v1/incoming-webhook/[token]",
        "sample_query_string": null,
        "sample_headers": null,
        "sample_body": null,
        "team_name": "Testing",
        "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://uptime.betterstack.com/api/v2/incoming-webhooks?page=1",
    "last": "https://uptime.betterstack.com/api/v2/incoming-webhooks?page=1",
    "prev": null,
    "next": null
  }
}'''

[/responses]

#### Example cURL 

```shell
[label Example]
curl --request GET \
  --url https://uptime.betterstack.com/api/v2/incoming-webhooks \
  --header "Authorization: Bearer $TOKEN"
```

[info]
#### Looking for the details of a specific parameter?
Explore [the list of all incoming webhooks API parameters](https://betterstack.com/docs/uptime/api/incoming-webhooks-response-params/).
[/info]
