surveys
List surveys
Changed onRetrieve a list of surveys configured on the platform.
Surveys Overview:
- Surveys are admin-defined questionnaires consisting of multiple choice or text polls.
- Requires Administrator authorization.
- Supports standard pagination controls and active status filtering.
get/api/surveys
Request
- Base URLhttps://dev.to
- Auth
- API key in header api-key
- or HTTP bearer
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
Changes
- warning
added the new
beta_testingenum value to the/response property for the response status
- warning
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info