# Retrieve a webhook endpoint
Source: https://www.desktopaccountingapi.com/docs/api/reference/operations/webhookendpointsretrieve/

`GET https://api.desktopaccountingapi.com/v1/webhook-endpoints/{id}`

Operation ID: `webhookEndpoints.retrieve`. Tag: Webhooks.

Returns a webhook endpoint. The signing secret is not included; rotate it to get a new one.

Authentication: `Authorization: Bearer <secret key>`.

## Path parameters

- `id` (string, required): Unique identifier for the webhook endpoint. example `whe_01j9x4m6v4c8k2t7q0r5s3w1zg`.

## Responses

### 200

The endpoint.

Body (application/json): object (WebhookEndpoint).

- `id` (string, required): Unique identifier for the webhook endpoint. example `whe_01j9x4m6v4c8k2t7q0r5s3w1zg`.
- `objectType` (string, required): Always `webhook_endpoint`. one of `webhook_endpoint`.
- `createdAt` (string (date-time), required): When the endpoint was created. UTC, ISO 8601 with milliseconds. example `2026-10-05T16:03:59.002Z`.
- `projectId` (string, required): Unique identifier for the project. example `proj_01j9x4m6v4c8k2t7q0r5s3w1zf`.
- `url` (string, required): Where events are delivered.
- `description` (string, nullable, required): Your note about the endpoint.
- `eventTypes` (array of string, required): Subscribed event types.
- `enabled` (boolean, required): Whether events are delivered.
- `disabledReason` (string, nullable, required): Why the endpoint was disabled automatically (5 days of failed deliveries), or `null`.
- `includeSyncRequests` (boolean, required): Whether request events of synchronous calls whose caller received the result are delivered.
- `secretRotatedAt` (string, nullable, required): When the signing secret was last rotated. UTC, ISO 8601.
- `previousSecretExpiresAt` (string, nullable, required): Until when deliveries also carry a signature made with the previous secret. UTC, ISO 8601.

### Errors

Every error body is the error object described at https://www.desktopaccountingapi.com/docs/errors/.

- `400`: The request is invalid. Codes: `UNKNOWN_HEADER`, `INVALID_PARAMETER`.
- `401`: The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.
- `404`: The object does not exist in this project. Codes: `RESOURCE_MISSING`.
- `429`: Too many requests. Codes: `RATE_LIMITED`.
- `500`: Unexpected server error. Codes: `INTERNAL_ERROR`.
- `503`: QuickBooks Desktop or the service is not available. Codes: `SERVICE_UNAVAILABLE`.
