---
title: "Retrieve a webhook endpoint"
method: GET
path: "/webhooks/{id}"
tags: ["Webhooks"]
---

# Retrieve a webhook endpoint

`GET /webhooks/{id}`

## Request

- Base URL: `https://www.unitpost.com/api/v1`
- URL: `https://www.unitpost.com/api/v1/webhooks/{id}`
- Auth: HTTP bearer

Retrieve a single webhook endpoint by `id` — its URL, subscribed events, and status. The signing secret is never included; it's returned exactly once when the endpoint is [created](#post-webhooks). Requires the `webhooks:read` capability.

## Response `200`

The webhook endpoint.

- Webhook
  - `object` 'webhook', required
  - `id` string, required
  - `name` string, required
  - `url` string, required
  - `events` string[], required
  - `status` 'enabled' | 'disabled' | 'suspended', required
  - `created_at` string, required
  - `updated_at` string, required

## Other responses

- `401`: Missing or invalid API key.
- `403`: Insufficient scope.
- `404`: Webhook not found.

---

[API](https://skmtc.dev/unitpost/apis/unitpost-api.md) · [All operations](https://skmtc.dev/unitpost/apis/unitpost-api/llms.txt) · [OpenAPI document](https://skmtc.dev/unitpost/apis/unitpost-api/revisions/86ff7c890967?raw)
