API Documentation

Introduction

Welcome to the API section of strawpoll.com. We do provide custom end points for creating polls and for fetching the results afterwards.

End Points

Create Poll

As of now, the StrawPoll.com API for creating new polls is currently disabled.

Fetch Results

URL: https://strawpoll.com/results

Parameter: pid (poll id) as seen in the poll url

Example: https://strawpoll.com/results?pid=ab6e84ak

Output: JSON