Parámetros
Ruta
slugstring obligatorio max. 20The form's public id, as in
https://strawpoll.com/r/{slug}.
Respuestas
The copy, as the form list shows it.
idstring (uuid)slugstringcustomSlugstring | nullThe form's own link, while the plan includes it.
namestringThe name, else the (draft) title.
statusstringdeletedandblockedare set by moderation; such forms cannot be changed.Uno de:
draftpublishedarchiveddeletedblockedisOpenbooleanresponseCountintegerworkspaceIdstring (uuid) | nullsectionTypesarray of stringEach section's type in order, with question variants like
yes_noorratingin place ofcontent.opensAtstring (date-time) | nullclosesAtstring (date-time) | nullcreatedAtstring (date-time)updatedAtstring (date-time)deletedAtstring (date-time) | null
Pruébalo
Se envía desde tu navegador directamente a la API, a ningún otro sitio. Con «Recordar» se queda hasta que cierres esta pestaña. Con una clave de solo lectura puedes explorar sin cambiar nada.
https://new.strawpoll.com/api/v4/forms/{slug}/duplicatePega una clave de API para enviar las peticiones que la necesitan.
Las peticiones con clave cuentan para las peticiones de API diarias de tu plan.