Parameters
Path
slugstring required max. 20The form's public id, as in
https://strawpoll.com/r/{slug}.
Request body application/json
countinteger required ≥ 1, ≤ 10000lengthinteger required ≥ 4, ≤ 32stylestringOne of:
alphanumericnumericlettersDefault:
alphanumericprefixstring max. 20
Responses
The new codes.
dataarray of Invite
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}/codesPaste an API key to send requests that need one.
Requests with a key count against your plan’s daily API requests.