HackNotice icon

HackNotice

Call the HackNotice extensions API (alerts, assessments, and more)

Actions85

Assessment → List Assessments (Page)

AI-generated

Summary

Fetches one page (fixed size 50) of assessments from the HackNotice API by POSTing to /assessments/page/:pageNum, optionally with a JSON filter body.

Inputs

  • Page Number — Zero-based page index (default 0, min 0), inserted into the URL path. Negative or non-numeric values raise an error.
  • Request Body — JSON object sent as the POST body, used for filtering or sorting. Defaults to {}. Empty, invalid JSON, or non-object (including array) input is silently treated as {}.
  • Document ID — Shown in the UI but not used by this route, so it is ignored.
  • Invite Code — Shown in the UI but not used by this route, so it is ignored.

Output shape

A list of n8n items, one per assessment record in the API response. An object response becomes a single item, and a primitive is wrapped as {value}. Each item is paired to its input item.

Fetches one page only, with no automatic pagination. Increment Page Number to get further pages. A page holds at most 50 records. The accepted filter fields in the body are defined by the HackNotice API and not by this node. Authenticates with the hackNoticeApi credential.

Examples

Example 1: Fetch the first page of all assessments

Resource: Assessment; Operation: List Assessments (Page); Page Number 0; Request Body {}

Example 2: Read the third page of results

Page Number 2; Request Body {} (or a filter object accepted by the API)

Links

Discussion