Parameters
Path
slugstring required max. 20The form's public id, as in
https://strawpoll.com/r/{slug}.idstring (uuid) required
Request body application/json
namestringemailstring (email) requiredcodestringweightnumberHow many times this person's answers count.
Default:
1
Responses
The invite.
idstring (uuid)formIdstring (uuid)inviteListIdstring (uuid) | nulltypestringmanualfor unique codes.One of:
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.
Try it
Sent from your browser straight to the API, nowhere else. With “Remember” on it stays until you close this tab. A read-only key lets you look around without changing anything.
https://new.strawpoll.com/api/v4/forms/{slug}/invites/{id}Paste an API key to send requests that need one.
Requests with a key count against your plan’s daily API requests.