All endpoints

Developers / StrawPoll API / Responses

Invalidate responses

PATCH/forms/{slug}/responses

Invalidates up to 100 responses by id. They stay listed, marked invalidated, but stop counting in the results. Ids of other forms and responses already invalidated are skipped.

Needs an API key.

Parameters

Path

  • slug string required max. 20

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

Request body application/json

  • ids array of string (uuid) required

Responses

The ids that were invalidated.

  • invalidated array of string (uuid)

Try it

Create a key

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.

PATCH https://new.strawpoll.com/api/v4/forms/{slug}/responses

Paste an API key to send requests that need one.

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