HackerOne icon

HackerOne

Manage your HackerOne bug bounty program via API

Actions113

Program → Get Common Responses

AI-generated

Summary

Retrieve the most common response templates of a specified HackerOne program by its numeric ID, optionally limiting the number of responses returned or fetching all available responses.

Inputs

  • Program ID (required) — The numeric ID of the HackerOne program to retrieve common responses from (e.g., 59057). This ID can be found using the "Get Many" programs operation.
  • Return All — If set to true, retrieves all common response templates available for the program. If false, the number of responses returned is limited by the 'Limit' parameter.
  • Limit — When 'Return All' is false, limits the number of common responses returned. Accepts values from 1 to 100, defaulting to 25.

Output shape

a list of common response template objects related to the specified program

The output is paginated in the HackerOne API, but this operation handles pagination internally when 'Return All' is selected to return all items. If 'Return All' is false, the output list size is capped to the specified 'Limit' number of responses. Each response object contains flattened attributes and relationships per HackerOne's JSON:API format.

Examples

Example 1: Fetch first 25 common responses for program 59057

Set Program ID to 59057, Return All to false, and Limit to 25.

Example 2: Fetch all common responses for a program

Set Program ID, Return All to true, ignoring Limit parameter.

Links

Discussion