Tutti gli endpoint

Sviluppatori / StrawPoll API / Responses

List responses

GET/forms/{slug}/responses

Every response, newest first, including invalidated ones (marked as such). total counts invalidated responses too. In a secret ballot (responsesVisibility: secret) name, email, phone, code, countryCode and weight are null, and fields leaves out the answers to name, email, contact, address, signature and sign-up sheet questions.

Richiede una chiave API.

Parametri

Percorso

  • slug string obbligatorio max. 20

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

Query

  • limit integer ≥ 1, ≤ 100

    Predefinito: 50

  • offset integer ≥ 0

    Predefinito: 0

Risposte

A page of responses.

  • data array of Response
  • pagination object

Provalo

Crea una chiave

Inviata dal tuo browser direttamente all’API, da nessun’altra parte. Con «Ricorda» resta finché non chiudi questa scheda. Con una chiave di sola lettura puoi esplorare senza cambiare nulla.

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

Incolla una chiave API per inviare le richieste che ne hanno bisogno.

Le richieste con chiave contano nelle richieste API giornaliere del tuo piano.