---
title: webhook Query
seo:
  title: webhook Query
  description: 'Query: webhook Query'
slug: api-reference/webhooks/queries/webhook
sidebar:
  label: webhook
search:
  tags:
    - API reference
    - Webhooks
lastModified: '2026-08-10'
---

Look up a webhook by ID. 

Requires one of the following permissions: `MANAGE_APPS`, `OWNER`.





```graphql
webhook(id: ID!): Webhook
```

## Returns

[`Webhook`](/api-reference/webhooks/objects/webhook)

<details>
<summary>Show return type</summary>


```graphql
type Webhook implements Node {
  id: ID!
  name: String
  identifier: String
  events: [WebhookEvent!]! @deprecated(reason: "Use `asyncEvents` or `syncEvents` instead.")
  syncEvents: [WebhookEventSync!]!
  asyncEvents: [WebhookEventAsync!]!
  app: App!
  eventDeliveries(sortBy: EventDeliverySortingInput, filter: EventDeliveryFilterInput, before: String, after: String, first: Int, last: Int): EventDeliveryCountableConnection
  targetUrl: String!
  isActive: Boolean!
  secretKey: String @deprecated(reason: "As of Saleor 3.5, webhook payloads default to signing using a verifiable JWS.")
  subscriptionQuery: String
  customHeaders: JSONString
  payloadGeneration: WebhookPayloadGenerationEnum!
}
```


</details>

## Arguments

### id [#id]

**`id`** · [`ID!`](/api-reference/miscellaneous/scalars/id)

ID of the webhook.

---

Schema: **Saleor 3.23.43**. [Download SDL](/schema/saleor.graphql).
