HackNotice icon

HackNotice

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

Actions85

Assessment Template → List Templates (Page)

AI-generated

Summary

Retrieve a paginated list of assessment templates from the HackNotice API, optionally filtering by a JSON request body.

Inputs

  • Document ID — Mongo-style document ID used in the API URL path if applicable (not required for this operation).
  • Page Number (required) — Zero-based page index to specify which page of template results to retrieve (API page size is fixed at 50).
  • Invite Code — Invite code used in route if applicable (not required for this operation).
  • Request Body — Optional JSON object to send in the POST request body for filtering or modifying the query; use an empty object if no filters are needed.

Output shape

a list of assessment template objects in JSON array format

Returns up to 50 assessment templates per page as returned by the HackNotice API POST endpoint /assessmenttemplates/page/:pageNum. Input parameters Document ID and Invite Code are not required for this operation. The request body filter is optional and can be used to narrow results.

Examples

Example 1: List the first page of assessment templates without filters

Set Page Number to 0 and leave Request Body as {}.

Links

Discussion