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 directly to the API and nowhere else. With “Remember” on it stays until you close this tab. A read-only key lets you explore the API without changing any data.
https://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.