HackNotice icon

HackNotice

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

Actions85

Assessment Event → Invited — Get Event

AI-generated

Summary

Fetches a single assessment event by document ID from the HackNotice API using the invited-event route (GET /assessmentevents/invited/:docId).

Inputs

  • Document ID (required) — Mongo-style ID of the event, URL-encoded into the path. The node throws an error if it is empty.
  • Page Number — Shown in the UI but not used by this route, since the path has no page segment.
  • Invite Code — Shown in the UI but not used by this route.
  • Request Body — Shown in the UI but ignored. This is a GET request with no body.

Output shape

One output item per input item. It holds the event record returned by the API as JSON, with pairedItem linking back to the input item. If the API returns an array, one item is emitted per element.

Errors from the API are raised as node API errors. A missing Document ID raises a node operation error. Authentication uses the hackNoticeApi credential, and the base URL is fixed at https://extensionapi.hacknotice.com.

Examples

Example 1: Look up an event's details after receiving its ID from an earlier List Events step.

Resource: Assessment Event; Operation: Invited — Get Event; Document ID: {{ $json._id }}

Links

Discussion