# 查询 webhook (/zh/docs/pix-processamento/endpoints/webhooks/get_user_webhook)

## GET /user/webhooks/{id}

`GET https://api.payzu.processamento.com/v1/user/webhooks/{id}`

Returns a single webhook.

Guia: Webhooks (/docs/pix-processamento/webhooks)

### Path params

| Field | Type | Required | Details |
| --- | --- | --- | --- |
| `id` | string | yes | Webhook id. |

### Responses

**200** Webhook.

| Field | Type | Required | Details |
| --- | --- | --- | --- |
| `id` | string | no | Webhook id. |
| `url` | string | no | Address in your system where PayZu sends the event notification. |
| `active` | boolean | no | Somente webhooks ativos recebem entregas. |
| `events` | object[] | no | Subscribed events. Empty means all events. |
| `hasSecret` | boolean | no | Whether the webhook has an HMAC signing secret. |
| `createdAt` | string | no | Date and time the webhook was registered on the account. — format: date-time |
| `updatedAt` | string | no | Date and time of the last change to the webhook. — format: date-time |

**400** Invalid request

| Field | Type | Required | Details |
| --- | --- | --- | --- |
| `status` | string | yes | Fixed marker of an error response. |
| `error` | string | yes | Name of the corresponding HTTP status. |
| `errorCode` | string | yes | Stable machine-readable error code, when available. |
| `message` | string | yes | Human-readable error message. |
| `statusCode` | integer | yes | HTTP status code. |
| `requestId` | string | yes | Unique request correlation ID (cuid). Include it when contacting support. |
| `details` | object[] | no | Field-level validation errors, when applicable. |
| `details.field` | string | yes | Path of the field rejected in validation, without the leading slash. |
| `details.message` | string | yes | Reason that field was rejected, in Portuguese. |
| `retryAfterSeconds` | integer | no | Seconds to wait before retrying. Present only on 429 responses. |

**401** Authentication failure

| Field | Type | Required | Details |
| --- | --- | --- | --- |
| `status` | string | yes | Fixed marker of an error response. |
| `error` | string | yes | Name of the corresponding HTTP status. |
| `errorCode` | string | yes | Stable machine-readable error code, when available. |
| `message` | string | yes | Human-readable error message. |
| `statusCode` | integer | yes | HTTP status code. |
| `requestId` | string | yes | Unique request correlation ID (cuid). Include it when contacting support. |
| `details` | object[] | no | Field-level validation errors, when applicable. |
| `details.field` | string | yes | Path of the field rejected in validation, without the leading slash. |
| `details.message` | string | yes | Reason that field was rejected, in Portuguese. |
| `retryAfterSeconds` | integer | no | Seconds to wait before retrying. Present only on 429 responses. |

**404** Resource not found

| Field | Type | Required | Details |
| --- | --- | --- | --- |
| `status` | string | yes | Fixed marker of an error response. |
| `error` | string | yes | Name of the corresponding HTTP status. |
| `errorCode` | string | yes | Stable machine-readable error code, when available. |
| `message` | string | yes | Human-readable error message. |
| `statusCode` | integer | yes | HTTP status code. |
| `requestId` | string | yes | Unique request correlation ID (cuid). Include it when contacting support. |
| `details` | object[] | no | Field-level validation errors, when applicable. |
| `details.field` | string | yes | Path of the field rejected in validation, without the leading slash. |
| `details.message` | string | yes | Reason that field was rejected, in Portuguese. |
| `retryAfterSeconds` | integer | no | Seconds to wait before retrying. Present only on 429 responses. |