Drop a poll onto a slide as a floating card, the way the editor does: send the poll, and optionally where (rect) and how it is drawn (style); what you leave out gets the house default. The slide’s other content is untouched. For a poll that fills the screen, use add_step instead.
Needs the decks:write scope.
POST
/
api
/
v1
/
decks
/
{id}
/
steps
/
{index}
/
overlays
Put a poll on a slide
curl --request POST \ --url https://test.polltheroom.com/api/v1/decks/{id}/steps/{index}/overlays \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "poll": { "type": "rating", "prompt": "How sure are you about the plan?" }}'
import requests
url = "https://test.polltheroom.com/api/v1/decks/{id}/steps/{index}/overlays"
payload = { "poll": {
"type": "rating",
"prompt": "How sure are you about the plan?"
} }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({poll: {type: 'rating', prompt: 'How sure are you about the plan?'}})
};
fetch('https://test.polltheroom.com/api/v1/decks/{id}/steps/{index}/overlays', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
The deck's revision you read (from get_deck or the last write). Sent, the write lands only if nobody changed the deck since; left out, it goes through regardless
Placements that will not read well on stage, by step: a card under its look's minimum size (30% of the slide's width and 45% of its height for most, more for a few), or a card or text box over another card or text box. They do not stop a room; fix them anyway
The deck's revision after this write; send it as revision with the next write to be sure nobody changed the deck in between
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Poll the Room","description":"Live polls on a presenter's own slides. Build decks, put polls on slides, run rooms and read results, from code or from an AI agent.","colors":{"primary":"#3333ff","light":"#8f8fff","dark":"#3333ff"},"logo":{"light":"https://mintcdn.com/polltheroom/wm5nU6Sq7YIILBAr/logo/light.svg?fit=max\u0026auto=format\u0026n=wm5nU6Sq7YIILBAr\u0026q=85\u0026s=9ba2b3ce482ba5c06a0fa3c750a47acd","dark":"https://mintcdn.com/polltheroom/wm5nU6Sq7YIILBAr/logo/dark.svg?fit=max\u0026auto=format\u0026n=wm5nU6Sq7YIILBAr\u0026q=85\u0026s=08ce6c0b4945f87688866fe6a49adbc6","href":"https://test.polltheroom.com"},"favicon":"https://mintcdn.com/polltheroom/Beb7336SfQDVOA4K/favicon.svg?fit=max\u0026auto=format\u0026n=Beb7336SfQDVOA4K\u0026q=85\u0026s=b62f27bdae4382c39a777ea188ce3b68","appearance":{"default":"light","strict":true},"navbar":{"links":[{"href":"https://test.polltheroom.com","label":"Open Poll the Room"}],"primary":{"type":"button","label":"Get an API key","href":"https://test.polltheroom.com/settings/api"}},"footer":{"socials":{"website":"https://test.polltheroom.com"}},"seo":{"metatags":{"robots":"noindex"}},"fonts":{"family":"Inter"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"polltheroom","hasAudioNarration":false,"actualSubdomain":"polltheroom","customDomains":["dev.polltheroom.com"],"gitSource":{"type":"github","owner":"internetoftoday","repo":"polltheroom","deployBranch":"docs","contentDirectory":"developers","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ad4a9629d4e735aef35504f","clientVersion":"0.0.4088","searchFilterCounts":[{"language":"default","tag":"API reference","count":27},{"language":"default","tag":"decks","count":21},{"language":"default","tag":"Guides","count":15},{"language":"default","tag":"rooms","count":5},{"language":"default","tag":"Concepts","count":4},{"language":"default","tag":"Get started","count":3},{"language":"default","tag":"Reference","count":2},{"language":"default","tag":"MCP","count":2},{"language":"default","tag":"MCP server","count":2},{"language":"default","tag":"Start here","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/decks/put-a-poll-on-a-slide","slug":"/api-reference/decks/put-a-poll-on-a-slide","pageMetadata":{"title":"Put a poll on a slide","description":"Drop a poll onto a slide as a floating card, the way the editor does: send the poll, and optionally where (rect) and how it is drawn (style); what you leave out gets the house default. The slide's other content is untouched. For a poll that fills the screen, use add_step instead.\n\nNeeds the `decks:write` scope.","deprecated":null,"version":null,"openapi":"https://test.polltheroom.com/openapi.json post /api/v1/decks/{id}/steps/{index}/overlays","href":"/api-reference/decks/put-a-poll-on-a-slide","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Drop a poll onto a slide as a floating card, the way the editor does: send the poll, and optionally where (rect) and how it is drawn (style); what you leave out gets the house default. The slide’s other content is untouched. For a poll that fills the screen, use add_step instead.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"Needs the \", _jsx(_components.code, {\n children: \"decks:write\"\n }), \" scope.\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Put a poll on a slide","description":"Drop a poll onto a slide as a floating card, the way the editor does: send the poll, and optionally where (rect) and how it is drawn (style); what you leave out gets the house default. The slide's other content is untouched. For a poll that fills the screen, use add_step instead.\n\nNeeds the `decks:write` scope.","deprecated":null,"version":null,"openapi":"https://test.polltheroom.com/openapi.json post /api/v1/decks/{id}/steps/{index}/overlays","href":"/api-reference/decks/put-a-poll-on-a-slide","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"add_overlay","summary":"Put a poll on a slide","description":"Drop a poll onto a slide as a floating card, the way the editor does: send the poll, and optionally where (rect) and how it is drawn (style); what you leave out gets the house default. The slide's other content is untouched. For a poll that fills the screen, use add_step instead.\n\nNeeds the `decks:write` scope.","x-scope":"decks:write","tags":["decks"],"parameters":["af3de59c-8b2e-4389-a0ff-34ea6f9b2817","9f4e362c-bf2a-4b0a-9c04-ad120b5fb494"],"requestBody":"5310e2a0-148f-4371-8686-ef324529db3b","responses":{"201":"860eb514-1e1c-4617-8973-d21f50424091","400":"63e2d53a-a0ac-4a10-a5f1-bb42a2b37276","401":"81146ca1-ee20-455a-99fd-b4de7066c2a4","403":"7f14f530-f61e-4237-b747-a565127f7101","404":"86c6a4ef-8d46-4def-b602-ab76921c4d17","409":"f3d17eef-1187-4585-b468-982ffa686868","429":"e5bc4854-6c59-4b3e-bc05-3b002bb7ed38"},"method":"post","type":"path","servers":["5817ffd4-0b64-4c93-a98d-913208924ee1"],"security":["7162788f-04d2-4ba0-9f6c-593e2d5b4e6f"],"path":"/api/v1/decks/{id}/steps/{index}/overlays","baseUrlOptions":["https://test.polltheroom.com"],"title":"Put a poll on a slide","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"af3de59c-8b2e-4389-a0ff-34ea6f9b2817":{"name":"id","in":"path","required":true,"schema":{"type":"string","minLength":1,"description":"The deck's id","isRequired":true,"uniqueKey":"","typeLabel":"string"},"example":"cmtwzaz21009juqmfmvygdi2b"},"9f4e362c-bf2a-4b0a-9c04-ad120b5fb494":{"name":"index","in":"path","required":true,"schema":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"The slide step's index","isRequired":true,"uniqueKey":"","typeLabel":"integer"},"example":0}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"poll":{"type":"object","properties":{"type":{"type":"string","enum":["multiple-choice","image-choice","this-or-that","ranking","hundred-points","rating","nps","estimate","radar","word-cloud","open-feed","qa-upvotes","timer","wheel","map","place-map","join"],"isRequired":true,"uniqueKey":"poll.type","typeLabel":"enum\u003cstring>"},"prompt":{"type":"string","maxLength":140,"description":"The question, as it reads on screen","isRequired":true,"uniqueKey":"poll.prompt","typeLabel":"string"},"timeLimitSec":{"oneOf":[{"type":"integer","description":"Seconds people get to answer; null means no countdown","maximum":600,"minimum":5,"uniqueKey":"poll.timeLimitSec.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Seconds people get to answer; null means no countdown","uniqueKey":"poll.timeLimitSec.oneOf.1","typeLabel":"null"}],"uniqueKey":"poll.timeLimitSec","typeLabel":"integer | null"},"options":{"default":[],"maxItems":10,"type":"array","items":{"type":"string","maxLength":80,"uniqueKey":"poll.options.items.[INDEX]","typeLabel":"string"},"description":"The answers to choose between, in order","uniqueKey":"poll.options","typeLabel":"string[]"},"multiSelect":{"description":"Let each person pick several options","type":"boolean","uniqueKey":"poll.multiSelect","typeLabel":"boolean"},"correctIndex":{"description":"Quiz: the index in options of the answer that scores; a choice poll with one is a quiz question","type":"integer","minimum":0,"maximum":9,"uniqueKey":"poll.correctIndex","typeLabel":"integer"},"quizView":{"description":"Quiz: show the question, or the standings board","type":"string","enum":["question","standings"],"uniqueKey":"poll.quizView","typeLabel":"enum\u003cstring>"},"orderIsAnswer":{"description":"Ranking quiz: the options as listed are the right order, so the audience sees them shuffled and each answer scores by how close it comes","type":"boolean","uniqueKey":"poll.orderIsAnswer","typeLabel":"boolean"},"optionImages":{"description":"A picture per option as a data URL, null for none; a choice poll with pictures draws the tiles look","maxItems":10,"type":"array","items":{"oneOf":[{"type":"string","maxLength":500000,"pattern":"^data:image\\/.*","uniqueKey":"poll.optionImages.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"poll.optionImages.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"poll.optionImages.items.[INDEX]","typeLabel":"string | null"},"uniqueKey":"poll.optionImages","typeLabel":"(string | null)[]"},"groups":{"description":"100 points: a parent group per option, for the nested looks","maxItems":10,"type":"array","items":{"type":"string","maxLength":40,"uniqueKey":"poll.groups.items.[INDEX]","typeLabel":"string"},"uniqueKey":"poll.groups","typeLabel":"string[]"},"targets":{"description":"100 points: a target per option, for the bullet look","maxItems":10,"type":"array","items":{"type":"number","minimum":0,"maximum":100,"uniqueKey":"poll.targets.items.[INDEX]","typeLabel":"number"},"uniqueKey":"poll.targets","typeLabel":"number[]"},"targetLabel":{"description":"100 points: what the bullet look's mark stands for, as in \"Last year's budget\"; shown as the key under the chart, and no key shows when it is empty","type":"string","maxLength":40,"uniqueKey":"poll.targetLabel","typeLabel":"string"},"estimateMin":{"description":"Estimate: the lowest guess allowed","type":"number","uniqueKey":"poll.estimateMin","typeLabel":"number"},"estimateMax":{"description":"Estimate: the highest guess allowed","type":"number","uniqueKey":"poll.estimateMax","typeLabel":"number"},"answer":{"description":"Estimate: the real answer, revealed when the poll closes","type":"number","uniqueKey":"poll.answer","typeLabel":"number"},"dimensions":{"description":"Radar: the axes people rate, three to eight of them","maxItems":8,"type":"array","items":{"type":"string","maxLength":40,"uniqueKey":"poll.dimensions.items.[INDEX]","typeLabel":"string"},"uniqueKey":"poll.dimensions","typeLabel":"string[]"},"radarMax":{"description":"Radar: the top of the scale people rate on, 5 to 10, as in 7 for a Likert scale; 5 when left out","type":"integer","minimum":5,"maximum":10,"uniqueKey":"poll.radarMax","typeLabel":"integer"},"radarLow":{"description":"Radar: a word for the low end of the scale, as in \"Strongly disagree\"; shown under the buttons and in the key","type":"string","maxLength":30,"uniqueKey":"poll.radarLow","typeLabel":"string"},"radarHigh":{"description":"Radar: a word for the high end of the scale, as in \"Strongly agree\"","type":"string","maxLength":30,"uniqueKey":"poll.radarHigh","typeLabel":"string"},"moderated":{"description":"Hold submissions until the host approves them","type":"boolean","uniqueKey":"poll.moderated","typeLabel":"boolean"},"wheelSource":{"description":"Wheel: spin between everyone in the room, or a custom list","type":"string","enum":["participants","custom"],"uniqueKey":"poll.wheelSource","typeLabel":"enum\u003cstring>"},"wheelNames":{"description":"Wheel: the custom names on the dial, up to 1000; the dial gives each name a slice while they fit and spins a wheel of slices beyond that, always naming the one it lands on","maxItems":1000,"type":"array","items":{"type":"string","maxLength":40,"uniqueKey":"poll.wheelNames.items.[INDEX]","typeLabel":"string"},"uniqueKey":"poll.wheelNames","typeLabel":"string[]"},"place":{"description":"Place map: the place people drop a pin on, and how many kilometres around it the map shows (radiusKm)","type":"object","properties":{"label":{"type":"string","maxLength":120,"isRequired":true,"uniqueKey":"poll.place.label","typeLabel":"string"},"lat":{"type":"number","minimum":-90,"maximum":90,"isRequired":true,"uniqueKey":"poll.place.lat","typeLabel":"number"},"lon":{"type":"number","minimum":-180,"maximum":180,"isRequired":true,"uniqueKey":"poll.place.lon","typeLabel":"number"},"zoom":{"type":"integer","minimum":1,"maximum":19,"isRequired":true,"uniqueKey":"poll.place.zoom","typeLabel":"integer"},"radiusKm":{"type":"number","minimum":0.1,"maximum":5000,"uniqueKey":"poll.place.radiusKm","typeLabel":"number"}},"required":["label","lat","lon","zoom"],"uniqueKey":"poll.place","typeLabel":"object"},"placeTheme":{"description":"Place map: the map tiles. The editor offers five — standard, light, dark, relief, satellite. `plain` is the name light had for one day and still draws the same canvas, so a deck saved with it keeps working.","type":"string","enum":["standard","light","dark","plain","relief","satellite"],"uniqueKey":"poll.placeTheme","typeLabel":"enum\u003cstring>"},"accent":{"description":"The result's accent colour","type":"string","pattern":"^#[0-9a-fA-F]{6}$","uniqueKey":"poll.accent","typeLabel":"string"},"colorMode":{"description":"Colour options as shades of the accent (match) or as distinct hues (palette)","type":"string","enum":["match","palette"],"uniqueKey":"poll.colorMode","typeLabel":"enum\u003cstring>"},"optionColors":{"description":"A colour per option; null follows colorMode","maxItems":10,"type":"array","items":{"oneOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","uniqueKey":"poll.optionColors.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"poll.optionColors.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"poll.optionColors.items.[INDEX]","typeLabel":"string | null"},"uniqueKey":"poll.optionColors","typeLabel":"(string | null)[]"},"showPercent":{"description":"Print percentages beside the answers","type":"boolean","uniqueKey":"poll.showPercent","typeLabel":"boolean"},"showCount":{"description":"Print vote counts beside the answers","type":"boolean","uniqueKey":"poll.showCount","typeLabel":"boolean"},"mcStyle":{"description":"Result style: bars, slim, columns, donut, pie, stacked, dots, lollipops, bubbles, spokes, butterfly, heat, arc, chord, tiles. arc needs multiSelect true; chord needs multiSelect true","type":"string","enum":["bars","slim","columns","donut","pie","stacked","dots","lollipops","bubbles","spokes","butterfly","heat","arc","chord","tiles"],"uniqueKey":"poll.mcStyle","typeLabel":"enum\u003cstring>"},"imgStyle":{"description":"Result style: tiles","type":"string","enum":["tiles"],"uniqueKey":"poll.imgStyle","typeLabel":"enum\u003cstring>"},"totStyle":{"description":"Result style: split, tug, camps","type":"string","enum":["split","tug","camps"],"uniqueKey":"poll.totStyle","typeLabel":"enum\u003cstring>"},"rankStyle":{"description":"Result style: list, podium, avg","type":"string","enum":["list","podium","avg"],"uniqueKey":"poll.rankStyle","typeLabel":"enum\u003cstring>"},"hpStyle":{"description":"Result style: bars, treemap, waffle, columns, sunburst, icicle, bullet","type":"string","enum":["bars","treemap","waffle","columns","sunburst","icicle","bullet"],"uniqueKey":"poll.hpStyle","typeLabel":"enum\u003cstring>"},"scaleStyle":{"description":"Style: stars, faces, breakdown, gauge, curve, bloom","type":"string","enum":["stars","faces","breakdown","gauge","curve","bloom"],"uniqueKey":"poll.scaleStyle","typeLabel":"enum\u003cstring>"},"npsStyle":{"description":"Result style: score, needle, diverging, swarm","type":"string","enum":["score","needle","diverging","swarm"],"uniqueKey":"poll.npsStyle","typeLabel":"enum\u003cstring>"},"estStyle":{"description":"Result style: hist, curve, dots, range","type":"string","enum":["hist","curve","dots","range"],"uniqueKey":"poll.estStyle","typeLabel":"enum\u003cstring>"},"wcStyle":{"description":"Result style: cloud, bubbles","type":"string","enum":["cloud","bubbles"],"uniqueKey":"poll.wcStyle","typeLabel":"enum\u003cstring>"},"mapStyle":{"description":"Flags on the countries: pins, heat","type":"string","enum":["pins","heat"],"uniqueKey":"poll.mapStyle","typeLabel":"enum\u003cstring>"}},"required":["type","prompt"],"description":"The poll, as in the document","isRequired":true,"uniqueKey":"poll","typeLabel":"object"},"rect":{"description":"Where the card sits; left out, the bottom-right quarter","type":"object","properties":{"x":{"type":"number","minimum":0,"maximum":1,"isRequired":true,"uniqueKey":"rect.x","typeLabel":"number"},"y":{"type":"number","minimum":0,"maximum":1,"isRequired":true,"uniqueKey":"rect.y","typeLabel":"number"},"w":{"type":"number","minimum":0.02,"maximum":1,"isRequired":true,"uniqueKey":"rect.w","typeLabel":"number"},"h":{"type":"number","minimum":0.02,"maximum":1,"isRequired":true,"uniqueKey":"rect.h","typeLabel":"number"}},"required":["x","y","w","h"],"uniqueKey":"rect","typeLabel":"object"},"style":{"description":"How the card is drawn; anything left out is the house default","type":"object","properties":{"variant":{"default":"bars","description":"The chart drawn on the card","type":"string","enum":["bars","columns","donut","pie"],"uniqueKey":"style.variant","typeLabel":"enum\u003cstring>"},"accent":{"default":"#3333FF","type":"string","pattern":"^#[0-9a-fA-F]{6}$","uniqueKey":"style.accent","typeLabel":"string"},"background":{"oneOf":[{"type":"string","description":"The card colour, or transparent for none","default":"#FFFFFF","const":"transparent","uniqueKey":"style.background.oneOf.0","typeLabel":"string"},{"type":"string","description":"The card colour, or transparent for none","default":"#FFFFFF","pattern":"^#[0-9a-fA-F]{6}$","uniqueKey":"style.background.oneOf.1","typeLabel":"string"}],"uniqueKey":"style.background","typeLabel":"string"},"radius":{"default":14,"type":"integer","minimum":0,"maximum":32,"uniqueKey":"style.radius","typeLabel":"integer"},"shadow":{"default":false,"type":"boolean","uniqueKey":"style.shadow","typeLabel":"boolean"},"outline":{"default":false,"type":"boolean","uniqueKey":"style.outline","typeLabel":"boolean"},"outlineColor":{"default":"#E4E4E8","type":"string","pattern":"^#[0-9a-fA-F]{6}$","uniqueKey":"style.outlineColor","typeLabel":"string"},"showPercent":{"default":true,"type":"boolean","uniqueKey":"style.showPercent","typeLabel":"boolean"},"showCount":{"default":true,"type":"boolean","uniqueKey":"style.showCount","typeLabel":"boolean"},"showJoin":{"default":true,"description":"Print the join code on the card. Switching it off is a Pro setting; without Pro every card keeps it","type":"boolean","uniqueKey":"style.showJoin","typeLabel":"boolean"},"rotation":{"default":0,"description":"Degrees","type":"number","minimum":-180,"maximum":180,"uniqueKey":"style.rotation","typeLabel":"number"},"colorMode":{"type":"string","enum":["match","palette"],"uniqueKey":"style.colorMode","typeLabel":"enum\u003cstring>"},"optionColors":{"description":"A colour per option; null follows colorMode","maxItems":10,"type":"array","items":{"oneOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","uniqueKey":"style.optionColors.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"style.optionColors.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"style.optionColors.items.[INDEX]","typeLabel":"string | null"},"uniqueKey":"style.optionColors","typeLabel":"(string | null)[]"},"counter":{"description":"A second colour beside the accent: an NPS card's promoters, a quiz card's right answer once it is revealed, and the winner on the standings a quiz card's room ends on","type":"string","pattern":"^#[0-9a-fA-F]{6}$","uniqueKey":"style.counter","typeLabel":"string"},"showTitle":{"description":"Default true","type":"boolean","uniqueKey":"style.showTitle","typeLabel":"boolean"},"titleFont":{"deprecated":true,"description":"Retired; use textFont, the card's one face","type":"string","maxLength":80,"uniqueKey":"style.titleFont","typeLabel":"string"},"titleSize":{"description":"Percent of the slide's width, as a text box's size; default 3. The card's size does not change it","type":"number","minimum":1,"maximum":20,"uniqueKey":"style.titleSize","typeLabel":"number"},"titleColor":{"type":"string","pattern":"^#[0-9a-fA-F]{6}$","uniqueKey":"style.titleColor","typeLabel":"string"},"titleBold":{"description":"Default true","type":"boolean","uniqueKey":"style.titleBold","typeLabel":"boolean"},"titleAlign":{"type":"string","enum":["left","center","right"],"uniqueKey":"style.titleAlign","typeLabel":"enum\u003cstring>"},"textFont":{"type":"string","maxLength":80,"uniqueKey":"style.textFont","typeLabel":"string"}},"uniqueKey":"style","typeLabel":"object"},"revision":{"description":"The deck's revision you read (from get_deck or the last write). Sent, the write lands only if nobody changed the deck since; left out, it goes through regardless","type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"revision","typeLabel":"string\u003cdate-time>"}},"required":["poll"],"uniqueKey":"","typeLabel":"object"},"example":{"poll":{"type":"rating","prompt":"How sure are you about the plan?"}},"examples":{"Example":{"title":"Example","value":{"poll":{"type":"rating","prompt":"How sure are you about the plan?"}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"860eb514-1e1c-4617-8973-d21f50424091":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","const":true,"isRequired":true,"uniqueKey":"ok","typeLabel":"boolean"},"overlays":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Cards on that slide now","isRequired":true,"uniqueKey":"overlays","typeLabel":"integer"},"ready":{"type":"boolean","description":"Every poll passes the readiness check, so a room can start","isRequired":true,"uniqueKey":"ready","typeLabel":"boolean"},"problems":{"type":"array","items":{"type":"object","properties":{"step":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"The step's index; 0 is the join screen","isRequired":true,"uniqueKey":"problems.items.[INDEX].step","typeLabel":"integer"},"path":{"type":"string","description":"The property, from the step","isRequired":true,"uniqueKey":"problems.items.[INDEX].path","typeLabel":"string"},"message":{"type":"string","description":"What to do, in the editor's words","isRequired":true,"uniqueKey":"problems.items.[INDEX].message","typeLabel":"string"},"overlay":{"description":"Which card on the slide, when it is one","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"uniqueKey":"problems.items.[INDEX].overlay","typeLabel":"integer"}},"required":["step","path","message"],"additionalProperties":false,"uniqueKey":"problems.items.[INDEX]","typeLabel":"object"},"description":"What stops it, by step; empty when ready","isRequired":true,"uniqueKey":"problems","typeLabel":"object[]"},"warnings":{"type":"array","items":{"type":"object","properties":{"element":{"type":"string","description":"The element it is about, \"overlay 0\", \"text 1\"","isRequired":true,"uniqueKey":"warnings.items.[INDEX].element","typeLabel":"string"},"message":{"type":"string","description":"What is wrong and what to do","isRequired":true,"uniqueKey":"warnings.items.[INDEX].message","typeLabel":"string"},"step":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"The step's index","isRequired":true,"uniqueKey":"warnings.items.[INDEX].step","typeLabel":"integer"},"with":{"description":"The other element, for an overlap","type":"string","uniqueKey":"warnings.items.[INDEX].with","typeLabel":"string"}},"required":["element","message","step"],"additionalProperties":false,"uniqueKey":"warnings.items.[INDEX]","typeLabel":"object"},"description":"Placements that will not read well on stage, by step: a card under its look's minimum size (30% of the slide's width and 45% of its height for most, more for a few), or a card or text box over another card or text box. They do not stop a room; fix them anyway","isRequired":true,"uniqueKey":"warnings","typeLabel":"object[]"},"revision":{"type":"string","description":"The deck's revision after this write; send it as `revision` with the next write to be sure nobody changed the deck in between","isRequired":true,"uniqueKey":"revision","typeLabel":"string"}},"required":["ok","overlays","ready","problems","warnings","revision"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"example":{"ok":true,"overlays":1,"ready":true,"problems":[],"warnings":[],"revision":"2026-09-11T13:15:14.121Z"},"examples":{"Example":{"title":"Example","value":{"ok":true,"overlays":1,"ready":true,"problems":[],"warnings":[],"revision":"2026-09-11T13:15:14.121Z"}}},"exampleType":"examples"}},"exampleType":"examples"},"63e2d53a-a0ac-4a10-a5f1-bb42a2b37276":{"description":"The body did not fit. `fix` names the field.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"What went wrong, in a sentence","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"fix":{"description":"What to do about it, when we can tell","type":"string","uniqueKey":"fix","typeLabel":"string"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","fix":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"81146ca1-ee20-455a-99fd-b4de7066c2a4":{"description":"No usable key.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"What went wrong, in a sentence","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"fix":{"description":"What to do about it, when we can tell","type":"string","uniqueKey":"fix","typeLabel":"string"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","fix":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"7f14f530-f61e-4237-b747-a565127f7101":{"description":"The key lacks the scope, or the plan does not sell it.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"What went wrong, in a sentence","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"fix":{"description":"What to do about it, when we can tell","type":"string","uniqueKey":"fix","typeLabel":"string"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","fix":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"86c6a4ef-8d46-4def-b602-ab76921c4d17":{"description":"Nothing by that id within this key's reach.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"What went wrong, in a sentence","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"fix":{"description":"What to do about it, when we can tell","type":"string","uniqueKey":"fix","typeLabel":"string"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","fix":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"f3d17eef-1187-4585-b468-982ffa686868":{"description":"The slide already holds 4 cards, or the deck changed since it was read: read it again with get_deck and send the new revision.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"What went wrong, in a sentence","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"fix":{"description":"What to do about it, when we can tell","type":"string","uniqueKey":"fix","typeLabel":"string"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","fix":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"e5bc4854-6c59-4b3e-bc05-3b002bb7ed38":{"description":"Over the key's hourly limit.","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"What went wrong, in a sentence","isRequired":true,"uniqueKey":"error","typeLabel":"string"},"fix":{"description":"What to do about it, when we can tell","type":"string","uniqueKey":"fix","typeLabel":"string"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>","fix":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"7162788f-04d2-4ba0-9f6c-593e2d5b4e6f":{"apiKey":{"type":"http","scheme":"bearer","description":"An API key from Settings › API, sent as `Authorization: Bearer ptr_…`. Shown once when made; only a hash is stored.","scopes":[],"schemeName":"apiKey"}}},"servers":{"5817ffd4-0b64-4c93-a98d-913208924ee1":{"url":"https://test.polltheroom.com"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"An API key from Settings › API, sent as `Authorization: Bearer ptr_…`. Shown once when made; only a hash is stored.","scopes":[],"schemeName":"apiKey"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"An API key from Settings › API, sent as `Authorization: Bearer ptr_…`. Shown once when made; only a hash is stored.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"apiKey","name":"Authorization"}],"title":"apiKey"}]},"originalFileLocation":"https://test.polltheroom.com/openapi.json"},"subdomain":"polltheroom","siteName":"Poll the Room","title":"Put a poll on a slide - Poll the Room","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-14T14:49:04.921Z","originalFileLocation":"api-reference/decks/put-a-poll-on-a-slide.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"light\";if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Drop a poll onto a slide as a floating card, the way the editor does: send the poll, and optionally where (rect) and how it is drawn (style); what you leave out gets the house default. The slide\u0026#x27;s other content is untouched. For a poll that fills the screen, use add_step instead. Needs the decks:write scope.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Poll the Room\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"noindex\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/polltheroom/7KTc0c_TZbUysiH7/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/polltheroom/7KTc0c_TZbUysiH7/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/polltheroom/7KTc0c_TZbUysiH7/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/polltheroom/7KTc0c_TZbUysiH7/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/polltheroom/7KTc0c_TZbUysiH7/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/polltheroom/7KTc0c_TZbUysiH7/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/polltheroom/7KTc0c_TZbUysiH7/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/polltheroom/7KTc0c_TZbUysiH7/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/polltheroom/7KTc0c_TZbUysiH7/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Put a poll on a slide - Poll the Room\">\u003cmeta data-mint-head property=\"og:description\" content=\"Drop a poll onto a slide as a floating card, the way the editor does: send the poll, and optionally where (rect) and how it is drawn (style); what you leave out gets the house default. The slide\u0026#x27;s other content is untouched. For a poll that fills the screen, use add_step instead. Needs the decks:write scope.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Poll the Room\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://dev.polltheroom.com/api-reference/decks/put-a-poll-on-a-slide\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://polltheroom.mintlify.site/_mintlify/api/og/v2?division=decks\u0026amp;title=Put+a+poll+on+a+slide\u0026amp;description=Drop+a+poll+onto+a+slide+as+a+floating+card%2C+the+way+the+editor+does%3A+send+the+poll%2C+and+optionally+where+%28rect%29+and+how+it+is+drawn+%28style%29%3B+what+you+leave+out\u0026amp;theme=625264d4e40254fb4eb43184\u0026amp;signature=4991ccb4d164dd48b50672d46c32a63b4ad4dbf149500f9d43f31f527c5c8d55\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Put a poll on a slide - Poll the Room\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Drop a poll onto a slide as a floating card, the way the editor does: send the poll, and optionally where (rect) and how it is drawn (style); what you leave out gets the house default. The slide\u0026#x27;s other content is untouched. For a poll that fills the screen, use add_step instead. Needs the decks:write scope.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://polltheroom.mintlify.site/_mintlify/api/og/v2?division=decks\u0026amp;title=Put+a+poll+on+a+slide\u0026amp;description=Drop+a+poll+onto+a+slide+as+a+floating+card%2C+the+way+the+editor+does%3A+send+the+poll%2C+and+optionally+where+%28rect%29+and+how+it+is+drawn+%28style%29%3B+what+you+leave+out\u0026amp;theme=625264d4e40254fb4eb43184\u0026amp;signature=4991ccb4d164dd48b50672d46c32a63b4ad4dbf149500f9d43f31f527c5c8d55\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/polltheroom/7KTc0c_TZbUysiH7/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Poll the Room\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3333ff\">\u003clink data-mint-head rel=\"canonical\" href=\"https://dev.polltheroom.com/api-reference/decks/put-a-poll-on-a-slide\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/decks/put-a-poll-on-a-slide.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://dev.polltheroom.com/#organization\",\"name\":\"Poll the Room\",\"url\":\"https://dev.polltheroom.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/polltheroom/wm5nU6Sq7YIILBAr/logo/light.svg?fit=max\u0026auto=format\u0026n=wm5nU6Sq7YIILBAr\u0026q=85\u0026s=9ba2b3ce482ba5c06a0fa3c750a47acd\"}},{\"@type\":\"WebSite\",\"@id\":\"https://dev.polltheroom.com#website\",\"name\":\"Poll the Room\",\"url\":\"https://dev.polltheroom.com\",\"publisher\":{\"@id\":\"https://dev.polltheroom.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://dev.polltheroom.com/api-reference/decks/put-a-poll-on-a-slide#webpage\",\"url\":\"https://dev.polltheroom.com/api-reference/decks/put-a-poll-on-a-slide\",\"name\":\"Put a poll on a slide\",\"description\":\"Drop a poll onto a slide as a floating card, the way the editor does: send the poll, and optionally where (rect) and how it is drawn (style); what you leave out gets the house default. The slide's other content is untouched. For a poll that fills the screen, use add_step instead. Needs the decks:write scope.\",\"dateModified\":\"2026-10-14T14:49:04.921Z\",\"isPartOf\":{\"@id\":\"https://dev.polltheroom.com#website\"},\"breadcrumb\":{\"@id\":\"https://dev.polltheroom.com/api-reference/decks/put-a-poll-on-a-slide#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://dev.polltheroom.com/api-reference/decks/put-a-poll-on-a-slide#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"decks\",\"item\":\"https://dev.polltheroom.com/api-reference/decks/list-decks\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Put a poll on a slide\",\"item\":\"https://dev.polltheroom.com/api-reference/decks/put-a-poll-on-a-slide\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://dev.polltheroom.com/api-reference/decks/put-a-poll-on-a-slide#apireference\",\"headline\":\"Put a poll on a slide\",\"name\":\"Put a poll on a slide\",\"description\":\"Drop a poll onto a slide as a floating card, the way the editor does: send the poll, and optionally where (rect) and how it is drawn (style); what you leave out gets the house default. The slide's other content is untouched. For a poll that fills the screen, use add_step instead. Needs the decks:write scope.\",\"url\":\"https://dev.polltheroom.com/api-reference/decks/put-a-poll-on-a-slide\",\"mainEntityOfPage\":{\"@id\":\"https://dev.polltheroom.com/api-reference/decks/put-a-poll-on-a-slide#webpage\"},\"dateModified\":\"2026-10-14T14:49:04.921Z\",\"publisher\":{\"@id\":\"https://dev.polltheroom.com/#organization\"},\"isPartOf\":{\"@id\":\"https://dev.polltheroom.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Poll the Room\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Poll the Room","nav":{"global":null,"tabs":[{"tab":"Guides","icon":"book-open","pages":[{"title":"Guides","href":""}]},{"tab":"MCP","icon":"plug","pages":[{"title":"MCP","href":"/mcp-server"}]},{"tab":"API reference","icon":"square-terminal","groups":[{"group":"Start here","pages":[{"title":"Introduction","href":"/api-reference/introduction"}]},{"group":"decks","pages":[{"title":"List decks","deprecated":null,"version":null,"openapi":"https://test.polltheroom.com/openapi.json get /api/v1/decks","href":"/api-reference/decks/list-decks"},{"title":"Create a deck","deprecated":null,"version":null,"openapi":"https://test.polltheroom.com/openapi.json post /api/v1/decks","href":"/api-reference/decks/create-a-deck"},{"title":"Get a deck","deprecated":null,"version":null,"openapi":"https://test.polltheroom.com/openapi.json get /api/v1/decks/{id}","href":"/api-reference/decks/get-a-deck"},{"title":"Bin a deck","deprecated":null,"version":null,"openapi":"https://test.polltheroom.com/openapi.json delete /api/v1/decks/{id}","href":"/api-reference/decks/bin-a-deck"},{"title":"Change a deck","deprecated":null,"version":null,"openapi":"https://test.polltheroom.com/openapi.json patch /api/v1/decks/{id}","href":"/api-reference/decks/change-a-deck"},{"title":"Add a step","deprecated":null,"version":null,"openapi":"https://test.polltheroom.com/openapi.json post /api/v1/decks/{id}/steps","href":"/api-reference/decks/add-a-step"},{"title":"Read one step","deprecated":null,"version":null,"openapi":"https://test.polltheroom.com/openapi.json get /api/v1/decks/{id}/steps/{index}","href":"/api-reference/decks/read-one-step"},{"title":"Replace a step","deprecated":null,"version":null,"openapi":"https://test.polltheroom.com/openapi.json put /api/v1/decks/{id}/steps/{index}","href":"/api-reference/decks/replace-a-step"},{"title":"Remove a step","description":"Take a slide or poll step out.\n\nNeeds the `decks:write` scope.","deprecated":null,"version":null,"openapi":"https://test.polltheroom.com/openapi.json delete /api/v1/decks/{id}/steps/{index}","href":"/api-reference/decks/remove-a-step"},{"title":"Put a poll on a slide","deprecated":null,"version":null,"openapi":"https://test.polltheroom.com/openapi.json post /api/v1/decks/{id}/steps/{index}/overlays","href":"/api-reference/decks/put-a-poll-on-a-slide"},{"title":"Outline a deck","description":"Every step in a line: kind, page, notes, and for a slide every element's rect and label, which elements cover each other, and its warnings, without the pictures' bytes. Read this first to find your way around a deck, the way Paper's get_tree_summary reads a file; get_deck returns the whole document, images included.\n\nNeeds the `decks:read` scope.","deprecated":null,"version":null,"openapi":"https://test.polltheroom.com/openapi.json get /api/v1/decks/{id}/outline","href":"/api-reference/decks/outline-a-deck"},{"title":"Take a card off a slide","deprecated":null,"version":null,"openapi":"https://test.polltheroom.com/openapi.json delete /api/v1/decks/{id}/steps/{index}/overlays/{card}","href":"/api-reference/decks/take-a-card-off-a-slide"},{"title":"Change a card","deprecated":null,"version":null,"openapi":"https://test.polltheroom.com/openapi.json patch /api/v1/decks/{id}/steps/{index}/overlays/{card}","href":"/api-reference/decks/change-a-card"},{"title":"Put text, a shape or a picture on a slide","deprecated":null,"version":null,"openapi":"https://test.polltheroom.com/openapi.json post /api/v1/decks/{id}/steps/{index}/elements","href":"/api-reference/decks/put-text-a-shape-or-a-picture-on-a-slide"},{"title":"Take text, a shape or a picture off a slide","deprecated":null,"version":null,"openapi":"https://test.polltheroom.com/openapi.json delete /api/v1/decks/{id}/steps/{index}/elements/{kind}/{element}","href":"/api-reference/decks/take-text-a-shape-or-a-picture-off-a-slide"},{"title":"Change text, a shape or a picture","deprecated":null,"version":null,"openapi":"https://test.polltheroom.com/openapi.json patch /api/v1/decks/{id}/steps/{index}/elements/{kind}/{element}","href":"/api-reference/decks/change-text-a-shape-or-a-picture"},{"title":"Copy a step","deprecated":null,"version":null,"openapi":"https://test.polltheroom.com/openapi.json post /api/v1/decks/{id}/steps/{index}/duplicate","href":"/api-reference/decks/copy-a-step"},{"title":"Move a step","deprecated":null,"version":null,"openapi":"https://test.polltheroom.com/openapi.json post /api/v1/decks/{id}/steps/{index}/move","href":"/api-reference/decks/move-a-step"},{"title":"Screenshot a step","deprecated":null,"version":null,"openapi":"https://test.polltheroom.com/openapi.json get /api/v1/decks/{id}/steps/{index}/screenshot","href":"/api-reference/decks/screenshot-a-step"},{"title":"List the fonts","deprecated":null,"version":null,"openapi":"https://test.polltheroom.com/openapi.json get /api/v1/fonts","href":"/api-reference/decks/list-the-fonts"},{"title":"Attach the slides as a PDF","deprecated":null,"version":null,"openapi":"https://test.polltheroom.com/openapi.json put /api/v1/decks/{id}/source","href":"/api-reference/decks/attach-the-slides-as-a-pdf"}]},{"group":"rooms","pages":[{"title":"List rooms","deprecated":null,"version":null,"openapi":"https://test.polltheroom.com/openapi.json get /api/v1/rooms","href":"/api-reference/rooms/list-rooms"},{"title":"Start a room","deprecated":null,"version":null,"openapi":"https://test.polltheroom.com/openapi.json post /api/v1/rooms","href":"/api-reference/rooms/start-a-room"},{"title":"Drive a room","deprecated":null,"version":null,"openapi":"https://test.polltheroom.com/openapi.json post /api/v1/rooms/{code}/actions","href":"/api-reference/rooms/drive-a-room"},{"title":"Read the results","deprecated":null,"version":null,"openapi":"https://test.polltheroom.com/openapi.json get /api/v1/rooms/{code}/results","href":"/api-reference/rooms/read-the-results"},{"title":"Read every session's results","deprecated":null,"version":null,"openapi":"https://test.polltheroom.com/openapi.json get /api/v1/decks/{id}/results","href":"/api-reference/rooms/read-every-sessions-results"}]}]}]},"basePath":"","title":"Put a poll on a slide - Poll the Room","buildId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","deploymentId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-5FCzAcfS.js","utils-SLtAG4EZ.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-2DZi8ZMu.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-D7J3nkzE.js","snippetPresets-D0Alv0AH.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BI4qNJ2c.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BD3uyr8j.js","shallow-D8iEBr5z.js","getApiPlaygroundDisplay-CgNP4lzR.js","CodeSnippet-CX-QHuMs.js","CodeSnippets-VlXE-ZUf.js","Page-D9ithiIZ.js","getPastedJson-DYNQkZ1M.js","icon-CzacdwOi.js","MethodPill-2JVqoYKi.js","DuplicateIcon-_xVXs-U8.js","createIcon-BRHrweLo.js","DynamicMarkdown-mQG_iQiE.js","SectionHeading-DMpJzv8f.js","axios-vUo_bRtp.js","Markdown-5FGIym-8.js","clsx-D-TRO5q5.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CdrJecqK.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CHlcWBLM.js"]}