---
title: "Get a webhook with its signing secret"
method: GET
path: "/api/v1/webhooks/{webhookId}"
tags: ["Webhooks"]
---

# Get a webhook with its signing secret

`GET /api/v1/webhooks/{webhookId}`

## Request

- Base URL: `https://otprun.com`
- URL: `https://otprun.com/api/v1/webhooks/{webhookId}`
- Auth: HTTP bearer

## Path parameters

- `webhookId` string, uuid, required

## Response `200`

OK

- WebhookBody
  - `created_at` string, date-time, required
  - `enabled` boolean, required
  - `events` string[], nullable, required
  - `id` string, uuid, required
  - `project_id` integer, required
  - `secret` string, required: HMAC key for X-OTPRun-Signature, empty for viewers
  - `updated_at` string, date-time, required
  - `url` string, required

## Other responses

- `404`: Not Found
- `422`: Unprocessable Entity
- `500`: Internal Server Error

---

[API](https://skmtc.dev/otprun/apis/otp-run-api.md) · [All operations](https://skmtc.dev/otprun/apis/otp-run-api/llms.txt) · [OpenAPI document](https://skmtc.dev/otprun/apis/otp-run-api/revisions/43d40d5f4050?raw)
