---
title: "Get a webhook subscription and its recent deliveries"
method: GET
path: "/v1/webhooks/{id}"
tags: ["Webhooks"]
---

# Get a webhook subscription and its recent deliveries

`GET /v1/webhooks/{id}`

## Request

- Base URL: `https://api.gojinko.com`
- URL: `https://api.gojinko.com/v1/webhooks/{id}`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

## Path parameters

- `id` string, required

## Response `200`

Webhook subscription + recent deliveries

- WebhookDetailResponse
  - `webhook` WebhookListItem, required
    - `id` number, required
    - `url` string, required
    - `events` string[], required
    - `status` string, required
    - `secret_prefix` string, required
    - `created_at` string, required
    - `updated_at` string, required
  - `recent_deliveries` WebhookDelivery[]
    - `id` number
    - `event_id` string
    - `event_type` string
    - `booking_ref` string
    - `status` string
    - `attempt_count` number
    - `last_http_status` number
    - `delivered_at` string
    - `created_at` string

## Other responses

- `400`: Bad request
- `401`: Authentication required
- `402`: Payment required — organization balance exhausted
- `404`: Resource not found
- `409`: The operation conflicts with the current state of the resource
- `410`: The resource this request names no longer exists
- `422`: Validation error
- `429`: Rate limit or quota exceeded
- `502`: The travel provider rejected the request, or an upstream call failed
- `503`: No travel provider can serve the request right now
- `504`: The travel provider did not answer in time

---

[API](https://skmtc.dev/gojinko/apis/jinko-public-api.md) - [All operations](https://skmtc.dev/gojinko/apis/jinko-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/gojinko/apis/jinko-public-api/revisions/ac5046767e4c?raw)
