Menu
Get Webhook Attempt
Get a webhook attempt by ID
GET
/hooks/projects/{projectId}/attempts/{attemptId}Use it in a workflow
- Add a step and choose the Sanity connector.
- Pick the Get Webhook Attempt action (under Webhooks).
- Fill in the fields below, then reference the result from later steps as
{{getWebhookAttempt.response.data}}.
Request
Path parameters
Response
Returns 200 with an object. Read it in later steps with {{getWebhookAttempt.response.data.<field>}}.
{
"id": "string",
"projectId": "string",
"inProgress": false,
"resultBody": "string",
"duration": 0,
"isFailure": false,
"failureReason": "timeout",
"resultCode": 0,
"createdAt": "2025-01-01T00:00:00Z",
"updatedAt": "2025-01-01T00:00:00Z",
"deletedAt": "2025-01-01T00:00:00Z",
"messageId": "string"
}
Need more? See the Sanity guide for connection setup and behaviour shared by every action.
Was this page helpful?