All endpoints

Developers / StrawPoll API / Media

Upload an image

POST/media

JPEG, PNG, GIF or WebP up to 5 MB. Use the id as mediaId on picture choices.

Needs an API key.

Responses

The image.

  • id string (uuid)
  • url string

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.

POST https://new.strawpoll.com/api/v4/media

Paste an API key to send requests that need one.

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