Actions85
- Assessment Actions
- Assessment Data File Actions
- Assessment Data File (Invited) Actions
- Assessment Event Actions
- Assessment Invite Actions
- Assessment Preference Actions
- Assessment Template Actions
- Chatter Actions
- End User Actions
- End User Watchlist Actions
- First Party Alert Actions
- First Party Watchlist Actions
- Leak File Search Actions
- Research Actions
- Third Party Alert Actions
- Third Party Watchlist Actions
Assessment Template → Count Templates
AI-generatedSummary
Count the total number of assessment templates matching optional filters using the HackNotice API.
Inputs
- Document ID — Mongo-style document ID used in the URL path for this call; optional for this operation.
- Page Number — Zero-based page index for paginated endpoints, unused for the count operation but present in operation parameters.
- Invite Code — Invite code segment for routes, not applicable for this operation but included in parameters.
- Request Body — JSON object containing optional filters to refine which assessment templates are counted. Use an empty object {} to count all templates.
Output shape
a single record with fields { count, pageSize, pageCount }
Returns an array with one object containing the numeric total count of matching assessment templates, the fixed page size (50), and the number of pages (ceiling of count/pageSize). If no filters are given, counts all available templates.
Examples
Example 1: Count all assessment templates
Set Resource to Assessment Template, Operation to Count Templates, and provide an empty JSON object {} in Request Body.