Send a test payload to a webhook as an external sender posts it, to check its target and filter, also when the webhook is a draft or disabled; returns the webhook event that the call created.
Arguments
inputRunWebhookInput!requiredinput.projectReferenceStringinput.idID!requiredWebhook definition ID. Task and workflow targets accept a project-execution credential that carries native source authority from project.runs.write instead of project.agents.write. Agent targets require project.agents.write, plus project.conversations.write for conversation-backed targets.
input.payloadJSON
Responses
mutation RunWebhook($input: RunWebhookInput!) { runWebhook(input: $input) { id webhookId projectId conversationId messageId runId canonicalRunId latestEventId status duplicate payload errorCode errorMessage invokedBy manualInvokedByUserId receivedAt completedAt }}{ "data": { "runWebhook": { "id": "string", "webhookId": "string", "projectId": "string", "conversationId": "string", "messageId": "string", "runId": "string", "canonicalRunId": "string", "latestEventId": 0, "status": "string", "duplicate": false, "payload": {}, "errorCode": "string", "errorMessage": "string", "invokedBy": "string", "manualInvokedByUserId": "string", "receivedAt": "string", "completedAt": "string" } }}The WebhookRunResult! in data.runWebhook.