Changes only what you send. properties replaces all of the form's settings, like on PUT: keys you leave out go back to their defaults, so send the form's current properties with your changes. Settings take effect right away, without publishing.
Needs an API key.
Parameters
Path
slugstringrequiredmax. 20
The form's public id, as in https://strawpoll.com/r/{slug}.
Request body application/json
namestringmax. 255
Shown only to you, e.g. in the dashboard.
isOpenboolean
Close or reopen the form. Reopening drops a close date that already passed.
archivedboolean
true archives a published form, false makes an archived form published again.
customSlugstring | nullmax. 50
The form's own link, like /team-lunch (Basic plan and up). null removes it.
linkPreviewobject | null
Own title, description and image for link previews (Pro plan and up). null removes it.
joinCodeboolean | null
true gives a published form a numeric join code, null removes it.
One of: truenull
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.
Responses
The updated form.
idstring (uuid)
slugstring
customSlugstring | null
The form's own link, null while the plan does not include it.
joinCodestring | null
The number the audience types to reach the form.
userIdstring (uuid) | null
workspaceIdstring (uuid) | null
namestring | null
titlestring
statusstring
deleted and blocked are set by moderation; such forms cannot be changed.
One of: draftpublishedarchiveddeletedblocked
responseCountinteger
isOpenboolean
themeIdstring (uuid) | null
versionstring (uuid)
Changes on every publish or replace.
currentRoundIdstring (uuid) | null
The current round of a repeating form.
templateIdstring | null
The template the form started from.
sourcestring | null
How the form was made outside the editor.
One of: apimcplinknull
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.