パラメーター
パス
slugstring 必須 max. 20The form's public id, as in
https://strawpoll.com/r/{slug}.
レスポンス
The copy, as the form list shows it.
idstring (uuid)slugstringcustomSlugstring | nullThe form's own link, while the plan includes it.
namestringThe name, else the (draft) title.
statusstringdeletedandblockedare set by moderation; such forms cannot be changed.指定できる値:
draftpublishedarchiveddeletedblockedisOpenbooleanresponseCountintegerworkspaceIdstring (uuid) | nullsectionTypesarray of stringEach section's type in order, with question variants like
yes_noorratingin place ofcontent.opensAtstring (date-time) | nullclosesAtstring (date-time) | nullcreatedAtstring (date-time)updatedAtstring (date-time)deletedAtstring (date-time) | null
試してみる
ブラウザからAPIへ直接送られ、ほかには送られません。「記憶する」をオンにすると、このタブを閉じるまで保持されます。 読み取り専用キーなら、何も変更せずに試せます。
https://new.strawpoll.com/api/v4/forms/{slug}/duplicateキーが必要なリクエストを送るには、APIキーを貼り付けてください。
キーを使ったリクエストは、プランの1日あたりのAPIリクエスト数に含まれます。