SnozeDevelopers
API referenceAutomations

Cancel a draft webhook capture

Deletes the caller’s capture and any captured payload, immediately preventing further requests to its temporary receiver. Requires automations:write and edit access to the automation; captures belonging to another caller or workspace cannot be canceled. Repeated cancellation is safe and does not change the automation or its runs.

DELETE
/v1/workspaces/{workspaceId}/automations/{automationId}/trigger-samples/webhook/{captureId}
AuthorizationBearer <token>

Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.

In: header

Path Parameters

workspaceId*string
automationId*string
captureId*string

Response Body

application/json

application/json

application/json

curl -X DELETE "https://example.com/v1/workspaces/string/automations/string/trigger-samples/webhook/string"
{  "data": {    "id": "string"  }}