HackNotice icon

HackNotice

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

Actions85

Assessment → Get Assessment Invite

AI-generated

Summary

Fetches a single invited assessment from the HackNotice API by document ID, using GET /assessments/invited/:docId. No request body is sent.

Inputs

  • Document ID (required) — ID of the invited assessment. It is trimmed, URL-encoded and placed in the path. The operation throws an error if it is empty.
  • Page Number — Shown in the UI but not used by this route, because 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 operation has no body, and GET requests never send one.

Output shape

The API response as JSON items. A single object becomes one item and an array becomes one item per element. Each item is paired to the input item that produced it.

Authenticates with the hackNoticeApi credential against https://extensionapi.hacknotice.com. A null response gives no items, and a primitive response is wrapped as { value }. HTTP failures are raised as node API errors.

Examples

Example 1: Look up an invited assessment whose ID came from an earlier step.

Resource: Assessment; Operation: Get Assessment Invite; Document ID: {{$json.assessmentId}}

Links

Discussion