Alle Endpunkte

Entwickler / 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.

Braucht einen API-Schlüssel.

Parameter

Pfad

  • slug string Pflicht max. 20

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

Request-Body application/json

  • ids array of string (uuid) Pflicht

Antworten

The ids that were invalidated.

  • invalidated array of string (uuid)

Ausprobieren

Schlüssel erstellen

Wird von deinem Browser direkt an die API gesendet und an keine andere Stelle. Mit „Merken“ bleibt er gespeichert, bis du diesen Tab schließt. Mit einem Nur-Lesen-Schlüssel kannst du die API erkunden, ohne Daten zu ändern.

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

Füge einen API-Schlüssel ein, um Anfragen zu senden, die einen brauchen.

Anfragen mit Schlüssel zählen gegen die täglichen API-Anfragen deines Tarifs.