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

Geht von deinem Browser direkt an die API und nirgendwo sonst hin. Mit „Merken“ bleibt er, bis du diesen Tab schließt. Mit einem Nur-Lesen-Schlüssel schaust du dich um, ohne etwas zu ändern.

PATCH https://new.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.