HackNotice icon

HackNotice

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

Actions85

Assessment → Projection Assessments

AI-generated

Summary

Sends a POST to the HackNotice /assessments/projection endpoint with an optional JSON body and returns the resulting assessment records. The body is passed through as-is, so the API defines what the projection contains.

Inputs

  • Request Body — JSON object sent as the POST body (field name assessmentRequestBody). Defaults to {}. Empty, invalid, or non-object JSON is sent as {}. The node does not document the projection or filter fields, so use the HackNotice API docs for those.
  • Document ID — Shown in the UI but not used by this route, which has no path placeholder.
  • Page Number — Shown in the UI but not used by this route, which has no path placeholder.
  • Invite Code — Shown in the UI but not used by this route, which has no path placeholder.

Output shape

One n8n item per record in the API response. An array response gives one item per element, a single object gives one item, an empty response gives none, and a primitive is wrapped as {value: ...}. Each item is linked to its input item through pairedItem.

Requests are authenticated with the hackNoticeApi credential against https://extensionapi.hacknotice.com. HTTP errors are raised as NodeApiError. Pagination is not handled by this operation. Nothing in the source shows how the projection route pages results, so check the API docs.

Examples

Example 1: Fetch assessments using the API's default projection

Resource: Assessment; Operation: Projection Assessments; Request Body: {}

Example 2: Fetch assessments with a custom filter or projection

Resource: Assessment; Operation: Projection Assessments; Request Body: a JSON object with the filter or projection fields the API expects

Links

Discussion