Tutti gli endpoint

Sviluppatori / StrawPoll API / Codes and invites

Invite everyone on one of your invite lists

POST/forms/{slug}/invites/import

Entries with an email become email invites, the others unique codes. Entries already in the form are skipped; invites that came from this list take on its current weights.

Richiede una chiave API.

Parametri

Percorso

  • slug string obbligatorio max. 20

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

Corpo della richiesta application/json

  • inviteListId string (uuid) obbligatorio

Risposte

How many email invites and codes were added, and how many entries were skipped.

  • data 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.

POST https://new.strawpoll.com/api/v4/forms/{slug}/invites/import

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

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