Skip to content

Docs · Premium

Webhooks and spreadsheets

Connect Polls to your own tools: get an event for every poll and vote, or let Google Sheets pull your results on its own.

Events

EventSent when
poll.publisheda poll is posted
poll.closeda poll ends, with the final results
vote.castsomeone votes (without user ID on anonymous polls)
survey.responsesomeone answers a survey

Check the signature

Every request is a JSON POST with the headers X-Polls-Event, X-Polls-Timestamp and X-Polls-Signature. Compute an HMAC-SHA256 of timestamp.body with your signing secret and compare it to the signature.

Google Sheets

  1. 1

    Create the link

    Under Spreadsheet feed, click Create feed link.

  2. 2

    Paste the formula

    Copy the =IMPORTDATA("…") formula into a cell. Google Sheets refreshes it about every hour.

  3. 3

    Keep it private

    Anyone with the link sees your results. Use New link if it leaks.

Use Send test after saving to check that your endpoint answers with a 2xx status.

Questions & answers

Do webhooks retry?

No. If your endpoint fails 10 times in a row, deliveries pause for 10 minutes.

Can I export a single poll?

Yes, as CSV or JSON from the poll page in the dashboard.

Is this free?

Webhooks, the spreadsheet feed and exports are part of Premium.

Try it in your server

Polls is free. Add it in one click and post your first poll in under a minute.