Skip to main content

sendAppWebhookTestEvent

Requires permission settings:apps:install.

Queues a test event to an installed app's own webhook endpoint and returns the delivery so its outcome can be followed. The test is signed with the app's secret and is not held by the app's pause. Requires permission to install apps.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

mutation SendAppWebhookTestEvent($installationId: ID!) {
sendAppWebhookTestEvent(installationId: $installationId) {
id
status
createdAt
appInstallationId
attempts
deliveredAt
}
}

Variables:

{
"installationId": "id"
}

Response:

{
"data": {
"sendAppWebhookTestEvent": {
"id": "id",
"status": "string",
"createdAt": "2025-01-15T00:00:00Z",
"appInstallationId": "id",
"attempts": 0,
"deliveredAt": "2025-01-15T00:00:00Z"
}
}
}
sendAppWebhookTestEvent(
installationId: ID!
): WebhookDelivery!

Arguments​

sendAppWebhookTestEvent.installationId ● ID! non-null scalar​

The ID of the app installation.

Type​

WebhookDelivery object​

One attempt to deliver an event to a webhook.