---
title: "Get project webhook"
method: GET
path: "/v1/projects/{projectId}/hooks/{hookId}"
tags: ["Hooks"]
---

# Get project webhook

`GET /v1/projects/{projectId}/hooks/{hookId}`

## Request

- Base URL: `https://api.ybug.io`
- URL: `https://api.ybug.io/v1/projects/{projectId}/hooks/{hookId}`
- Auth: HTTP bearer

Retrieves configuration details for a specific webhook on the project, including the target URL and activation state.

## Response `200`

Successful retrieval of the webhook details.

- Hook
  - `id` string, uuid
  - `event` string
  - `target_url` string, uri
  - `active` boolean
  - `created_at` string, date-time

## Other responses

- `401`: Unauthorized. Missing or invalid API token.
- `403`: Forbidden. The user does not have permission to access the resource, or the operation is restricted by the account plan.
- `404`: Not Found. The requested resource (team or project ID) could not be found.
- `429`: Too Many Requests. The rate limit for the client has been exceeded.
- `500`: Internal Server Error. An unexpected error occurred on the server.

---

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