---
title: "Get list of webhook delivery results for a document"
method: GET
path: "/v3/resthook_results"
tags: ["Webhooks"]
---

# Get list of webhook delivery results for a document

`GET /v3/resthook_results`

Returns the webhook (resthook) delivery results recorded for a document.

## Query parameters

- `offset` integer
- `limit` integer
- `document` string, required
- `event` 'resume.parse.succeeded' | 'resume.parse.failed' | 'resume.parse.completed' | 'invoice.parse.succeeded' | 'invoice.parse.failed' | 'invoice.parse.completed' | 'invoice.validate.completed' | 'document.parse.succeeded' | 'document.parse.failed' | 'document.parse.completed' | 'document.validate.completed' | 'document.classify.succeeded' | 'document.classify.failed' | 'document.classify.completed' | 'document.rejected' | 'annotation.validated' — The event name to subscribe to.

## Response `200`

All matching webhook delivery results.

- object
  - `count` integer, required — Number of items in results.
  - `next` string, nullable — URL to request next page of results.
  - `previous` string, nullable — URL to request previous page of results.
  - `results` RestHookResult[], required
    - `timestamp` string, date-time, required — When the webhook delivery was attempted.
    - `document` object, required
      - `identifier` string, required — Identifier of the document the webhook was fired for.
    - `event` 'resume.parse.succeeded' | 'resume.parse.failed' | 'resume.parse.completed' | 'invoice.parse.succeeded' | 'invoice.parse.failed' | 'invoice.parse.completed' | 'invoice.validate.completed' | 'document.parse.succeeded' | 'document.parse.failed' | 'document.parse.completed' | 'document.validate.completed' | 'document.classify.succeeded' | 'document.classify.failed' | 'document.classify.completed' | 'document.rejected' | 'annotation.validated', required — The event name to subscribe to.
    - `targetUrl` string, required — URL the webhook was delivered to.
    - `failed` boolean, required — True if the delivery could not reach the target (a connection-level failure).
    - `status` integer, nullable, required — HTTP status code returned by the target, or null if the delivery never connected.
    - `content` string, required — Truncated response body returned by the target.

## Other responses

- `400` — Bad request. If it is a validation error will contain a list of each invalid field
- `401` — Authorisation error
- `default` — UnexpectedError

---

[API](https://skmtc.net/affinda/apis/affinda-api-2.md) · [All operations](https://skmtc.net/affinda/apis/affinda-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/affinda/affinda-api-2/versions/6772e50cb58e/schema)
