surveys
A survey with polls
Changed onRetrieve a single survey (by ID or slug) with its nested structure.
Nested Format Details:
- Returns the target Survey object including all associated Polls, multiple choice options, and configuration states.
- Requires Administrator authorization.
get/api/surveys/{id_or_slug}
Request
- Base URLhttps://dev.to
- Auth
- API key in header api-key
- or HTTP bearer
Path parameters
id_or_slugstring required
The ID or slug of the survey.
Response
A survey with nested polls and options
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