Saves changes respondents do not see until you publish. The draft holds title, themeId, properties and sections; the form's name is not part of it (rename with PATCH /forms/{slug}).
Needs an API key.
Parameters
Path
slugstringrequiredmax. 20
The form's public id, as in https://strawpoll.com/r/{slug}.
Request body application/json
titlestring
themeIdstring (uuid) | null
propertiesFormProperties
Form-wide settings. Unknown keys are dropped, unknown values fall back to the default. A request's properties replaces the saved ones: missing keys get their defaults.
sectionsarray of SectionInput
Responses
The saved draft. Sections come back as sent.
titlestring
themeIdstring | null
propertiesFormProperties
Form-wide settings. Unknown keys are dropped, unknown values fall back to the default. A request's properties replaces the saved ones: missing keys get their defaults.
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.