type WebhookRequest
A single delivery of a JSON payload to a webhook, together with its retry state. Retained for 90 days.
| Field | Type | Description |
|---|---|---|
id | ID! | |
webhookId | ID! | The webhook this payload is delivered to. |
ownerId | ID! | |
url | String! | Snapshot of the destination URL at dispatch time; retries keep targeting it even if the webhook is later edited. |
payload | JSON! | The JSON body delivered to the endpoint. |
status | WebhookRequestStatus! | |
attempts | Int! | How many delivery attempts have been made so far. |
lastStatusCode | Int | HTTP status code from the most recent attempt, if one has been made. |
lastError | String | Error message from the most recent attempt, if it failed. |
nextAttemptAt | DateTime | When the next attempt is scheduled, while the request is still pending. |
createdAt | DateTime! | |
updatedAt | DateTime! |