surveys
List surveys
This endpoint allows the client to retrieve a list of surveys.
It supports pagination and optional filtering by active status.
Internal only. Admin authorization is required to access this endpoint.
get/api/surveys
Query parameters
pageinteger
Pagination page
per_pageinteger
Page size (the number of items to return per page). The default maximum value can be overridden by "API_PER_PAGE_MAX" environment variable.
activeboolean
Filter by active status. Omit to return all surveys.
Response
A list of surveys