---
title: "List all webhooks"
method: GET
path: "/orgs/{org_slug}/webhooks"
tags: ["webhooks"]
---

# List all webhooks

`GET /orgs/{org_slug}/webhooks`

List all webhooks in the specified organization.

This endpoint consumes 1 unit of your quota.

This endpoint requires the following org token scopes:
- webhooks:list

## Path parameters

- `org_slug` string, required

## Query parameters

- `sort` string
- `direction` string
- `per_page` integer
- `page` integer

## Response `200`

List of webhooks

- object
  - `results` object[], required
    - `id` string, required — The ID of the webhook
    - `created_at` string, required — The creation date of the webhook
    - `updated_at` string, required — The last update date of the webhook
    - `name` string, required — The name of the webhook
    - `description` string, nullable, required — The description of the webhook
    - `url` string, required — The URL where webhook events will be sent
    - `secret` string, nullable, required — The signing key used to sign webhook payloads
    - `events` string[], required — Array of event names
    - `headers` object, nullable, required — Custom headers to include in webhook requests
    - `filters` object, nullable, required
      - `repositoryIds` string[], nullable, required — Array of repository IDs
  - `nextPage` integer, nullable, required

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Insufficient max_quota for API method
- `404` — Resource not found
- `429` — Insufficient quota for API route

---

[API](https://skmtc.dev/socket-dev/apis/socket.md) · [All operations](https://skmtc.dev/socket-dev/apis/socket/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/socket-dev/socket/revisions/bf994b75d33f/schema)
