All endpoints

Developers / StrawPoll API / Forms

Restore from the trash

POST/forms/{slug}/restore

Restores a form that was deleted without permanent=true from the trash.

Needs an API key.

Parameters

Path

  • slug string required max. 20

    The form's public id, as in https://strawpoll.com/r/{slug}.

Responses

Done.

  • success boolean

Try it

Create a key

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.

POST https://strawpoll.com/api/v4/forms/{slug}/restore

Paste an API key to send requests that need one.

Requests with a key count against your plan’s daily API requests.