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

# Retrieve a webhook endpoint

`GET /webhooks/{id}`

## Request

- Base URL: `https://api.groundmail.dev`
- URL: `https://api.groundmail.dev/webhooks/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Response `200`

Webhook endpoint

- WebhookResponse
  - `webhook` WebhookEndpoint, required
    - `id` string, required
    - `url` string, uri, required
    - `events` WebhookEventType[], required
    - `enabled` boolean, required
    - `tenants` string[]: The tenants (`external_id`) whose email events this endpoint receives. Present only on endpoints with a tenant filter.
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required

## Other responses

- `401`: Missing or invalid API key
- `404`: Webhook not found

---

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