Parametri
Percorso
slugstring obbligatorio max. 20The form's public id, as in
https://strawpoll.com/r/{slug}.idstring (uuid) obbligatorio
Corpo della richiesta application/json
namestringemailstring (email) obbligatoriocodestringweightnumberHow many times this person's answers count.
Predefinito:
1
Risposte
The invite.
idstring (uuid)formIdstring (uuid)inviteListIdstring (uuid) | nulltypestringmanualfor unique codes.Uno tra:
emailmanualnamestring | nullemailstring | nullphonestring | nullcodestring | nullinvitedbooleanWhether the invite was emailed.
weightnumberHow many times this person's answers count.
responseIdstring (uuid) | nullAlways null in a secret ballot.
createdAtstring (date-time)respondedAtstring (date-time) | nullAlways null in a secret ballot.
respondedbooleanWhether the invite or code was used. Not on newly created ones.
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}/invites/{id}Incolla una chiave API per inviare le richieste che ne hanno bisogno.
Le richieste con chiave contano nelle richieste API giornaliere del tuo piano.