Parametri
Percorso
slugstring obbligatorio max. 20The form's public id, as in
https://strawpoll.com/r/{slug}.
Risposte
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 tra:
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
Provalo
Inviata dal tuo browser direttamente all’API, da nessun’altra parte. Con «Ricorda» resta finché non chiudi questa scheda. Con una chiave di sola lettura puoi esplorare senza cambiare nulla.
https://new.strawpoll.com/api/v4/forms/{slug}/duplicateIncolla una chiave API per inviare le richieste che ne hanno bisogno.
Le richieste con chiave contano nelle richieste API giornaliere del tuo piano.