Polls in your product, your scripts and your assistant

Create and publish polls, collect responses and read results through the API. Or connect Claude and other assistants to the StrawPoll MCP server.

Votes are never metered. Through the API, each response needs a unique code, and on Free plan polls one credit.

curl https://strawpoll.com/api/v4/forms \
  -H "X-API-Key: sp_your_key" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "Where should we go for lunch?",
    "status": "published",
    "sections": [{
      "type": "multiple_choice",
      "fields": [{
        "type": "multiple_choice",
        "label": "Where should we go for lunch?",
        "choices": [
          { "label": "Pizza" },
          { "label": "Sushi" },
          { "label": "Tacos" }
        ]
      }]
    }]
  }'

Polls through a REST API

The API creates and publishes polls, collects responses and reads results, with an OpenAPI spec to generate a client from. Embed the poll in your page with one script tag.

  • REST API with an OpenAPI spec
  • Embed with one script tag
  • Duplicate checks and live results included
The share options with the link, QR code and embed code

An MCP server for AI assistants

Add the StrawPoll MCP server to Claude, ChatGPT or Cursor and sign in once. Your assistant creates polls and surveys, closes them and reads the results. Assistants without tools can hand you a prefilled editor link instead.

  • Claude, ChatGPT, Cursor and other MCP clients
  • Create polls, close them and read results
  • Prefilled links open the editor ready to go
The poll editor with a poll ready to publish

Every response, sent where you need it

Webhooks send each response as a signed payload to your server. Slack, Discord, Google Sheets, Notion, Airtable, Zapier, Make and n8n work too, and hidden fields carry your own IDs along.

  • Webhooks with every response
  • Notion, Airtable, Zapier, Make and n8n
  • Hidden fields for your own IDs
The integrations page with the tools responses can go to

Good to know

Building with StrawPoll: API, webhooks and MCP

How to create polls from code, receive responses as they arrive, carry your own IDs through, and let AI assistants work with polls for you.

2 min read

Three ways in

  • The REST API creates and publishes polls, collects responses and reads results. Version 4 is the one for new work, with an OpenAPI spec to generate a client from.
  • Webhooks push each response to your server as it arrives, as a signed payload.
  • The MCP server lets Claude, ChatGPT, Cursor and other assistants create polls, close them and read results after you sign in once.

The API is part of every account, and votes and responses are never metered.

Receive every response

  1. 1 Open Integrations in your dashboard and add a webhook with your endpoint.
  2. 2 Choose which polls it applies to.
  3. 3 Click Send test and check the sample arrives.
  4. 4 Verify each request with the signing secret, using the example on the integration page. Create a new secret any time it might have leaked.

Not writing a server? Zapier, Make and n8n take the same responses into thousands of other apps, and Slack, Discord, Google Sheets, Notion and Airtable connect directly.

Carry your own data through

Every poll can be answered ahead through its link. Each question has a parameter, shown under Prefill label, so `?favorite_food=Pizza` preselects an option. Respondents still see prefilled answers and can change them.

Add a Hidden fields block and list parameters like `user_id, plan`. Respondents don’t see them, and their values arrive with every response, in the webhook, the API and the CSV export.

Put polls in your product

Embed a poll with one snippet, inline, as a popup or as a full page. It uses the same settings as the link, and edits you publish show up without replacing the code.

Assistants and prefilled editor links

With the MCP server, ask your assistant to “make a poll for Friday’s team lunch and close it at noon”, and it does. Assistants without tools can hand you a prefilled editor link instead: you open it, check the poll and publish.

More templates for developers & AI agents

  • A preview of the Yes or no template

    Yes or no

    A single decision anyone can answer in one tap.

    • Yes / No
    1 question · ~1 min
    View
  • A preview of the Where to eat template

    Where to eat

    One quick vote on where the group goes. People can suggest their own spot.

    • Multiple choice
    1 question · ~1 min
    View
  • A preview of the Bug report template

    Bug report

    Collect what happened, how bad it is and a screenshot, in one tidy form.

    • Short text
    • Multiple choice
    • Long text
    • File upload
    • +1
    5 questions · ~2 min
    View
  • A preview of the Product feedback template

    Product feedback

    Score the product, rank what to build next and collect ideas.

    • Rating
    • Ranking
    • Long text
    3 questions · ~1 min
    View
  • A preview of the Feature budget template

    Feature budget

    Customers spend 100 points on the features they want, showing real priorities.

    • Point allocation
    • Short text
    2 questions · ~1 min
    View
  • A preview of the Feature request form template

    Feature request form

    What users want, the problem behind it and how much it matters to them.

    • Short text
    • Long text
    • Multiple choice
    • Contact info
    • +1
    4 questions · ~2 min
    View
  • A preview of the App feedback form template

    App feedback form

    Users rate the app, say what their feedback is about and add a screenshot.

    • Rating
    • Multiple choice
    • Long text
    • File upload
    4 questions · ~2 min
    View
  • A preview of the Beta sign-up template

    Beta sign-up

    A waitlist that asks for the platform and use case, with consent to email.

    • Contact info
    • Multiple choice
    • Long text
    • Consent
    4 questions · ~2 min
    View
  • A preview of the Planning poker template

    Planning poker

    Estimate a story together; votes appear the moment people pick.

    • Multiple choice
    1 question · ~1 min
    View

FAQ

Questions

Want the details? Read Integrations.

Developers & AI agents

Bug reports that land where your team works

Start from the bug report form, connect a webhook and let every report reach your tracker.

Bug report 5 questions · ~2 min