> Documentation index: [Saleor](/llms.txt) · [This section](/api-reference/webhooks/llms.txt)
> Source: https://docs.saleor.io/api-reference/webhooks/mutations/webhook-trigger

# webhookTrigger Mutation

Trigger a webhook event. Supports a single event (the first, if multiple provided in the `webhook.subscription_query`). Requires permission relevant to processed event. Successfully delivered webhook returns `delivery` with status='PENDING' and empty payload.

Requires the AUTHENTICATED\_STAFF\_USER permission.

```graphql
webhookTrigger(
  objectId: ID!
  webhookId: ID!
): WebhookTrigger
```

Details

```graphql
type WebhookTrigger {
  delivery: EventDelivery
  errors: [WebhookTriggerError!]!
}
```

<a id="arguments"></a>

### Arguments

<a id="object-id"></a>

#### [`objectId`](#object-id) ● [`ID!`](/api-reference/miscellaneous/scalars/id.md)

The ID of an object to serialize.

<a id="webhook-id"></a>

#### [`webhookId`](#webhook-id) ● [`ID!`](/api-reference/miscellaneous/scalars/id.md)

The ID of the webhook.

<a id="type"></a>

### Type

<a id="webhooktrigger"></a>

#### [`WebhookTrigger`](/api-reference/webhooks/objects/webhook-trigger.md)

Trigger a webhook event. Supports a single event (the first, if multiple provided in the `webhook.subscription_query`). Requires permission relevant to processed event. Successfully delivered webhook returns `delivery` with status='PENDING' and empty payload.

Requires the AUTHENTICATED\_STAFF\_USER permission.
