---
title: "Get webhook"
method: GET
path: "/api/mail/v1/webhooks/{webhookId}"
tags: ["Mail: Webhooks"]
---

# Get webhook

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

Retrieve the details of a single webhook. The webhook secret is never
included; it is returned only when a webhook is created or its secret
is regenerated.

## Path parameters

- `webhookId` string, required

## Response `200`

Success response

- MailV1WebhooksWebhookResource
  - `id` string — Unique webhook identifier
  - `mailbox` MailV1WebhooksWebhookMailboxResource
    - `id` string
    - `address` string
  - `name` string — Human-readable name for this webhook
  - `description` string, nullable — Optional description of the webhook's purpose
  - `events` string[] — Events that trigger this webhook
  - `status` 'active' | 'disabled' | 'paused' — Current status of the webhook
  - `url` string — URL that receives webhook POST requests
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Other responses

- `401` — Unauthenticated response
- `404` — Error response
- `422` — Error response
- `500` — Error response

---

[API](https://skmtc.net/hostinger/apis/hostinger-api.md) · [All operations](https://skmtc.net/hostinger/apis/hostinger-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hostinger/hostinger-api/revisions/74abfea76e36/schema)
