---
title: "Get webhook"
method: GET
path: "/orgs/{org_slug}/webhooks/{webhook_id}"
tags: ["webhooks"]
---

# Get webhook

`GET /orgs/{org_slug}/webhooks/{webhook_id}`

Get a webhook for 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
- `webhook_id` string, required

## Response `200`

Webhook details

- object
  - `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

## 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)
