All endpoints

Developers / StrawPoll API / Responses

List comments

GET/forms/{slug}/comments

The discussion under a form with allowComments on, as the caller may read it. As the form's manager you get every comment (admin: true), newest 500. Drafts and forms without comments are not found.

Works from a browser without an API key; scripts send one.

Parameters

Path

  • slug string required max. 20

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

Responses

The comments.

  • comments array of Comment
  • admin boolean

    Whether the caller manages the form.

  • public boolean

    Whether respondents read each other's comments.

  • me object | null

Try it

Create a key

Sent from your browser straight to the API, nowhere else. With “Remember” on it stays until you close this tab. A read-only key lets you look around without changing anything.

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

Requests with a key count against your plan’s daily API requests.