ogmake
Menu

← All templates

Poll result

Option squares with one pencil X — polls, decisions, RFC outcomes.

Poll result template preview

Open in the editor Editor guide

Try it

POST /v1/images, Bearer-authenticated, with this template id and params — see the quickstart for how to get a key, and for a signed-URL example that links straight to a cacheable, cache-forever image URL without a server round trip.

curl https://ogmake.com/v1/images \
  -H "Authorization: Bearer og_live_..." \
  -H "Content-Type: application/json" \
  -d '{
  "template": "ballot",
  "params": {
    "question": "Which colour should we ship?",
    "options": [
      "Sky",
      "Peach",
      "Ink"
    ],
    "chosen": 1,
    "site": "Ferro & Doe Studio"
  }
}'

This template requires an array field (options) — over a GET route (Public URLs, Signing) it's carried as bracket-indexed query keys instead of a JSON array; see the reference's "Array fields on GET routes". A working public-URL example (mint a real key in the dashboard to replace {your-public-key}):

GET https://ogmake.com/p/{your-public-key}/ballot?question=Which+colour+should+we+ship%3F&options%5B0%5D=Sky&options%5B1%5D=Peach&options%5B2%5D=Ink&chosen=1&site=Ferro+%26+Doe+Studio

More templates.