---
title: "Get a delivery for a repository webhook"
method: GET
path: "/repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}"
tags: ["repos"]
---

# Get a delivery for a repository webhook

`GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}`

## Request

- Base URL: `http://HOSTNAME/api/v3`
- URL: `http://HOSTNAME/api/v3/repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}`
- Auth: none declared

Returns a delivery for a webhook configured in a repository.

## Path parameters

- `owner` string, required
- `repo` string, required
- `hook_id` integer, required
- `delivery_id` integer, required

## Response `200`

Response

- HookDelivery: Delivery made by a webhook.
  - `id` integer, required: Unique identifier of the delivery.
  - `guid` string, required: Unique identifier for the event (shared with all deliveries for all webhooks that subscribe to this event).
  - `delivered_at` string, date-time, required: Time when the delivery was delivered.
  - `redelivery` boolean, required: Whether the delivery is a redelivery.
  - `duration` number, required: Time spent delivering.
  - `status` string, required: Description of the status of the attempted delivery
  - `status_code` integer, required: Status code received when delivery was made.
  - `event` string, required: The event that triggered the delivery.
  - `action` string, nullable, required: The type of activity for the event that triggered the delivery.
  - `installation_id` integer, nullable, required: The id of the GitHub App installation associated with this event.
  - `repository_id` integer, nullable, required: The id of the repository associated with this event.
  - `url` string: The URL target of the delivery.
  - `request` object, required
    - `headers` object, nullable, required: The request headers sent with the webhook delivery.
    - `payload` object, nullable, required: The webhook payload.
  - `response` object, required
    - `headers` object, nullable, required: The response headers received when the delivery was made.
    - `payload` string, nullable, required: The response payload received.

## Other responses

- `400`: Bad Request
- `422`: Validation failed, or the endpoint has been spammed.

---

[API](https://skmtc.dev/github/apis/enterprise-server.md) · [All operations](https://skmtc.dev/github/apis/enterprise-server/llms.txt) · [OpenAPI document](https://skmtc.dev/github/apis/enterprise-server/revisions/5438365412fe?raw)
