Every change Wellknown observed on this MCP server, newest first, with what it was before and what it became. Tool-surface changes carry the definition diff. Nothing here is edited after the fact.
Changed the definition of "check_slots"
⟨58 unchanged words⟩ unknown_slot, missing_required, empty_required, too_long, not_filled, blanked, fixed_text), severity ("error" must be fixed, ⟨17 unchanged words⟩
Changed the definition of "check_slots"
⟨58 unchanged words⟩ unknown_slot, missing_required, empty_required, too_long, not_filled, blanked, fixed_text), severity ("error" must be fixed, ⟨17 unchanged words⟩
Added "list_template_versions" and "publish_template"; changed the definition of "add_objects", "get_template", "list_templates" and 4 more (20 tools before, 22 now)
⟨273 unchanged words⟩ slide's objects with their ids and the newversion.draft_version. The edit is saved to the template's draft; call publish_template to publish it. Errors: pro_required, not_found, conflict (read again with get_template(draft: true) and retry), invalid_input.
{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"expected_versionexpected_draft_version":{"description":"The draft_version from get_template(draft: true) or your last save (0: no draft yet). Given, the call fails with conflict if the draft changed since.","maximum":9007199254740991,"minimum":0,"type":"integer"},"expected_version":{"description":"Older callers: the published
Added "list_template_versions" and "publish_template"; changed the definition of "add_objects", "get_template", "list_templates" and 4 more (20 tools before, 22 now)
⟨273 unchanged words⟩ slide's objects with their ids and the newversion.draft_version. The edit is saved to the template's draft; call publish_template to publish it. Errors: pro_required, not_found, conflict (read again with get_template(draft: true) and retry), invalid_input.
{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"expected_versionexpected_draft_version":{"description":"The draft_version from get_template(draft: true) or your last save (0: no draft yet). Given, the call fails with conflict if the draft changed since.","maximum":9007199254740991,"minimum":0,"type":"integer"},"expected_version":{"description":"Older callers: the published
Added "check_deck"; changed the definition of "suggest_deck" (19 tools before, 20 now)
⟨169 unchanged words⟩ theme are their call, not a guess. If order_issues is present in the result, the slide order breaks a rule (closing layout not last, same layout twice in a row): fix it before showing the deck. Always pass the preview link through to the ⟨55 unchanged words⟩
Check deck order — Validate the slide ORDER of a whole deck before you build it. check_slots looks at one slide's text; this looks at the sequence. Input: layout_ids, the layout of every slide in order. Returns { slide_count, ok, error_count, warning_count, issues[], unknown_layout_ids? }. Each issue has code, severity ("error" must be fixed, "warning" is a quality note), order (slide number), layout_id, message and a one-line fix. Codes: closer_not_last (a closing layout that is not the last slide), repeated_layout (the same layout on consecutive slides). It does not judge whether slides look alike. ok is true…
Added "check_deck"; changed the definition of "suggest_deck" (19 tools before, 20 now)
⟨169 unchanged words⟩ theme are their call, not a guess. If order_issues is present in the result, the slide order breaks a rule (closing layout not last, same layout twice in a row): fix it before showing the deck. Always pass the preview link through to the ⟨55 unchanged words⟩
Check deck order — Validate the slide ORDER of a whole deck before you build it. check_slots looks at one slide's text; this looks at the sequence. Input: layout_ids, the layout of every slide in order. Returns { slide_count, ok, error_count, warning_count, issues[], unknown_layout_ids? }. Each issue has code, severity ("error" must be fixed, "warning" is a quality note), order (slide number), layout_id, message and a one-line fix. Codes: closer_not_last (a closing layout that is not the last slide), repeated_layout (the same layout on consecutive slides). It does not judge whether slides look alike. ok is true…
Changed the definition of "add_objects", "get_template", "remove_objects" and 3 more
Add text boxes, shapes and images on top of one slide of ⟨35 unchanged words⟩ is {type:"text", text, ...}, {type:"shape", shape, text?, ...} or {type:"image", asset, ...}; position and size are optional (a text box or shape lands near the middle, an image is centered and fitted). Shapes: shape is "rect", "roundRect", "ellipse", "line" or "arrow". A new shape starts with a look of its own (an accent fill and centred text for a box; an ink line 4 px wide for a line), so send only what differs. A box shape takes fill, fillOpacity, borderColor, borderWidth, dash, shadow, roundRect also radius (px), and text with the text fields. A line or arrow runs left to right through the middle of its box (turn it with rotate; the arrowhead is at the right end) and takes lineColor, lineWidth, dash; it holds no text. Shapes are native shapes in the PPTX. Coordinates are pixels on a 1920x1080 slide and are kept inside it.ColorsAaretext
Changed the definition of "add_objects", "get_template", "remove_objects" and 3 more
Add text boxes, shapes and images on top of one slide of ⟨35 unchanged words⟩ is {type:"text", text, ...}, {type:"shape", shape, text?, ...} or {type:"image", asset, ...}; position and size are optional (a text box or shape lands near the middle, an image is centered and fitted). Shapes: shape is "rect", "roundRect", "ellipse", "line" or "arrow". A new shape starts with a look of its own (an accent fill and centred text for a box; an ink line 4 px wide for a line), so send only what differs. A box shape takes fill, fillOpacity, borderColor, borderWidth, dash, shadow, roundRect also radius (px), and text with the text fields. A line or arrow runs left to right through the middle of its box (turn it with rotate; the arrowhead is at the right end) and takes lineColor, lineWidth, dash; it holds no text. Shapes are native shapes in the PPTX. Coordinates are pixels on a 1920x1080 slide and are kept inside it.ColorsAaretext
Changed the definition of "export_pptx", "save_template" and "update_template"
⟨41 unchanged words⟩ :"boolean"},"slides":{"description":"UpSlides in order, up to 25slideson free,in40order.on Pro, 100 on Team. A longer deck is rejected with the limit of the caller's plan. Required unless template_id is given.","items":{ ⟨34 unchanged words⟩ "],"type":"object"},"maxItems":25100,"minItems":1,"type":"array"}, ⟨66 unchanged words⟩
Changed the definition of "export_pptx", "save_template" and "update_template"
⟨41 unchanged words⟩ :"boolean"},"slides":{"description":"UpSlides in order, up to 25slideson free,in40order.on Pro, 100 on Team. A longer deck is rejected with the limit of the caller's plan. Required unless template_id is given.","items":{ ⟨34 unchanged words⟩ "],"type":"object"},"maxItems":25100,"minItems":1,"type":"array"}, ⟨66 unchanged words⟩
Changed the definition of "add_objects", "check_slots", "export_pptx" and 16 more
⟨25 unchanged words⟩ ,"type":"integer"},"objects":{"description":"Text boxes and images to add to the slide.","items":{"additionalProperties":false,"properties":{" ⟨268 unchanged words⟩
before
—after
{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false}Added "check_slots" and "render_slide"; changed the definition of "add_objects", "export_pptx", "get_layout" and 14 more (17 tools before, 19 now)
⟨25 unchanged words⟩ ,"type":"integer"},"objects":{"description":"Text boxes and images to add to the slide.","items":{"additionalProperties":false,"properties":{" ⟨268 unchanged words⟩
before
—after
{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false}Added "check_slots" and "render_slide"; changed the definition of "list_layouts" (17 tools before, 19 now)
⟨9 unchanged words⟩ specific layout. Returns metadata only, no HTML. Each entry has position (opener/middle/closer: its role in a deck), when_to_use and when_not_to_use: read them to check the layout fits the content before choosing it. Filter by position to fill a slot of the story, e.g. position "closer" for the last slide. Also the tool for "what is new", ⟨39 unchanged words⟩
⟨4 unchanged words⟩ {"category":{"type":"string"},"lang":{"default":"ko","description":"Language of description, best_for and when_to_use / when_not_to_use. Pass the language the user is writing in.","enum":["ko","en"],"type":"string"},"limit":{"default":30,"exclusiveMinimum":0,"maximum":150,"type":"integer"},"position":{"description":"The slide's role in a deck: opener = cover, middle = content, closer = ending (summary, CTA, thanks). Use it to fill each part of the story: first slide with opener, last with closer.","enum":["opener","middle","closer"],"type":"string"},"
Added "get_template_feedback" and "list_pending_reviews"; changed the definition of "get_template", "list_media", "list_templates" and 1 more (15 tools before, 17 now)
⟨53 unchanged words⟩ one slide, use add_objects, update_objects and remove_objects. Teammates' team templates open here too; those also return new_feedback (open pin comments). Needs an API key; reading works on any plan.
⟨63 unchanged words⟩ it to their media library on the web. Pass scope "team" to list the team library instead (images every team member can use in team templates). Needs an API key; works on any plan.
Added "get_template_feedback" and "list_pending_reviews"; changed the definition of "get_template", "list_media", "list_templates" and 1 more (15 tools before, 17 now)
⟨53 unchanged words⟩ one slide, use add_objects, update_objects and remove_objects. Teammates' team templates open here too; those also return new_feedback (open pin comments). Needs an API key; reading works on any plan.
⟨63 unchanged words⟩ it to their media library on the web. Pass scope "team" to list the team library instead (images every team member can use in team templates). Needs an API key; works on any plan.
Certificate changed, valid to 2027-01-21
Added "add_objects", "list_media", "remove_objects" and 1 more; changed the definition of "export_pptx", "get_template", "save_template" and 1 more (11 tools before, 15 now)
⟨14 unchanged words⟩ looks the same where they are not installed.OffOnunlessbyset.default; pass false to leave them out. The result lists fonts that could not be ⟨118 unchanged words⟩
Return one saved template: name, theme_id and slides as [{id, Added "add_objects", "list_media", "remove_objects" and 1 more; changed the definition of "export_pptx", "get_template", "save_template" and 1 more (11 tools before, 15 now)
⟨14 unchanged words⟩ looks the same where they are not installed.OffOnunlessbyset.default; pass false to leave them out. The result lists fonts that could not be ⟨118 unchanged words⟩
Return one saved template: name, theme_id and slides as [{id, Added "get_template", "list_templates", "save_template" and 1 more; changed the definition of "export_pptx" and "list_themes" (7 tools before, 11 now)
⟨44 unchanged words⟩ so the file matches what the gallery shows—, but the boxes are fixed, so text ⟨7 unchanged words⟩
{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"embed_fonts":{"description":"Put the fonts inside the file so it looks the same where they are not installed. Off unless set. The result lists fonts that could not be embedded.","type":"boolean"},"slides":{"description":"Up to 25 slides, in order. Required unless template_id is given.","items":{"properties":{"layout": ⟨29 unchanged words⟩ "minItems":1,"type":"array"},"template_id":{"description":"A saved template id from list_templates. Exports that template with its own
Added "get_template", "list_templates", "save_template" and 1 more; changed the definition of "export_pptx" and "list_themes" (7 tools before, 11 now)
⟨44 unchanged words⟩ so the file matches what the gallery shows—, but the boxes are fixed, so text ⟨7 unchanged words⟩
{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"embed_fonts":{"description":"Put the fonts inside the file so it looks the same where they are not installed. Off unless set. The result lists fonts that could not be embedded.","type":"boolean"},"slides":{"description":"Up to 25 slides, in order. Required unless template_id is given.","items":{"properties":{"layout": ⟨29 unchanged words⟩ "minItems":1,"type":"array"},"template_id":{"description":"A saved template id from list_templates. Exports that template with its own
Certificate recorded, valid to 2026-12-21
Authorization not required
First tool surface recorded: 7 tools (server version 0.1.0)
https://getdeck.co/api/mcp (mcp_streamable_http) — from mcp_registry
Added "export_pptx" (6 tools before, 7 now)
Export PPTX — Turn a deck into a downloadable .pptx file. Requests like "make it a PowerPoint", "PPT로 뽑아줘", or "export this deck" mean this tool. Takes the layout ids and the text for each slot, and returns a signed download link. Coordinates come from our measurements, so the file matches what the gallery shows — but the boxes are fixed, so text longer than slots[].max_chars will be clipped.
Certificate recorded, valid to 2026-11-20
Authorization not required
Unknown → Live
First tool surface recorded: 6 tools (server version 0.1.0)
https://getdeck.dodraft.studio/api/mcp (mcp_streamable_http) — from mcp_registry, with the record
Showing the latest 30 events. The API returns up to 500 and filters by kind: ?kind=tool_surface_changed
⟨71 unchanged words⟩ also return new_feedback (open pin comments). A template has a published version (what the share link, the presentation and export_pptx use) and may have a draft (unpublished changes made in the web editor or by update_template). By default you read the published version; pass draft: true to read the draft (the published version when there is no draft), which is what to read before you change a template. The response has published_version, draft_version (0: no draft), has_draft and showing ("published" or "draft"); version is the published version, kept for older callers. Needs an API key; reading works on any plan.
{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"draft":{"description":"true: read the draft (the latest changes). Default false: the published version.","type":"boolean"},"id":{"description":"Template id from list_templates. ⟨6 unchanged words⟩
⟨22 unchanged words⟩ "team"), slide_count, theme_id, source, updated_at, version (the published version; also as published_version) andversion.has_draft (the template has unpublished changes). Team templates also have created_by, review_state and ⟨31 unchanged words⟩
⟨54 unchanged words⟩ Returns the objects that remain and the newversion.draft_version. The edit is saved to the template's draft; call publish_template to publish it. Errors: pro_required, not_found, conflict (read again with get_template(draft: true) and retry), invalid_input.
{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"expected_versionexpected_draft_version":{"description":"The draft_version from get_template(draft: true) or your last save (0: no draft yet). Given, the call fails with conflict if the draft changed since.","maximum":9007199254740991,"minimum":0,"type":"integer"},"expected_version":{"description":"Older callers: the published version from get_template. Given, the call fails with conflict if the templatechangedwas published since.","maximum":9007199254740991,"minimum":-9007199254740991, ⟨40 unchanged words⟩
⟨86 unchanged words⟩ , url (the template's page), slide_count,versionpublished_version and draft_version (useaitnew template is published asexpected_versionv1inandupdate_templatehas no draft; draft_version is 0), overflow[] (slots whose text is ⟨46 unchanged words⟩
⟨107 unchanged words⟩ applied or none. Read ids and the currentversiondraft_version withget_template.get_template(draft: true). Returns the slide's objects and the newversion.draft_version. The edit is saved to the template's draft; call publish_template to publish it. Errors: pro_required, not_found, conflict (read again with get_template(draft: true) and retry), invalid_input.
⟨1162 unchanged words⟩ "minItems":1,"type":"array"},"expected_versionexpected_draft_version":{"description":"The draft_version from get_template(draft: true) or your last save (0: no draft yet). Given, the call fails with conflict if the draft changed since.","maximum":9007199254740991,"minimum":0,"type":"integer"},"expected_version":{"description":"Older callers: the published version from get_template. Given, the call fails with conflict if the templatechangedwas published since.","maximum":9007199254740991,"minimum":-9007199254740991, ⟨23 unchanged words⟩
Change a template the user already saved. The change is saved to the template's draft: the share link, the presentation and export_pptx(template_id) keep showing the published version until you call publish_template. Requires a Pro account; without one the call ⟨24 unchanged words⟩ append_slides (adds slides to the end). Read the latest content with get_template(draft: true) first: slides replaces the whole draft. Fields you do not know in what get_template ⟨122 unchanged words⟩ append. The response has the same fields assave_template.save_template, with saved_to "draft", published_version and draft_version. Deleting is not available here, only on the web. To avoid overwriting someone else's edit, pass expected_draft_version (the draft_version from get_template or your last save). If the template already has a draft that was last written by someone other than this API key (the user on the web, or another key), replacing all slides (slides) without expected_draft_version is refused with draft_exists, so a draft you did not read is not overwritten; your own earlier writes do not count, and expected_version does not lift the refusal. append_slides, name and theme changes are not affected. expected_version (the published version) still works for older callers: it fails with conflict if someone has published since. Errors: pro_required, not_found, slide_limit, draft_exists (slides sent without expected_draft_version while a draft that someone else wrote last exists), conflict (thetemplatedraft changed since expected_draft_version, the published version changed since expected_version, or the draft kept changing during an append; nothing was saved), unknown_theme, invalid_input.
before
{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"append_slides":{"description":"Slides added to the end. Existing slides stay.","items":{"properties":{"id":{"description":"The slide's id from get_template. Keep it when you resend a slide; leave it out for a new slide and the server assigns one.","type":"string"},"layout":{"description":"Layout id from list_layouts or suggest_deck.","type":"string"},"objects":{"description":"Images and text boxes laid over the slide, in 1920x1080 pixels. Resend the objects you got from get_template or they are removed. At most 50 per slide.","items":{"additionalProperties":{},"properties":{"alt":{"description":"For type \"image\": a short description of the picture for screen readers (up to 300 characters).","type":"string"},"asset":{"description":"For type \"image\": the id of an image in the user's media library.","type":"string"},"behind":{"description":"true: drawn behind the layout's own elements, on top of the slide background. Absent or false: in front of the layout.","type":"boolean"},"group":{"description":"Objects with the same group id move and copy together in the web editor; keep it when you resend.","type":"string"},"h":{"type":"number"},"id":{"type":"string"},"locked":{"description":"true: the user locked it on the web; keep it when you resend.","type":"boolean"},"rotate":{"type":"number"},"runs":{"description":"For type \"text\". Formatting of part of the text: [{ start, end, bold?, italic?, underline?, color?, link? }]. start and end are UTF-16 offsets into the text (JavaScript string indices: a Korean syllable counts 1, an emoji outside the basic plane 2), end exclusive, start < end. bold, italic, underline are true or false (false undoes a look the whole text has); color takes the colour forms below; link is kept for a later version and not drawn yet. The text itself stays plain. Ranges must fit the text, else the call fails with invalid_input. Shown in the editor, the PPTX (one text run per piece) and the HTML export. Changing the text without sending runs moves the stored runs with it (text before a range shifts it; a range whose characters are all deleted is dropped); send runs with the text to set them yourself, null (update_objects) or [] to remove them. Fields you do not know on a run are kept.","items":{"additionalProperties":{},"properties":{"end":{"type":"number"},"start":{"type":"number"}},"required":["start","end"],"type":"object"},"type":"array"},"shape":{"description":"For type \"shape\": \"rect\", \"roundRect\", \"ellipse\", \"line\" or \"arrow\".","type":"string"},"style":{"additionalProperties":{},"description":"For type \"text\" and \"shape\". Look fields (all optional; send null to take one away and go back to the default): text: size (8-400 px; in an override entry it is called fontSize), weight (400 or 700), italic, underline, strike (true/false), align (\"left\", \"center\", \"right\"), lineHeight (multiple of the size, 0.5-4), vAlign (\"top\", \"middle\", \"bottom\"; text boxes only), color. box: fill (a colour or \"none\"), fillOpacity (0-1), borderColor, borderWidth (0-40 px), radius (0-540 px), shadow (\"none\", \"sm\", \"md\", \"lg\"). line (strokes of a drawn line or icon): lineColor, lineWidth (0.5-40 px), dash (\"solid\", \"dash\", \"dot\"; also the border's style). A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme. Some layout elements are drawn as a picture in the PPTX; colours stored for them are ignored on every output.","properties":{"align":{"type":"string"},"color":{"description":"A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme.","type":"string"},"size":{"type":"number"},"weight":{"type":"number"}},"type":"object"},"text":{"description":"For type \"text\", and a box shape's inner text.","type":"string"},"type":{"description":"\"image\", \"text\" or \"shape\".","type":"string"},"w":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"},"z":{"description":"Stacking order; larger is in front. Each layer (see behind) is ordered on its own.","type":"number"}},"required":["type","x","y","w","h","z"],"type":"object"},"type":"array"},"overrides":{"additionalProperties":{"additionalProperties":{},"description":"Only what changed. Look fields (all optional; send null to take one away and go back to the default): text: size (8-400 px; in an override entry it is called fontSize), weight (400 or 700), italic, underline, strike (true/false), align (\"left\", \"center\", \"right\"), lineHeight (multiple of the size, 0.5-4), vAlign (\"top\", \"middle\", \"bottom\"; text boxes only), color. box: fill (a colour or \"none\"), fillOpacity (0-1), borderColor, borderWidth (0-40 px), radius (0-540 px), shadow (\"none\", \"sm\", \"md\", \"lg\"). line (strokes of a drawn line or icon): lineColor, lineWidth (0.5-40 px), dash (\"solid\", \"dash\", \"dot\"; also the border's style). A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme. Some layout elements are drawn as a picture in the PPTX; colours stored for them are ignored on every output.","properties":{"color":{"description":"A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme.","type":"string"},"deleted":{"description":"true: the element is not drawn on this slide (not in the export either).","type":"boolean"},"fill":{"description":"Box fill: a colour, or \"none\".","type":"string"},"fontSize":{"description":"Text size in px, 8 to 400.","type":"number"},"h":{"type":"number"},"locked":{"description":"true: the user locked the element on the web (no effect on the look or the export); keep it when you resend.","type":"boolean"},"runs":{"description":"For a text slot element. Formatting of part of the text: [{ start, end, bold?, italic?, underline?, color?, link? }]. start and end are UTF-16 offsets into the text (JavaScript string indices: a Korean syllable counts 1, an emoji outside the basic plane 2), end exclusive, start < end. bold, italic, underline are true or false (false undoes a look the whole text has); color takes the colour forms below; link is kept for a later version and not drawn yet. The text itself stays plain. Ranges must fit the text, else the call fails with invalid_input. Shown in the editor, the PPTX (one text run per piece) and the HTML export. Changing the text without sending runs moves the stored runs with it (text before a range shifts it; a range whose characters are all deleted is dropped); send runs with the text to set them yourself, null (update_objects) or [] to remove them. Fields you do not know on a run are kept.","items":{"additionalProperties":{},"properties":{"end":{"type":"number"},"start":{"type":"number"}},"required":["start","end"],"type":"object"},"type":"array"},"w":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"}},"type":"object"},"description":"Changes to the layout's own elements, by element key: { \"top-accent-bar\": { \"deleted\": true }, \"title\": { \"x\": 40, \"y\": 62, \"color\": \"#c8102e\", \"italic\": true } }. Only the values that changed are given; x, y, w, h are pixels on the 1920x1080 slide and the rest stays as the layout draws it. Look fields (colour, fill, border, line spacing...) sit in the same entry; see the entry schema. Resend the overrides you got from get_template or they are removed. Requires Pro.","propertyNames":{"type":"string"},"type":"object"},"slots":{"additionalProperties":{"type":"string"},"description":"Slot id to text. Ids and their max_chars come from get_layout.","propertyNames":{"type":"string"},"type":"object"}},"required":["layout"],"type":"object"},"minItems":1,"type":"array"},"expected_version":{"description":"The version from get_template or a previous save. Given, the call fails with conflict if the template changed since.","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"id":{"description":"Template id from list_templates.","type":"string"},"name":{"description":"New template name.","type":"string"},"palette":{"anyOf":[{"items":{"additionalProperties":{},"properties":{"color":{"type":"string"},"name":{"type":"string"}},"required":["name","color"],"type":"object"},"type":"array"},{"type":"null"}],"description":"The template's deck palette: up to 64 entries [{ \"name\": \"Brand red\", \"color\": \"#c8102e\" }]. Names are 1-40 letters, digits, spaces, \"_\" or \"-\", unique (ignoring case). Elements point at an entry with \"palette:<name>\". Sending palette replaces the whole list; null or [] removes it. Leave it out to keep it as it is."},"slides":{"description":"Replaces all slides of the template.","items":{"properties":{"id":{"description":"The slide's id from get_template. Keep it when you resend a slide; leave it out for a new slide and the server assigns one.","type":"string"},"layout":{"description":"Layout id from list_layouts or suggest_deck.","type":"string"},"objects":{"description":"Images and text boxes laid over the slide, in 1920x1080 pixels. Resend the objects you got from get_template or they are removed. At most 50 per slide.","items":{"additionalProperties":{},"properties":{"alt":{"description":"For type \"image\": a short description of the picture for screen readers (up to 300 characters).","type":"string"},"asset":{"description":"For type \"image\": the id of an image in the user's media library.","type":"string"},"behind":{"description":"true: drawn behind the layout's own elements, on top of the slide background. Absent or false: in front of the layout.","type":"boolean"},"group":{"description":"Objects with the same group id move and copy together in the web editor; keep it when you resend.","type":"string"},"h":{"type":"number"},"id":{"type":"string"},"locked":{"description":"true: the user locked it on the web; keep it when you resend.","type":"boolean"},"rotate":{"type":"number"},"runs":{"description":"For type \"text\". Formatting of part of the text: [{ start, end, bold?, italic?, underline?, color?, link? }]. start and end are UTF-16 offsets into the text (JavaScript string indices: a Korean syllable counts 1, an emoji outside the basic plane 2), end exclusive, start < end. bold, italic, underline are true or false (false undoes a look the whole text has); color takes the colour forms below; link is kept for a later version and not drawn yet. The text itself stays plain. Ranges must fit the text, else the call fails with invalid_input. Shown in the editor, the PPTX (one text run per piece) and the HTML export. Changing the text without sending runs moves the stored runs with it (text before a range shifts it; a range whose characters are all deleted is dropped); send runs with the text to set them yourself, null (update_objects) or [] to remove them. Fields you do not know on a run are kept.","items":{"additionalProperties":{},"properties":{"end":{"type":"number"},"start":{"type":"number"}},"required":["start","end"],"type":"object"},"type":"array"},"shape":{"description":"For type \"shape\": \"rect\", \"roundRect\", \"ellipse\", \"line\" or \"arrow\".","type":"string"},"style":{"additionalProperties":{},"description":"For type \"text\" and \"shape\". Look fields (all optional; send null to take one away and go back to the default): text: size (8-400 px; in an override entry it is called fontSize), weight (400 or 700), italic, underline, strike (true/false), align (\"left\", \"center\", \"right\"), lineHeight (multiple of the size, 0.5-4), vAlign (\"top\", \"middle\", \"bottom\"; text boxes only), color. box: fill (a colour or \"none\"), fillOpacity (0-1), borderColor, borderWidth (0-40 px), radius (0-540 px), shadow (\"none\", \"sm\", \"md\", \"lg\"). line (strokes of a drawn line or icon): lineColor, lineWidth (0.5-40 px), dash (\"solid\", \"dash\", \"dot\"; also the border's style). A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme. Some layout elements are drawn as a picture in the PPTX; colours stored for them are ignored on every output.","properties":{"align":{"type":"string"},"color":{"description":"A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme.","type":"string"},"size":{"type":"number"},"weight":{"type":"number"}},"type":"object"},"text":{"description":"For type \"text\", and a box shape's inner text.","type":"string"},"type":{"description":"\"image\", \"text\" or \"shape\".","type":"string"},"w":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"},"z":{"description":"Stacking order; larger is in front. Each layer (see behind) is ordered on its own.","type":"number"}},"required":["type","x","y","w","h","z"],"type":"object"},"type":"array"},"overrides":{"additionalProperties":{"additionalProperties":{},"description":"Only what changed. Look fields (all optional; send null to take one away and go back to the default): text: size (8-400 px; in an override entry it is called fontSize), weight (400 or 700), italic, underline, strike (true/false), align (\"left\", \"center\", \"right\"), lineHeight (multiple of the size, 0.5-4), vAlign (\"top\", \"middle\", \"bottom\"; text boxes only), color. box: fill (a colour or \"none\"), fillOpacity (0-1), borderColor, borderWidth (0-40 px), radius (0-540 px), shadow (\"none\", \"sm\", \"md\", \"lg\"). line (strokes of a drawn line or icon): lineColor, lineWidth (0.5-40 px), dash (\"solid\", \"dash\", \"dot\"; also the border's style). A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme. Some layout elements are drawn as a picture in the PPTX; colours stored for them are ignored on every output.","properties":{"color":{"description":"A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme.","type":"string"},"deleted":{"description":"true: the element is not drawn on this slide (not in the export either).","type":"boolean"},"fill":{"description":"Box fill: a colour, or \"none\".","type":"string"},"fontSize":{"description":"Text size in px, 8 to 400.","type":"number"},"h":{"type":"number"},"locked":{"description":"true: the user locked the element on the web (no effect on the look or the export); keep it when you resend.","type":"boolean"},"runs":{"description":"For a text slot element. Formatting of part of the text: [{ start, end, bold?, italic?, underline?, color?, link? }]. start and end are UTF-16 offsets into the text (JavaScript string indices: a Korean syllable counts 1, an emoji outside the basic plane 2), end exclusive, start < end. bold, italic, underline are true or false (false undoes a look the whole text has); color takes the colour forms below; link is kept for a later version and not drawn yet. The text itself stays plain. Ranges must fit the text, else the call fails with invalid_input. Shown in the editor, the PPTX (one text run per piece) and the HTML export. Changing the text without sending runs moves the stored runs with it (text before a range shifts it; a range whose characters are all deleted is dropped); send runs with the text to set them yourself, null (update_objects) or [] to remove them. Fields you do not know on a run are kept.","items":{"additionalProperties":{},"properties":{"end":{"type":"number"},"start":{"type":"number"}},"required":["start","end"],"type":"object"},"type":"array"},"w":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"}},"type":"object"},"description":"Changes to the layout's own elements, by element key: { \"top-accent-bar\": { \"deleted\": true }, \"title\": { \"x\": 40, \"y\": 62, \"color\": \"#c8102e\", \"italic\": true } }. Only the values that changed are given; x, y, w, h are pixels on the 1920x1080 slide and the rest stays as the layout draws it. Look fields (colour, fill, border, line spacing...) sit in the same entry; see the entry schema. Resend the overrides you got from get_template or they are removed. Requires Pro.","propertyNames":{"type":"string"},"type":"object"},"slots":{"additionalProperties":{"type":"string"},"description":"Slot id to text. Ids and their max_chars come from get_layout.","propertyNames":{"type":"string"},"type":"object"}},"required":["layout"],"type":"object"},"minItems":1,"type":"array"},"theme_id":{"description":"New theme: a catalog theme id or custom:<uuid>.","type":"string"}},"required":["id"],"type":"object"}List template versions — List a template's version history, newest first: version_number, published_at, published_by ("you", a teammate's email, or null), note and slide_count. A version is added each time the template is published (publish_template or the Publish button on the web); the 30 most recent are kept. Restoring a version is done on the web. Needs an API key; works on any plan.
Publish template — Publish a template's draft: the changes saved by update_template, add_objects, update_objects and remove_objects (or made in the web editor) become the published version, which is what the share link, the presentation, teammates and export_pptx(template_id) show. A new entry is added to the version history; the previous published version stays there and can be restored on the web. Requires a Pro account. Input: the template id, an optional one-line note (up to 100 characters) for the history, and optionally expected_draft_version (the draft_version you last saw) so a draft someone else change…
⟨71 unchanged words⟩ also return new_feedback (open pin comments). A template has a published version (what the share link, the presentation and export_pptx use) and may have a draft (unpublished changes made in the web editor or by update_template). By default you read the published version; pass draft: true to read the draft (the published version when there is no draft), which is what to read before you change a template. The response has published_version, draft_version (0: no draft), has_draft and showing ("published" or "draft"); version is the published version, kept for older callers. Needs an API key; reading works on any plan.
{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"draft":{"description":"true: read the draft (the latest changes). Default false: the published version.","type":"boolean"},"id":{"description":"Template id from list_templates. ⟨6 unchanged words⟩
⟨22 unchanged words⟩ "team"), slide_count, theme_id, source, updated_at, version (the published version; also as published_version) andversion.has_draft (the template has unpublished changes). Team templates also have created_by, review_state and ⟨31 unchanged words⟩
⟨54 unchanged words⟩ Returns the objects that remain and the newversion.draft_version. The edit is saved to the template's draft; call publish_template to publish it. Errors: pro_required, not_found, conflict (read again with get_template(draft: true) and retry), invalid_input.
{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"expected_versionexpected_draft_version":{"description":"The draft_version from get_template(draft: true) or your last save (0: no draft yet). Given, the call fails with conflict if the draft changed since.","maximum":9007199254740991,"minimum":0,"type":"integer"},"expected_version":{"description":"Older callers: the published version from get_template. Given, the call fails with conflict if the templatechangedwas published since.","maximum":9007199254740991,"minimum":-9007199254740991, ⟨40 unchanged words⟩
⟨86 unchanged words⟩ , url (the template's page), slide_count,versionpublished_version and draft_version (useaitnew template is published asexpected_versionv1inandupdate_templatehas no draft; draft_version is 0), overflow[] (slots whose text is ⟨46 unchanged words⟩
⟨107 unchanged words⟩ applied or none. Read ids and the currentversiondraft_version withget_template.get_template(draft: true). Returns the slide's objects and the newversion.draft_version. The edit is saved to the template's draft; call publish_template to publish it. Errors: pro_required, not_found, conflict (read again with get_template(draft: true) and retry), invalid_input.
⟨1162 unchanged words⟩ "minItems":1,"type":"array"},"expected_versionexpected_draft_version":{"description":"The draft_version from get_template(draft: true) or your last save (0: no draft yet). Given, the call fails with conflict if the draft changed since.","maximum":9007199254740991,"minimum":0,"type":"integer"},"expected_version":{"description":"Older callers: the published version from get_template. Given, the call fails with conflict if the templatechangedwas published since.","maximum":9007199254740991,"minimum":-9007199254740991, ⟨23 unchanged words⟩
Change a template the user already saved. The change is saved to the template's draft: the share link, the presentation and export_pptx(template_id) keep showing the published version until you call publish_template. Requires a Pro account; without one the call ⟨24 unchanged words⟩ append_slides (adds slides to the end). Read the latest content with get_template(draft: true) first: slides replaces the whole draft. Fields you do not know in what get_template ⟨122 unchanged words⟩ append. The response has the same fields assave_template.save_template, with saved_to "draft", published_version and draft_version. Deleting is not available here, only on the web. To avoid overwriting someone else's edit, pass expected_draft_version (the draft_version from get_template or your last save). If the template already has a draft that was last written by someone other than this API key (the user on the web, or another key), replacing all slides (slides) without expected_draft_version is refused with draft_exists, so a draft you did not read is not overwritten; your own earlier writes do not count, and expected_version does not lift the refusal. append_slides, name and theme changes are not affected. expected_version (the published version) still works for older callers: it fails with conflict if someone has published since. Errors: pro_required, not_found, slide_limit, draft_exists (slides sent without expected_draft_version while a draft that someone else wrote last exists), conflict (thetemplatedraft changed since expected_draft_version, the published version changed since expected_version, or the draft kept changing during an append; nothing was saved), unknown_theme, invalid_input.
before
{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"append_slides":{"description":"Slides added to the end. Existing slides stay.","items":{"properties":{"id":{"description":"The slide's id from get_template. Keep it when you resend a slide; leave it out for a new slide and the server assigns one.","type":"string"},"layout":{"description":"Layout id from list_layouts or suggest_deck.","type":"string"},"objects":{"description":"Images and text boxes laid over the slide, in 1920x1080 pixels. Resend the objects you got from get_template or they are removed. At most 50 per slide.","items":{"additionalProperties":{},"properties":{"alt":{"description":"For type \"image\": a short description of the picture for screen readers (up to 300 characters).","type":"string"},"asset":{"description":"For type \"image\": the id of an image in the user's media library.","type":"string"},"behind":{"description":"true: drawn behind the layout's own elements, on top of the slide background. Absent or false: in front of the layout.","type":"boolean"},"group":{"description":"Objects with the same group id move and copy together in the web editor; keep it when you resend.","type":"string"},"h":{"type":"number"},"id":{"type":"string"},"locked":{"description":"true: the user locked it on the web; keep it when you resend.","type":"boolean"},"rotate":{"type":"number"},"runs":{"description":"For type \"text\". Formatting of part of the text: [{ start, end, bold?, italic?, underline?, color?, link? }]. start and end are UTF-16 offsets into the text (JavaScript string indices: a Korean syllable counts 1, an emoji outside the basic plane 2), end exclusive, start < end. bold, italic, underline are true or false (false undoes a look the whole text has); color takes the colour forms below; link is kept for a later version and not drawn yet. The text itself stays plain. Ranges must fit the text, else the call fails with invalid_input. Shown in the editor, the PPTX (one text run per piece) and the HTML export. Changing the text without sending runs moves the stored runs with it (text before a range shifts it; a range whose characters are all deleted is dropped); send runs with the text to set them yourself, null (update_objects) or [] to remove them. Fields you do not know on a run are kept.","items":{"additionalProperties":{},"properties":{"end":{"type":"number"},"start":{"type":"number"}},"required":["start","end"],"type":"object"},"type":"array"},"shape":{"description":"For type \"shape\": \"rect\", \"roundRect\", \"ellipse\", \"line\" or \"arrow\".","type":"string"},"style":{"additionalProperties":{},"description":"For type \"text\" and \"shape\". Look fields (all optional; send null to take one away and go back to the default): text: size (8-400 px; in an override entry it is called fontSize), weight (400 or 700), italic, underline, strike (true/false), align (\"left\", \"center\", \"right\"), lineHeight (multiple of the size, 0.5-4), vAlign (\"top\", \"middle\", \"bottom\"; text boxes only), color. box: fill (a colour or \"none\"), fillOpacity (0-1), borderColor, borderWidth (0-40 px), radius (0-540 px), shadow (\"none\", \"sm\", \"md\", \"lg\"). line (strokes of a drawn line or icon): lineColor, lineWidth (0.5-40 px), dash (\"solid\", \"dash\", \"dot\"; also the border's style). A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme. Some layout elements are drawn as a picture in the PPTX; colours stored for them are ignored on every output.","properties":{"align":{"type":"string"},"color":{"description":"A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme.","type":"string"},"size":{"type":"number"},"weight":{"type":"number"}},"type":"object"},"text":{"description":"For type \"text\", and a box shape's inner text.","type":"string"},"type":{"description":"\"image\", \"text\" or \"shape\".","type":"string"},"w":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"},"z":{"description":"Stacking order; larger is in front. Each layer (see behind) is ordered on its own.","type":"number"}},"required":["type","x","y","w","h","z"],"type":"object"},"type":"array"},"overrides":{"additionalProperties":{"additionalProperties":{},"description":"Only what changed. Look fields (all optional; send null to take one away and go back to the default): text: size (8-400 px; in an override entry it is called fontSize), weight (400 or 700), italic, underline, strike (true/false), align (\"left\", \"center\", \"right\"), lineHeight (multiple of the size, 0.5-4), vAlign (\"top\", \"middle\", \"bottom\"; text boxes only), color. box: fill (a colour or \"none\"), fillOpacity (0-1), borderColor, borderWidth (0-40 px), radius (0-540 px), shadow (\"none\", \"sm\", \"md\", \"lg\"). line (strokes of a drawn line or icon): lineColor, lineWidth (0.5-40 px), dash (\"solid\", \"dash\", \"dot\"; also the border's style). A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme. Some layout elements are drawn as a picture in the PPTX; colours stored for them are ignored on every output.","properties":{"color":{"description":"A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme.","type":"string"},"deleted":{"description":"true: the element is not drawn on this slide (not in the export either).","type":"boolean"},"fill":{"description":"Box fill: a colour, or \"none\".","type":"string"},"fontSize":{"description":"Text size in px, 8 to 400.","type":"number"},"h":{"type":"number"},"locked":{"description":"true: the user locked the element on the web (no effect on the look or the export); keep it when you resend.","type":"boolean"},"runs":{"description":"For a text slot element. Formatting of part of the text: [{ start, end, bold?, italic?, underline?, color?, link? }]. start and end are UTF-16 offsets into the text (JavaScript string indices: a Korean syllable counts 1, an emoji outside the basic plane 2), end exclusive, start < end. bold, italic, underline are true or false (false undoes a look the whole text has); color takes the colour forms below; link is kept for a later version and not drawn yet. The text itself stays plain. Ranges must fit the text, else the call fails with invalid_input. Shown in the editor, the PPTX (one text run per piece) and the HTML export. Changing the text without sending runs moves the stored runs with it (text before a range shifts it; a range whose characters are all deleted is dropped); send runs with the text to set them yourself, null (update_objects) or [] to remove them. Fields you do not know on a run are kept.","items":{"additionalProperties":{},"properties":{"end":{"type":"number"},"start":{"type":"number"}},"required":["start","end"],"type":"object"},"type":"array"},"w":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"}},"type":"object"},"description":"Changes to the layout's own elements, by element key: { \"top-accent-bar\": { \"deleted\": true }, \"title\": { \"x\": 40, \"y\": 62, \"color\": \"#c8102e\", \"italic\": true } }. Only the values that changed are given; x, y, w, h are pixels on the 1920x1080 slide and the rest stays as the layout draws it. Look fields (colour, fill, border, line spacing...) sit in the same entry; see the entry schema. Resend the overrides you got from get_template or they are removed. Requires Pro.","propertyNames":{"type":"string"},"type":"object"},"slots":{"additionalProperties":{"type":"string"},"description":"Slot id to text. Ids and their max_chars come from get_layout.","propertyNames":{"type":"string"},"type":"object"}},"required":["layout"],"type":"object"},"minItems":1,"type":"array"},"expected_version":{"description":"The version from get_template or a previous save. Given, the call fails with conflict if the template changed since.","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"id":{"description":"Template id from list_templates.","type":"string"},"name":{"description":"New template name.","type":"string"},"palette":{"anyOf":[{"items":{"additionalProperties":{},"properties":{"color":{"type":"string"},"name":{"type":"string"}},"required":["name","color"],"type":"object"},"type":"array"},{"type":"null"}],"description":"The template's deck palette: up to 64 entries [{ \"name\": \"Brand red\", \"color\": \"#c8102e\" }]. Names are 1-40 letters, digits, spaces, \"_\" or \"-\", unique (ignoring case). Elements point at an entry with \"palette:<name>\". Sending palette replaces the whole list; null or [] removes it. Leave it out to keep it as it is."},"slides":{"description":"Replaces all slides of the template.","items":{"properties":{"id":{"description":"The slide's id from get_template. Keep it when you resend a slide; leave it out for a new slide and the server assigns one.","type":"string"},"layout":{"description":"Layout id from list_layouts or suggest_deck.","type":"string"},"objects":{"description":"Images and text boxes laid over the slide, in 1920x1080 pixels. Resend the objects you got from get_template or they are removed. At most 50 per slide.","items":{"additionalProperties":{},"properties":{"alt":{"description":"For type \"image\": a short description of the picture for screen readers (up to 300 characters).","type":"string"},"asset":{"description":"For type \"image\": the id of an image in the user's media library.","type":"string"},"behind":{"description":"true: drawn behind the layout's own elements, on top of the slide background. Absent or false: in front of the layout.","type":"boolean"},"group":{"description":"Objects with the same group id move and copy together in the web editor; keep it when you resend.","type":"string"},"h":{"type":"number"},"id":{"type":"string"},"locked":{"description":"true: the user locked it on the web; keep it when you resend.","type":"boolean"},"rotate":{"type":"number"},"runs":{"description":"For type \"text\". Formatting of part of the text: [{ start, end, bold?, italic?, underline?, color?, link? }]. start and end are UTF-16 offsets into the text (JavaScript string indices: a Korean syllable counts 1, an emoji outside the basic plane 2), end exclusive, start < end. bold, italic, underline are true or false (false undoes a look the whole text has); color takes the colour forms below; link is kept for a later version and not drawn yet. The text itself stays plain. Ranges must fit the text, else the call fails with invalid_input. Shown in the editor, the PPTX (one text run per piece) and the HTML export. Changing the text without sending runs moves the stored runs with it (text before a range shifts it; a range whose characters are all deleted is dropped); send runs with the text to set them yourself, null (update_objects) or [] to remove them. Fields you do not know on a run are kept.","items":{"additionalProperties":{},"properties":{"end":{"type":"number"},"start":{"type":"number"}},"required":["start","end"],"type":"object"},"type":"array"},"shape":{"description":"For type \"shape\": \"rect\", \"roundRect\", \"ellipse\", \"line\" or \"arrow\".","type":"string"},"style":{"additionalProperties":{},"description":"For type \"text\" and \"shape\". Look fields (all optional; send null to take one away and go back to the default): text: size (8-400 px; in an override entry it is called fontSize), weight (400 or 700), italic, underline, strike (true/false), align (\"left\", \"center\", \"right\"), lineHeight (multiple of the size, 0.5-4), vAlign (\"top\", \"middle\", \"bottom\"; text boxes only), color. box: fill (a colour or \"none\"), fillOpacity (0-1), borderColor, borderWidth (0-40 px), radius (0-540 px), shadow (\"none\", \"sm\", \"md\", \"lg\"). line (strokes of a drawn line or icon): lineColor, lineWidth (0.5-40 px), dash (\"solid\", \"dash\", \"dot\"; also the border's style). A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme. Some layout elements are drawn as a picture in the PPTX; colours stored for them are ignored on every output.","properties":{"align":{"type":"string"},"color":{"description":"A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme.","type":"string"},"size":{"type":"number"},"weight":{"type":"number"}},"type":"object"},"text":{"description":"For type \"text\", and a box shape's inner text.","type":"string"},"type":{"description":"\"image\", \"text\" or \"shape\".","type":"string"},"w":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"},"z":{"description":"Stacking order; larger is in front. Each layer (see behind) is ordered on its own.","type":"number"}},"required":["type","x","y","w","h","z"],"type":"object"},"type":"array"},"overrides":{"additionalProperties":{"additionalProperties":{},"description":"Only what changed. Look fields (all optional; send null to take one away and go back to the default): text: size (8-400 px; in an override entry it is called fontSize), weight (400 or 700), italic, underline, strike (true/false), align (\"left\", \"center\", \"right\"), lineHeight (multiple of the size, 0.5-4), vAlign (\"top\", \"middle\", \"bottom\"; text boxes only), color. box: fill (a colour or \"none\"), fillOpacity (0-1), borderColor, borderWidth (0-40 px), radius (0-540 px), shadow (\"none\", \"sm\", \"md\", \"lg\"). line (strokes of a drawn line or icon): lineColor, lineWidth (0.5-40 px), dash (\"solid\", \"dash\", \"dot\"; also the border's style). A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme. Some layout elements are drawn as a picture in the PPTX; colours stored for them are ignored on every output.","properties":{"color":{"description":"A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme.","type":"string"},"deleted":{"description":"true: the element is not drawn on this slide (not in the export either).","type":"boolean"},"fill":{"description":"Box fill: a colour, or \"none\".","type":"string"},"fontSize":{"description":"Text size in px, 8 to 400.","type":"number"},"h":{"type":"number"},"locked":{"description":"true: the user locked the element on the web (no effect on the look or the export); keep it when you resend.","type":"boolean"},"runs":{"description":"For a text slot element. Formatting of part of the text: [{ start, end, bold?, italic?, underline?, color?, link? }]. start and end are UTF-16 offsets into the text (JavaScript string indices: a Korean syllable counts 1, an emoji outside the basic plane 2), end exclusive, start < end. bold, italic, underline are true or false (false undoes a look the whole text has); color takes the colour forms below; link is kept for a later version and not drawn yet. The text itself stays plain. Ranges must fit the text, else the call fails with invalid_input. Shown in the editor, the PPTX (one text run per piece) and the HTML export. Changing the text without sending runs moves the stored runs with it (text before a range shifts it; a range whose characters are all deleted is dropped); send runs with the text to set them yourself, null (update_objects) or [] to remove them. Fields you do not know on a run are kept.","items":{"additionalProperties":{},"properties":{"end":{"type":"number"},"start":{"type":"number"}},"required":["start","end"],"type":"object"},"type":"array"},"w":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"}},"type":"object"},"description":"Changes to the layout's own elements, by element key: { \"top-accent-bar\": { \"deleted\": true }, \"title\": { \"x\": 40, \"y\": 62, \"color\": \"#c8102e\", \"italic\": true } }. Only the values that changed are given; x, y, w, h are pixels on the 1920x1080 slide and the rest stays as the layout draws it. Look fields (colour, fill, border, line spacing...) sit in the same entry; see the entry schema. Resend the overrides you got from get_template or they are removed. Requires Pro.","propertyNames":{"type":"string"},"type":"object"},"slots":{"additionalProperties":{"type":"string"},"description":"Slot id to text. Ids and their max_chars come from get_layout.","propertyNames":{"type":"string"},"type":"object"}},"required":["layout"],"type":"object"},"minItems":1,"type":"array"},"theme_id":{"description":"New theme: a catalog theme id or custom:<uuid>.","type":"string"}},"required":["id"],"type":"object"}List template versions — List a template's version history, newest first: version_number, published_at, published_by ("you", a teammate's email, or null), note and slide_count. A version is added each time the template is published (publish_template or the Publish button on the web); the 30 most recent are kept. Restoring a version is done on the web. Needs an API key; works on any plan.
Publish template — Publish a template's draft: the changes saved by update_template, add_objects, update_objects and remove_objects (or made in the web editor) become the published version, which is what the share link, the presentation, teammates and export_pptx(template_id) show. A new entry is added to the version history; the previous published version stays there and can be restored on the web. Requires a Pro account. Input: the template id, an optional one-line note (up to 100 characters) for the history, and optionally expected_draft_version (the draft_version you last saw) so a draft someone else change…
before
{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"expected_version":{"description":"The version from get_template. Given, the call fails with conflict if the template changed since.","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"objects":{"description":"Text boxes and images to add to the slide.","items":{"additionalProperties":false,"properties":{"alt":{"description":"Image only: what the picture shows, up to 300 characters.","type":"string"},"asset":{"description":"Image only: an id from list_media.","type":"string"},"behind":{"description":"true: draw this object behind the layout's own elements (title, body, shapes), on top of the slide background. Default false: in front of the layout.","type":"boolean"},"h":{"description":"Height in pixels. For an image, leave it out.","type":"number"},"id":{"description":"Optional. Leave out and the server makes one.","type":"string"},"rotate":{"description":"Degrees, -360 to 360.","type":"number"},"style":{"additionalProperties":false,"description":"Text box look. Only the fields you send change.","properties":{"align":{"description":"\"left\", \"center\" or \"right\".","type":"string"},"color":{"description":"A theme token such as \"ink\", \"ink-soft\", \"accent\", \"bg\", \"danger\". Not a color value.","type":"string"},"size":{"description":"Font size, 8 to 400.","type":"number"},"weight":{"description":"400 or 700.","type":"number"}},"type":"object"},"text":{"description":"Text box only. Up to 1000 characters.","type":"string"},"type":{"enum":["text","image"],"type":"string"},"w":{"description":"Width in pixels. For an image, send w alone and the height follows the picture.","type":"number"},"x":{"description":"Left edge in pixels on the 1920x1080 slide.","type":"number"},"y":{"description":"Top edge in pixels.","type":"number"},"z":{"description":"Stacking order, larger is in front. Default: in front of everything in its layer. Each layer (see behind) is ordered on its own.","type":"number"}},"required":["type"],"type":"object"},"maxItems":50,"minItems":1,"type":"array"},"slide_id":{"description":"The slide's id from get_template.","type":"string"},"template_id":{"description":"From list_templates.","type":"string"}},"required":["template_id","slide_id","objects"],"type":"object"}after
{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"expected_version":{"description":"The version from get_template. Given, the call fails with conflict if the template changed since.","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"objects":{"description":"Text boxes, shapes and images to add to the slide.","items":{"additionalProperties":false,"properties":{"alt":{"description":"Image only: what the picture shows, up to 300 characters.","type":"string"},"asset":{"description":"Image only: an id from list_media.","type":"string"},"behind":{"description":"true: draw this object behind the layout's own elements (title, body, shapes), on top of the slide background. Default false: in front of the layout.","type":"boolean"},"group":{"description":"Objects with the same group id are picked, moved and copied together in the web editor (1 to 40 letters, digits, \"_\" or \"-\"). Has no effect on how the slide looks or exports.","type":"string"},"h":{"description":"Height in pixels. For an image, leave it out.","type":"number"},"id":{"description":"Optional. Leave out and the server makes one.","type":"string"},"locked":{"description":"true: the web editor will not move, resize, change or delete it until it is unlocked. A locked object also refuses update_objects and remove_objects until a change sends locked:false. Has no effect on how the slide looks or exports.","type":"boolean"},"rotate":{"description":"Degrees, -360 to 360.","type":"number"},"runs":{"anyOf":[{"items":{"additionalProperties":{},"properties":{"end":{"type":"number"},"start":{"type":"number"}},"required":["start","end"],"type":"object"},"type":"array"},{"type":"null"}],"description":"Formatting of part of the text: [{ start, end, bold?, italic?, underline?, color?, link? }]. start and end are UTF-16 offsets into the text (JavaScript string indices: a Korean syllable counts 1, an emoji outside the basic plane 2), end exclusive, start < end. bold, italic, underline are true or false (false undoes a look the whole text has); color takes the colour forms below; link is kept for a later version and not drawn yet. The text itself stays plain. Ranges must fit the text, else the call fails with invalid_input. Shown in the editor, the PPTX (one text run per piece) and the HTML export. Changing the text without sending runs moves the stored runs with it (text before a range shifts it; a range whose characters are all deleted is dropped); send runs with the text to set them yourself, null (update_objects) or [] to remove them. Fields you do not know on a run are kept."},"shape":{"description":"Shape only (required for type \"shape\"). Shapes: shape is \"rect\", \"roundRect\", \"ellipse\", \"line\" or \"arrow\". A new shape starts with a look of its own (an accent fill and centred text for a box; an ink line 4 px wide for a line), so send only what differs. A box shape takes fill, fillOpacity, borderColor, borderWidth, dash, shadow, roundRect also radius (px), and text with the text fields. A line or arrow runs left to right through the middle of its box (turn it with rotate; the arrowhead is at the right end) and takes lineColor, lineWidth, dash; it holds no text. Shapes are native shapes in the PPTX.","enum":["rect","roundRect","ellipse","line","arrow"],"type":"string"},"style":{"additionalProperties":{},"description":"Text box or shape look. Only the fields you send change; null takes a field away. Look fields (all optional; send null to take one away and go back to the default): text: size (8-400 px; in an override entry it is called fontSize), weight (400 or 700), italic, underline, strike (true/false), align (\"left\", \"center\", \"right\"), lineHeight (multiple of the size, 0.5-4), vAlign (\"top\", \"middle\", \"bottom\"; text boxes only), color. box: fill (a colour or \"none\"), fillOpacity (0-1), borderColor, borderWidth (0-40 px), radius (0-540 px), shadow (\"none\", \"sm\", \"md\", \"lg\"). line (strokes of a drawn line or icon): lineColor, lineWidth (0.5-40 px), dash (\"solid\", \"dash\", \"dot\"; also the border's style). A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme. Some layout elements are drawn as a picture in the PPTX; colours stored for them are ignored on every output.","properties":{"align":{"description":"\"left\", \"center\" or \"right\".","type":["string","null"]},"borderColor":{"description":"A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme.","type":["string","null"]},"borderWidth":{"description":"0 to 40 px; 0 is no border.","type":["number","null"]},"color":{"description":"A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme.","type":["string","null"]},"dash":{"description":"Border or line style: \"solid\", \"dash\" or \"dot\".","type":["string","null"]},"fill":{"description":"Box fill: a colour, or \"none\".","type":["string","null"]},"fillOpacity":{"description":"0 to 1, the fill only.","type":["number","null"]},"italic":{"type":["boolean","null"]},"lineColor":{"description":"A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme.","type":["string","null"]},"lineHeight":{"description":"Line spacing as a multiple of the size, 0.5 to 4. Default 1.3.","type":["number","null"]},"lineWidth":{"description":"Line and arrow shapes: 0.5 to 40 px.","type":["number","null"]},"radius":{"description":"Corner radius, 0 to 540 px.","type":["number","null"]},"shadow":{"description":"\"none\", \"sm\", \"md\" or \"lg\".","type":["string","null"]},"size":{"description":"Font size, 8 to 400.","type":["number","null"]},"strike":{"type":["boolean","null"]},"underline":{"type":["boolean","null"]},"vAlign":{"description":"\"top\" (default), \"middle\" or \"bottom\" inside the box.","type":["string","null"]},"weight":{"description":"400 or 700.","type":["number","null"]}},"type":"object"},"text":{"description":"Text box (required) or a rect, roundRect or ellipse shape (the text inside it). Up to 1000 characters.","type":"string"},"type":{"enum":["text","image","shape"],"type":"string"},"w":{"description":"Width in pixels. For an image, send w alone and the height follows the picture.","type":"number"},"x":{"description":"Left edge in pixels on the 1920x1080 slide.","type":"number"},"y":{"description":"Top edge in pixels.","type":"number"},"z":{"description":"Stacking order, larger is in front. Default: in front of everything in its layer. Each layer (see behind) is ordered on its own.","type":"number"}},"required":["type"],"type":"object"},"maxItems":50,"minItems":1,"type":"array"},"slide_id":{"description":"The slide's id from get_template.","type":"string"},"template_id":{"description":"From list_templates.","type":"string"}},"required":["template_id","slide_id","objects"],"type":"object"}Return one saved template: name, theme_id, palette? (the deck palette) and slides as [{id, layout, slots ⟨71 unchanged words⟩
⟨35 unchanged words⟩ any id is not on the slide, or one is locked (unlock it with update_objects first), nothing is removed. Returns the objects that remain ⟨15 unchanged words⟩
before
{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"name":{"description":"Template name shown in My Templates.","type":"string"},"owner":{"description":"Where to save it. Default \"personal\". \"team\" saves it to the user's team (they must be an active member), where teammates can open, comment on and review it. Images in a team template must come from the team library (list_media with scope \"team\").","enum":["personal","team"],"type":"string"},"slides":{"description":"The slides, in order: [{layout, slots}]. Up to 40 on Pro, 100 on Team.","items":{"properties":{"id":{"description":"The slide's id from get_template. Keep it when you resend a slide; leave it out for a new slide and the server assigns one.","type":"string"},"layout":{"description":"Layout id from list_layouts or suggest_deck.","type":"string"},"objects":{"description":"Images and text boxes laid over the slide, in 1920x1080 pixels. Resend the objects you got from get_template or they are removed. At most 50 per slide.","items":{"additionalProperties":{},"properties":{"alt":{"description":"For type \"image\": a short description of the picture for screen readers (up to 300 characters).","type":"string"},"asset":{"description":"For type \"image\": the id of an image in the user's media library.","type":"string"},"behind":{"description":"true: drawn behind the layout's own elements, on top of the slide background. Absent or false: in front of the layout.","type":"boolean"},"h":{"type":"number"},"id":{"type":"string"},"rotate":{"type":"number"},"style":{"additionalProperties":{},"properties":{"align":{"type":"string"},"color":{"description":"A theme token name such as \"ink\" or \"accent\", not a color value.","type":"string"},"size":{"type":"number"},"weight":{"type":"number"}},"type":"object"},"text":{"description":"For type \"text\".","type":"string"},"type":{"description":"\"image\" or \"text\".","type":"string"},"w":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"},"z":{"description":"Stacking order; larger is in front. Each layer (see behind) is ordered on its own.","type":"number"}},"required":["type","x","y","w","h","z"],"type":"object"},"type":"array"},"overrides":{"additionalProperties":{"additionalProperties":{},"properties":{"deleted":{"description":"true: the element is not drawn on this slide (not in the export either).","type":"boolean"},"h":{"type":"number"},"w":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"}},"type":"object"},"description":"Changes to the layout's own elements, by element key: { \"top-accent-bar\": { \"deleted\": true }, \"title\": { \"x\": 40, \"y\": 62 } }. Only the values that changed are given; x, y, w, h are pixels on the 1920x1080 slide and the rest stays as the layout draws it. Resend the overrides you got from get_template or they are removed. Requires Pro.","propertyNames":{"type":"string"},"type":"object"},"slots":{"additionalProperties":{"type":"string"},"description":"Slot id to text. Ids and their max_chars come from get_layout.","propertyNames":{"type":"string"},"type":"object"}},"required":["layout"],"type":"object"},"minItems":1,"type":"array"},"theme_id":{"description":"A catalog theme id or custom:<uuid>. Omit to use the default theme.","type":"string"}},"required":["name","slides"],"type":"object"}after
{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"name":{"description":"Template name shown in My Templates.","type":"string"},"owner":{"description":"Where to save it. Default \"personal\". \"team\" saves it to the user's team (they must be an active member), where teammates can open, comment on and review it. Images in a team template must come from the team library (list_media with scope \"team\").","enum":["personal","team"],"type":"string"},"palette":{"anyOf":[{"items":{"additionalProperties":{},"properties":{"color":{"type":"string"},"name":{"type":"string"}},"required":["name","color"],"type":"object"},"type":"array"},{"type":"null"}],"description":"The template's deck palette: up to 64 entries [{ \"name\": \"Brand red\", \"color\": \"#c8102e\" }]. Names are 1-40 letters, digits, spaces, \"_\" or \"-\", unique (ignoring case). Elements point at an entry with \"palette:<name>\". Sending palette replaces the whole list; null or [] removes it. Leave it out to keep it as it is."},"slides":{"description":"The slides, in order: [{layout, slots}]. Up to 40 on Pro, 100 on Team.","items":{"properties":{"id":{"description":"The slide's id from get_template. Keep it when you resend a slide; leave it out for a new slide and the server assigns one.","type":"string"},"layout":{"description":"Layout id from list_layouts or suggest_deck.","type":"string"},"objects":{"description":"Images and text boxes laid over the slide, in 1920x1080 pixels. Resend the objects you got from get_template or they are removed. At most 50 per slide.","items":{"additionalProperties":{},"properties":{"alt":{"description":"For type \"image\": a short description of the picture for screen readers (up to 300 characters).","type":"string"},"asset":{"description":"For type \"image\": the id of an image in the user's media library.","type":"string"},"behind":{"description":"true: drawn behind the layout's own elements, on top of the slide background. Absent or false: in front of the layout.","type":"boolean"},"group":{"description":"Objects with the same group id move and copy together in the web editor; keep it when you resend.","type":"string"},"h":{"type":"number"},"id":{"type":"string"},"locked":{"description":"true: the user locked it on the web; keep it when you resend.","type":"boolean"},"rotate":{"type":"number"},"runs":{"description":"For type \"text\". Formatting of part of the text: [{ start, end, bold?, italic?, underline?, color?, link? }]. start and end are UTF-16 offsets into the text (JavaScript string indices: a Korean syllable counts 1, an emoji outside the basic plane 2), end exclusive, start < end. bold, italic, underline are true or false (false undoes a look the whole text has); color takes the colour forms below; link is kept for a later version and not drawn yet. The text itself stays plain. Ranges must fit the text, else the call fails with invalid_input. Shown in the editor, the PPTX (one text run per piece) and the HTML export. Changing the text without sending runs moves the stored runs with it (text before a range shifts it; a range whose characters are all deleted is dropped); send runs with the text to set them yourself, null (update_objects) or [] to remove them. Fields you do not know on a run are kept.","items":{"additionalProperties":{},"properties":{"end":{"type":"number"},"start":{"type":"number"}},"required":["start","end"],"type":"object"},"type":"array"},"shape":{"description":"For type \"shape\": \"rect\", \"roundRect\", \"ellipse\", \"line\" or \"arrow\".","type":"string"},"style":{"additionalProperties":{},"description":"For type \"text\" and \"shape\". Look fields (all optional; send null to take one away and go back to the default): text: size (8-400 px; in an override entry it is called fontSize), weight (400 or 700), italic, underline, strike (true/false), align (\"left\", \"center\", \"right\"), lineHeight (multiple of the size, 0.5-4), vAlign (\"top\", \"middle\", \"bottom\"; text boxes only), color. box: fill (a colour or \"none\"), fillOpacity (0-1), borderColor, borderWidth (0-40 px), radius (0-540 px), shadow (\"none\", \"sm\", \"md\", \"lg\"). line (strokes of a drawn line or icon): lineColor, lineWidth (0.5-40 px), dash (\"solid\", \"dash\", \"dot\"; also the border's style). A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme. Some layout elements are drawn as a picture in the PPTX; colours stored for them are ignored on every output.","properties":{"align":{"type":"string"},"color":{"description":"A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme.","type":"string"},"size":{"type":"number"},"weight":{"type":"number"}},"type":"object"},"text":{"description":"For type \"text\", and a box shape's inner text.","type":"string"},"type":{"description":"\"image\", \"text\" or \"shape\".","type":"string"},"w":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"},"z":{"description":"Stacking order; larger is in front. Each layer (see behind) is ordered on its own.","type":"number"}},"required":["type","x","y","w","h","z"],"type":"object"},"type":"array"},"overrides":{"additionalProperties":{"additionalProperties":{},"description":"Only what changed. Look fields (all optional; send null to take one away and go back to the default): text: size (8-400 px; in an override entry it is called fontSize), weight (400 or 700), italic, underline, strike (true/false), align (\"left\", \"center\", \"right\"), lineHeight (multiple of the size, 0.5-4), vAlign (\"top\", \"middle\", \"bottom\"; text boxes only), color. box: fill (a colour or \"none\"), fillOpacity (0-1), borderColor, borderWidth (0-40 px), radius (0-540 px), shadow (\"none\", \"sm\", \"md\", \"lg\"). line (strokes of a drawn line or icon): lineColor, lineWidth (0.5-40 px), dash (\"solid\", \"dash\", \"dot\"; also the border's style). A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme. Some layout elements are drawn as a picture in the PPTX; colours stored for them are ignored on every output.","properties":{"color":{"description":"A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme.","type":"string"},"deleted":{"description":"true: the element is not drawn on this slide (not in the export either).","type":"boolean"},"fill":{"description":"Box fill: a colour, or \"none\".","type":"string"},"fontSize":{"description":"Text size in px, 8 to 400.","type":"number"},"h":{"type":"number"},"locked":{"description":"true: the user locked the element on the web (no effect on the look or the export); keep it when you resend.","type":"boolean"},"runs":{"description":"For a text slot element. Formatting of part of the text: [{ start, end, bold?, italic?, underline?, color?, link? }]. start and end are UTF-16 offsets into the text (JavaScript string indices: a Korean syllable counts 1, an emoji outside the basic plane 2), end exclusive, start < end. bold, italic, underline are true or false (false undoes a look the whole text has); color takes the colour forms below; link is kept for a later version and not drawn yet. The text itself stays plain. Ranges must fit the text, else the call fails with invalid_input. Shown in the editor, the PPTX (one text run per piece) and the HTML export. Changing the text without sending runs moves the stored runs with it (text before a range shifts it; a range whose characters are all deleted is dropped); send runs with the text to set them yourself, null (update_objects) or [] to remove them. Fields you do not know on a run are kept.","items":{"additionalProperties":{},"properties":{"end":{"type":"number"},"start":{"type":"number"}},"required":["start","end"],"type":"object"},"type":"array"},"w":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"}},"type":"object"},"description":"Changes to the layout's own elements, by element key: { \"top-accent-bar\": { \"deleted\": true }, \"title\": { \"x\": 40, \"y\": 62, \"color\": \"#c8102e\", \"italic\": true } }. Only the values that changed are given; x, y, w, h are pixels on the 1920x1080 slide and the rest stays as the layout draws it. Look fields (colour, fill, border, line spacing...) sit in the same entry; see the entry schema. Resend the overrides you got from get_template or they are removed. Requires Pro.","propertyNames":{"type":"string"},"type":"object"},"slots":{"additionalProperties":{"type":"string"},"description":"Slot id to text. Ids and their max_chars come from get_layout.","propertyNames":{"type":"string"},"type":"object"}},"required":["layout"],"type":"object"},"minItems":1,"type":"array"},"theme_id":{"description":"A catalog theme id or custom:<uuid>. Omit to use the default theme.","type":"string"}},"required":["name","slides"],"type":"object"}⟨7 unchanged words⟩ id: position, size, rotation, text,textlookstyle(font, colour, fill, border, shadow, line), a shape's kind, the image's alt text or picture, stacking order,andbehind (true sends it behind the layout's own elements, false brings it back in front)., group and locked. Requires a Pro account. An object the user locked on the web is refused unless the same change sends locked:false. Send only the fields to change; the style ismerged.merged, and a style field sent as null goes back to its default. An image keeps its proportions (send w ⟨39 unchanged words⟩
⟨86 unchanged words⟩ is given.","type":"boolean"},"group":{"description":"Objects with the same group id are picked, moved and copied together in the web editor (1 to 40 letters, digits, \"_\" or \"-\"). Has no effect on how the slide looks or exports. null takes the object out of its group.","type":["string","null"]},"h":{"description":"Height in pixels. For ⟨12 unchanged words⟩ from get_template.","type":"string"},"locked":{"description":"true: the web editor will not move, resize, change or delete it until it is unlocked. A locked object also refuses update_objects and remove_objects until a change sends locked:false. Has no effect on how the slide looks or exports.","type":"boolean"},"order":{"description":"Move in the stacking ⟨28 unchanged words⟩ to 360.","type":"number"},"styleruns":{"anyOf":[{"items":{"additionalProperties":{},"properties":{"end":{"type":"number"},"start":{"type":"number"}},"required":["start","end"],"type":"object"},"type":"array"},{"type":"null"}],"description":"Formatting of part of the text: [{ start, end, bold?, italic?, underline?, color?, link? }]. start and end are UTF-16 offsets into the text (JavaScript string indices: a Korean syllable counts 1, an emoji outside the basic plane 2), end exclusive, start < end. bold, italic, underline are true or false (false undoes a look the whole text has); color takes the colour forms below; link is kept for a later version and not drawn yet. The text itself stays plain. Ranges must fit the text, else the call fails with invalid_input. Shown in the editor, the PPTX (one text run per piece) and the HTML export. Changing the text without sending runs moves the stored runs with it (text before a range shifts it; a range whose characters are all deleted is dropped); send runs with the text to set them yourself, null (update_objects) or [] to remove them. Fields you do not know on a run are kept."},"shape":{"description":"Shape only: change its kind (a line or arrow cannot hold text).","enum":["rect","roundRect","ellipse","line","arrow"],"type":"string"},"style":{"additionalProperties":{},"description":"Text box or shape look. Only the fields you sendchange.change; null takes a field away. Look fields (all optional; send null to take one away and go back to the default): text: size (8-400 px; in an override entry it is called fontSize), weight (400 or 700), italic, underline, strike (true/false), align (\"left\", \"center\", \"right\"), lineHeight (multiple of the size, 0.5-4), vAlign (\"top\", \"middle\", \"bottom\"; text boxes only), color. box: fill (a colour or \"none\"), fillOpacity (0-1), borderColor, borderWidth (0-40 px), radius (0-540 px), shadow (\"none\", \"sm\", \"md\", \"lg\"). line (strokes of a drawn line or icon): lineColor, lineWidth (0.5-40 px), dash (\"solid\", \"dash\", \"dot\"; also the border's style). A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme. Some layout elements are drawn as a picture in the PPTX; colours stored for them are ignored on every output.","properties":{"align":{"description":"\"left\", \"center\" or \"right\".","type":["string","null"]},"borderColor":{"description":"A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme.","type":["string","null"]},"borderWidth":{"description":"0 to 40 px; 0 is no border.","type":["number","null"]},"color":{"description":"A colour is one of: a theme colour tokensuch(ink,asink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"ink\palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"ink-soft\#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme.","type":["string","null"]},"dash":{"description":"Border or line style: \"accent\solid\", \"bg\dash\" or \"dot\".","type":["string","null"]},"fill":{"description":"Box fill: a colour, or \"danger\none\".","type":["string","null"]},"fillOpacity":{"description":"0Notto 1, the fill only.","type":["number","null"]},"italic":{"type":["boolean","null"]},"lineColor":{"description":"A colour is one of: acolorthemevalue.colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme.","type":["string","null"]},"lineHeight":{"description":"Line spacing as a multiple of the size, 0.5 to 4. Default 1.3.","type":["number","null"]},"lineWidth":{"description":"Line and arrow shapes: 0.5 to 40 px.","type":["number","null"]},"radius":{"description":"Corner radius, 0 to 540 px.","type":["number","null"]},"shadow":{"description":"\"none\", \"sm\", \"md\" or \"lg\".","type":["string","null"]},"size":{"description":"Font size, 8 to 400.","type":["number","null"]},"strike":{"type":["boolean","null"]},"underline":{"type":["boolean","null"]},"vAlign":{"description":"\"top\" (default), \"middle\" or \"bottom\" inside the box.","type":["string","null"]},"weight":{"description":"400 or 700.","type":["number","null"]}},"type":"object"},"text":{"description":"New text for a textbox.box or a box shape. Without runs, the stored runs move with the new text; a range whose characters were all removed is dropped.","type":"string"},"w":{ ⟨101 unchanged words⟩
⟨23 unchanged words⟩ id and any of: name, theme_id, palette (replaces the deck palette), slides (replaces all slides), or append_slides (adds slides to the end). Fields you do not know in what get_template returned (on objects, styles, overrides) must be sent back as they were. Runs (formatting of part of a text): offsets must fit the text sent with them, else invalid_input. When you change a slot's or an object's text and send its runs back exactly as get_template gave them, they are moved with the text (listed in runs_moved); send new runs to set them yourself, or an empty list to remove them. A template holds at most 40 slides on ⟨81 unchanged words⟩
before
{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"append_slides":{"description":"Slides added to the end. Existing slides stay.","items":{"properties":{"id":{"description":"The slide's id from get_template. Keep it when you resend a slide; leave it out for a new slide and the server assigns one.","type":"string"},"layout":{"description":"Layout id from list_layouts or suggest_deck.","type":"string"},"objects":{"description":"Images and text boxes laid over the slide, in 1920x1080 pixels. Resend the objects you got from get_template or they are removed. At most 50 per slide.","items":{"additionalProperties":{},"properties":{"alt":{"description":"For type \"image\": a short description of the picture for screen readers (up to 300 characters).","type":"string"},"asset":{"description":"For type \"image\": the id of an image in the user's media library.","type":"string"},"behind":{"description":"true: drawn behind the layout's own elements, on top of the slide background. Absent or false: in front of the layout.","type":"boolean"},"h":{"type":"number"},"id":{"type":"string"},"rotate":{"type":"number"},"style":{"additionalProperties":{},"properties":{"align":{"type":"string"},"color":{"description":"A theme token name such as \"ink\" or \"accent\", not a color value.","type":"string"},"size":{"type":"number"},"weight":{"type":"number"}},"type":"object"},"text":{"description":"For type \"text\".","type":"string"},"type":{"description":"\"image\" or \"text\".","type":"string"},"w":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"},"z":{"description":"Stacking order; larger is in front. Each layer (see behind) is ordered on its own.","type":"number"}},"required":["type","x","y","w","h","z"],"type":"object"},"type":"array"},"overrides":{"additionalProperties":{"additionalProperties":{},"properties":{"deleted":{"description":"true: the element is not drawn on this slide (not in the export either).","type":"boolean"},"h":{"type":"number"},"w":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"}},"type":"object"},"description":"Changes to the layout's own elements, by element key: { \"top-accent-bar\": { \"deleted\": true }, \"title\": { \"x\": 40, \"y\": 62 } }. Only the values that changed are given; x, y, w, h are pixels on the 1920x1080 slide and the rest stays as the layout draws it. Resend the overrides you got from get_template or they are removed. Requires Pro.","propertyNames":{"type":"string"},"type":"object"},"slots":{"additionalProperties":{"type":"string"},"description":"Slot id to text. Ids and their max_chars come from get_layout.","propertyNames":{"type":"string"},"type":"object"}},"required":["layout"],"type":"object"},"minItems":1,"type":"array"},"expected_version":{"description":"The version from get_template or a previous save. Given, the call fails with conflict if the template changed since.","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"id":{"description":"Template id from list_templates.","type":"string"},"name":{"description":"New template name.","type":"string"},"slides":{"description":"Replaces all slides of the template.","items":{"properties":{"id":{"description":"The slide's id from get_template. Keep it when you resend a slide; leave it out for a new slide and the server assigns one.","type":"string"},"layout":{"description":"Layout id from list_layouts or suggest_deck.","type":"string"},"objects":{"description":"Images and text boxes laid over the slide, in 1920x1080 pixels. Resend the objects you got from get_template or they are removed. At most 50 per slide.","items":{"additionalProperties":{},"properties":{"alt":{"description":"For type \"image\": a short description of the picture for screen readers (up to 300 characters).","type":"string"},"asset":{"description":"For type \"image\": the id of an image in the user's media library.","type":"string"},"behind":{"description":"true: drawn behind the layout's own elements, on top of the slide background. Absent or false: in front of the layout.","type":"boolean"},"h":{"type":"number"},"id":{"type":"string"},"rotate":{"type":"number"},"style":{"additionalProperties":{},"properties":{"align":{"type":"string"},"color":{"description":"A theme token name such as \"ink\" or \"accent\", not a color value.","type":"string"},"size":{"type":"number"},"weight":{"type":"number"}},"type":"object"},"text":{"description":"For type \"text\".","type":"string"},"type":{"description":"\"image\" or \"text\".","type":"string"},"w":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"},"z":{"description":"Stacking order; larger is in front. Each layer (see behind) is ordered on its own.","type":"number"}},"required":["type","x","y","w","h","z"],"type":"object"},"type":"array"},"overrides":{"additionalProperties":{"additionalProperties":{},"properties":{"deleted":{"description":"true: the element is not drawn on this slide (not in the export either).","type":"boolean"},"h":{"type":"number"},"w":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"}},"type":"object"},"description":"Changes to the layout's own elements, by element key: { \"top-accent-bar\": { \"deleted\": true }, \"title\": { \"x\": 40, \"y\": 62 } }. Only the values that changed are given; x, y, w, h are pixels on the 1920x1080 slide and the rest stays as the layout draws it. Resend the overrides you got from get_template or they are removed. Requires Pro.","propertyNames":{"type":"string"},"type":"object"},"slots":{"additionalProperties":{"type":"string"},"description":"Slot id to text. Ids and their max_chars come from get_layout.","propertyNames":{"type":"string"},"type":"object"}},"required":["layout"],"type":"object"},"minItems":1,"type":"array"},"theme_id":{"description":"New theme: a catalog theme id or custom:<uuid>.","type":"string"}},"required":["id"],"type":"object"}after
{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"append_slides":{"description":"Slides added to the end. Existing slides stay.","items":{"properties":{"id":{"description":"The slide's id from get_template. Keep it when you resend a slide; leave it out for a new slide and the server assigns one.","type":"string"},"layout":{"description":"Layout id from list_layouts or suggest_deck.","type":"string"},"objects":{"description":"Images and text boxes laid over the slide, in 1920x1080 pixels. Resend the objects you got from get_template or they are removed. At most 50 per slide.","items":{"additionalProperties":{},"properties":{"alt":{"description":"For type \"image\": a short description of the picture for screen readers (up to 300 characters).","type":"string"},"asset":{"description":"For type \"image\": the id of an image in the user's media library.","type":"string"},"behind":{"description":"true: drawn behind the layout's own elements, on top of the slide background. Absent or false: in front of the layout.","type":"boolean"},"group":{"description":"Objects with the same group id move and copy together in the web editor; keep it when you resend.","type":"string"},"h":{"type":"number"},"id":{"type":"string"},"locked":{"description":"true: the user locked it on the web; keep it when you resend.","type":"boolean"},"rotate":{"type":"number"},"runs":{"description":"For type \"text\". Formatting of part of the text: [{ start, end, bold?, italic?, underline?, color?, link? }]. start and end are UTF-16 offsets into the text (JavaScript string indices: a Korean syllable counts 1, an emoji outside the basic plane 2), end exclusive, start < end. bold, italic, underline are true or false (false undoes a look the whole text has); color takes the colour forms below; link is kept for a later version and not drawn yet. The text itself stays plain. Ranges must fit the text, else the call fails with invalid_input. Shown in the editor, the PPTX (one text run per piece) and the HTML export. Changing the text without sending runs moves the stored runs with it (text before a range shifts it; a range whose characters are all deleted is dropped); send runs with the text to set them yourself, null (update_objects) or [] to remove them. Fields you do not know on a run are kept.","items":{"additionalProperties":{},"properties":{"end":{"type":"number"},"start":{"type":"number"}},"required":["start","end"],"type":"object"},"type":"array"},"shape":{"description":"For type \"shape\": \"rect\", \"roundRect\", \"ellipse\", \"line\" or \"arrow\".","type":"string"},"style":{"additionalProperties":{},"description":"For type \"text\" and \"shape\". Look fields (all optional; send null to take one away and go back to the default): text: size (8-400 px; in an override entry it is called fontSize), weight (400 or 700), italic, underline, strike (true/false), align (\"left\", \"center\", \"right\"), lineHeight (multiple of the size, 0.5-4), vAlign (\"top\", \"middle\", \"bottom\"; text boxes only), color. box: fill (a colour or \"none\"), fillOpacity (0-1), borderColor, borderWidth (0-40 px), radius (0-540 px), shadow (\"none\", \"sm\", \"md\", \"lg\"). line (strokes of a drawn line or icon): lineColor, lineWidth (0.5-40 px), dash (\"solid\", \"dash\", \"dot\"; also the border's style). A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme. Some layout elements are drawn as a picture in the PPTX; colours stored for them are ignored on every output.","properties":{"align":{"type":"string"},"color":{"description":"A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme.","type":"string"},"size":{"type":"number"},"weight":{"type":"number"}},"type":"object"},"text":{"description":"For type \"text\", and a box shape's inner text.","type":"string"},"type":{"description":"\"image\", \"text\" or \"shape\".","type":"string"},"w":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"},"z":{"description":"Stacking order; larger is in front. Each layer (see behind) is ordered on its own.","type":"number"}},"required":["type","x","y","w","h","z"],"type":"object"},"type":"array"},"overrides":{"additionalProperties":{"additionalProperties":{},"description":"Only what changed. Look fields (all optional; send null to take one away and go back to the default): text: size (8-400 px; in an override entry it is called fontSize), weight (400 or 700), italic, underline, strike (true/false), align (\"left\", \"center\", \"right\"), lineHeight (multiple of the size, 0.5-4), vAlign (\"top\", \"middle\", \"bottom\"; text boxes only), color. box: fill (a colour or \"none\"), fillOpacity (0-1), borderColor, borderWidth (0-40 px), radius (0-540 px), shadow (\"none\", \"sm\", \"md\", \"lg\"). line (strokes of a drawn line or icon): lineColor, lineWidth (0.5-40 px), dash (\"solid\", \"dash\", \"dot\"; also the border's style). A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme. Some layout elements are drawn as a picture in the PPTX; colours stored for them are ignored on every output.","properties":{"color":{"description":"A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme.","type":"string"},"deleted":{"description":"true: the element is not drawn on this slide (not in the export either).","type":"boolean"},"fill":{"description":"Box fill: a colour, or \"none\".","type":"string"},"fontSize":{"description":"Text size in px, 8 to 400.","type":"number"},"h":{"type":"number"},"locked":{"description":"true: the user locked the element on the web (no effect on the look or the export); keep it when you resend.","type":"boolean"},"runs":{"description":"For a text slot element. Formatting of part of the text: [{ start, end, bold?, italic?, underline?, color?, link? }]. start and end are UTF-16 offsets into the text (JavaScript string indices: a Korean syllable counts 1, an emoji outside the basic plane 2), end exclusive, start < end. bold, italic, underline are true or false (false undoes a look the whole text has); color takes the colour forms below; link is kept for a later version and not drawn yet. The text itself stays plain. Ranges must fit the text, else the call fails with invalid_input. Shown in the editor, the PPTX (one text run per piece) and the HTML export. Changing the text without sending runs moves the stored runs with it (text before a range shifts it; a range whose characters are all deleted is dropped); send runs with the text to set them yourself, null (update_objects) or [] to remove them. Fields you do not know on a run are kept.","items":{"additionalProperties":{},"properties":{"end":{"type":"number"},"start":{"type":"number"}},"required":["start","end"],"type":"object"},"type":"array"},"w":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"}},"type":"object"},"description":"Changes to the layout's own elements, by element key: { \"top-accent-bar\": { \"deleted\": true }, \"title\": { \"x\": 40, \"y\": 62, \"color\": \"#c8102e\", \"italic\": true } }. Only the values that changed are given; x, y, w, h are pixels on the 1920x1080 slide and the rest stays as the layout draws it. Look fields (colour, fill, border, line spacing...) sit in the same entry; see the entry schema. Resend the overrides you got from get_template or they are removed. Requires Pro.","propertyNames":{"type":"string"},"type":"object"},"slots":{"additionalProperties":{"type":"string"},"description":"Slot id to text. Ids and their max_chars come from get_layout.","propertyNames":{"type":"string"},"type":"object"}},"required":["layout"],"type":"object"},"minItems":1,"type":"array"},"expected_version":{"description":"The version from get_template or a previous save. Given, the call fails with conflict if the template changed since.","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"id":{"description":"Template id from list_templates.","type":"string"},"name":{"description":"New template name.","type":"string"},"palette":{"anyOf":[{"items":{"additionalProperties":{},"properties":{"color":{"type":"string"},"name":{"type":"string"}},"required":["name","color"],"type":"object"},"type":"array"},{"type":"null"}],"description":"The template's deck palette: up to 64 entries [{ \"name\": \"Brand red\", \"color\": \"#c8102e\" }]. Names are 1-40 letters, digits, spaces, \"_\" or \"-\", unique (ignoring case). Elements point at an entry with \"palette:<name>\". Sending palette replaces the whole list; null or [] removes it. Leave it out to keep it as it is."},"slides":{"description":"Replaces all slides of the template.","items":{"properties":{"id":{"description":"The slide's id from get_template. Keep it when you resend a slide; leave it out for a new slide and the server assigns one.","type":"string"},"layout":{"description":"Layout id from list_layouts or suggest_deck.","type":"string"},"objects":{"description":"Images and text boxes laid over the slide, in 1920x1080 pixels. Resend the objects you got from get_template or they are removed. At most 50 per slide.","items":{"additionalProperties":{},"properties":{"alt":{"description":"For type \"image\": a short description of the picture for screen readers (up to 300 characters).","type":"string"},"asset":{"description":"For type \"image\": the id of an image in the user's media library.","type":"string"},"behind":{"description":"true: drawn behind the layout's own elements, on top of the slide background. Absent or false: in front of the layout.","type":"boolean"},"group":{"description":"Objects with the same group id move and copy together in the web editor; keep it when you resend.","type":"string"},"h":{"type":"number"},"id":{"type":"string"},"locked":{"description":"true: the user locked it on the web; keep it when you resend.","type":"boolean"},"rotate":{"type":"number"},"runs":{"description":"For type \"text\". Formatting of part of the text: [{ start, end, bold?, italic?, underline?, color?, link? }]. start and end are UTF-16 offsets into the text (JavaScript string indices: a Korean syllable counts 1, an emoji outside the basic plane 2), end exclusive, start < end. bold, italic, underline are true or false (false undoes a look the whole text has); color takes the colour forms below; link is kept for a later version and not drawn yet. The text itself stays plain. Ranges must fit the text, else the call fails with invalid_input. Shown in the editor, the PPTX (one text run per piece) and the HTML export. Changing the text without sending runs moves the stored runs with it (text before a range shifts it; a range whose characters are all deleted is dropped); send runs with the text to set them yourself, null (update_objects) or [] to remove them. Fields you do not know on a run are kept.","items":{"additionalProperties":{},"properties":{"end":{"type":"number"},"start":{"type":"number"}},"required":["start","end"],"type":"object"},"type":"array"},"shape":{"description":"For type \"shape\": \"rect\", \"roundRect\", \"ellipse\", \"line\" or \"arrow\".","type":"string"},"style":{"additionalProperties":{},"description":"For type \"text\" and \"shape\". Look fields (all optional; send null to take one away and go back to the default): text: size (8-400 px; in an override entry it is called fontSize), weight (400 or 700), italic, underline, strike (true/false), align (\"left\", \"center\", \"right\"), lineHeight (multiple of the size, 0.5-4), vAlign (\"top\", \"middle\", \"bottom\"; text boxes only), color. box: fill (a colour or \"none\"), fillOpacity (0-1), borderColor, borderWidth (0-40 px), radius (0-540 px), shadow (\"none\", \"sm\", \"md\", \"lg\"). line (strokes of a drawn line or icon): lineColor, lineWidth (0.5-40 px), dash (\"solid\", \"dash\", \"dot\"; also the border's style). A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme. Some layout elements are drawn as a picture in the PPTX; colours stored for them are ignored on every output.","properties":{"align":{"type":"string"},"color":{"description":"A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme.","type":"string"},"size":{"type":"number"},"weight":{"type":"number"}},"type":"object"},"text":{"description":"For type \"text\", and a box shape's inner text.","type":"string"},"type":{"description":"\"image\", \"text\" or \"shape\".","type":"string"},"w":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"},"z":{"description":"Stacking order; larger is in front. Each layer (see behind) is ordered on its own.","type":"number"}},"required":["type","x","y","w","h","z"],"type":"object"},"type":"array"},"overrides":{"additionalProperties":{"additionalProperties":{},"description":"Only what changed. Look fields (all optional; send null to take one away and go back to the default): text: size (8-400 px; in an override entry it is called fontSize), weight (400 or 700), italic, underline, strike (true/false), align (\"left\", \"center\", \"right\"), lineHeight (multiple of the size, 0.5-4), vAlign (\"top\", \"middle\", \"bottom\"; text boxes only), color. box: fill (a colour or \"none\"), fillOpacity (0-1), borderColor, borderWidth (0-40 px), radius (0-540 px), shadow (\"none\", \"sm\", \"md\", \"lg\"). line (strokes of a drawn line or icon): lineColor, lineWidth (0.5-40 px), dash (\"solid\", \"dash\", \"dot\"; also the border's style). A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme. Some layout elements are drawn as a picture in the PPTX; colours stored for them are ignored on every output.","properties":{"color":{"description":"A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme.","type":"string"},"deleted":{"description":"true: the element is not drawn on this slide (not in the export either).","type":"boolean"},"fill":{"description":"Box fill: a colour, or \"none\".","type":"string"},"fontSize":{"description":"Text size in px, 8 to 400.","type":"number"},"h":{"type":"number"},"locked":{"description":"true: the user locked the element on the web (no effect on the look or the export); keep it when you resend.","type":"boolean"},"runs":{"description":"For a text slot element. Formatting of part of the text: [{ start, end, bold?, italic?, underline?, color?, link? }]. start and end are UTF-16 offsets into the text (JavaScript string indices: a Korean syllable counts 1, an emoji outside the basic plane 2), end exclusive, start < end. bold, italic, underline are true or false (false undoes a look the whole text has); color takes the colour forms below; link is kept for a later version and not drawn yet. The text itself stays plain. Ranges must fit the text, else the call fails with invalid_input. Shown in the editor, the PPTX (one text run per piece) and the HTML export. Changing the text without sending runs moves the stored runs with it (text before a range shifts it; a range whose characters are all deleted is dropped); send runs with the text to set them yourself, null (update_objects) or [] to remove them. Fields you do not know on a run are kept.","items":{"additionalProperties":{},"properties":{"end":{"type":"number"},"start":{"type":"number"}},"required":["start","end"],"type":"object"},"type":"array"},"w":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"}},"type":"object"},"description":"Changes to the layout's own elements, by element key: { \"top-accent-bar\": { \"deleted\": true }, \"title\": { \"x\": 40, \"y\": 62, \"color\": \"#c8102e\", \"italic\": true } }. Only the values that changed are given; x, y, w, h are pixels on the 1920x1080 slide and the rest stays as the layout draws it. Look fields (colour, fill, border, line spacing...) sit in the same entry; see the entry schema. Resend the overrides you got from get_template or they are removed. Requires Pro.","propertyNames":{"type":"string"},"type":"object"},"slots":{"additionalProperties":{"type":"string"},"description":"Slot id to text. Ids and their max_chars come from get_layout.","propertyNames":{"type":"string"},"type":"object"}},"required":["layout"],"type":"object"},"minItems":1,"type":"array"},"theme_id":{"description":"New theme: a catalog theme id or custom:<uuid>.","type":"string"}},"required":["id"],"type":"object"}before
{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"expected_version":{"description":"The version from get_template. Given, the call fails with conflict if the template changed since.","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"objects":{"description":"Text boxes and images to add to the slide.","items":{"additionalProperties":false,"properties":{"alt":{"description":"Image only: what the picture shows, up to 300 characters.","type":"string"},"asset":{"description":"Image only: an id from list_media.","type":"string"},"behind":{"description":"true: draw this object behind the layout's own elements (title, body, shapes), on top of the slide background. Default false: in front of the layout.","type":"boolean"},"h":{"description":"Height in pixels. For an image, leave it out.","type":"number"},"id":{"description":"Optional. Leave out and the server makes one.","type":"string"},"rotate":{"description":"Degrees, -360 to 360.","type":"number"},"style":{"additionalProperties":false,"description":"Text box look. Only the fields you send change.","properties":{"align":{"description":"\"left\", \"center\" or \"right\".","type":"string"},"color":{"description":"A theme token such as \"ink\", \"ink-soft\", \"accent\", \"bg\", \"danger\". Not a color value.","type":"string"},"size":{"description":"Font size, 8 to 400.","type":"number"},"weight":{"description":"400 or 700.","type":"number"}},"type":"object"},"text":{"description":"Text box only. Up to 1000 characters.","type":"string"},"type":{"enum":["text","image"],"type":"string"},"w":{"description":"Width in pixels. For an image, send w alone and the height follows the picture.","type":"number"},"x":{"description":"Left edge in pixels on the 1920x1080 slide.","type":"number"},"y":{"description":"Top edge in pixels.","type":"number"},"z":{"description":"Stacking order, larger is in front. Default: in front of everything in its layer. Each layer (see behind) is ordered on its own.","type":"number"}},"required":["type"],"type":"object"},"maxItems":50,"minItems":1,"type":"array"},"slide_id":{"description":"The slide's id from get_template.","type":"string"},"template_id":{"description":"From list_templates.","type":"string"}},"required":["template_id","slide_id","objects"],"type":"object"}after
{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"expected_version":{"description":"The version from get_template. Given, the call fails with conflict if the template changed since.","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"objects":{"description":"Text boxes, shapes and images to add to the slide.","items":{"additionalProperties":false,"properties":{"alt":{"description":"Image only: what the picture shows, up to 300 characters.","type":"string"},"asset":{"description":"Image only: an id from list_media.","type":"string"},"behind":{"description":"true: draw this object behind the layout's own elements (title, body, shapes), on top of the slide background. Default false: in front of the layout.","type":"boolean"},"group":{"description":"Objects with the same group id are picked, moved and copied together in the web editor (1 to 40 letters, digits, \"_\" or \"-\"). Has no effect on how the slide looks or exports.","type":"string"},"h":{"description":"Height in pixels. For an image, leave it out.","type":"number"},"id":{"description":"Optional. Leave out and the server makes one.","type":"string"},"locked":{"description":"true: the web editor will not move, resize, change or delete it until it is unlocked. A locked object also refuses update_objects and remove_objects until a change sends locked:false. Has no effect on how the slide looks or exports.","type":"boolean"},"rotate":{"description":"Degrees, -360 to 360.","type":"number"},"runs":{"anyOf":[{"items":{"additionalProperties":{},"properties":{"end":{"type":"number"},"start":{"type":"number"}},"required":["start","end"],"type":"object"},"type":"array"},{"type":"null"}],"description":"Formatting of part of the text: [{ start, end, bold?, italic?, underline?, color?, link? }]. start and end are UTF-16 offsets into the text (JavaScript string indices: a Korean syllable counts 1, an emoji outside the basic plane 2), end exclusive, start < end. bold, italic, underline are true or false (false undoes a look the whole text has); color takes the colour forms below; link is kept for a later version and not drawn yet. The text itself stays plain. Ranges must fit the text, else the call fails with invalid_input. Shown in the editor, the PPTX (one text run per piece) and the HTML export. Changing the text without sending runs moves the stored runs with it (text before a range shifts it; a range whose characters are all deleted is dropped); send runs with the text to set them yourself, null (update_objects) or [] to remove them. Fields you do not know on a run are kept."},"shape":{"description":"Shape only (required for type \"shape\"). Shapes: shape is \"rect\", \"roundRect\", \"ellipse\", \"line\" or \"arrow\". A new shape starts with a look of its own (an accent fill and centred text for a box; an ink line 4 px wide for a line), so send only what differs. A box shape takes fill, fillOpacity, borderColor, borderWidth, dash, shadow, roundRect also radius (px), and text with the text fields. A line or arrow runs left to right through the middle of its box (turn it with rotate; the arrowhead is at the right end) and takes lineColor, lineWidth, dash; it holds no text. Shapes are native shapes in the PPTX.","enum":["rect","roundRect","ellipse","line","arrow"],"type":"string"},"style":{"additionalProperties":{},"description":"Text box or shape look. Only the fields you send change; null takes a field away. Look fields (all optional; send null to take one away and go back to the default): text: size (8-400 px; in an override entry it is called fontSize), weight (400 or 700), italic, underline, strike (true/false), align (\"left\", \"center\", \"right\"), lineHeight (multiple of the size, 0.5-4), vAlign (\"top\", \"middle\", \"bottom\"; text boxes only), color. box: fill (a colour or \"none\"), fillOpacity (0-1), borderColor, borderWidth (0-40 px), radius (0-540 px), shadow (\"none\", \"sm\", \"md\", \"lg\"). line (strokes of a drawn line or icon): lineColor, lineWidth (0.5-40 px), dash (\"solid\", \"dash\", \"dot\"; also the border's style). A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme. Some layout elements are drawn as a picture in the PPTX; colours stored for them are ignored on every output.","properties":{"align":{"description":"\"left\", \"center\" or \"right\".","type":["string","null"]},"borderColor":{"description":"A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme.","type":["string","null"]},"borderWidth":{"description":"0 to 40 px; 0 is no border.","type":["number","null"]},"color":{"description":"A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme.","type":["string","null"]},"dash":{"description":"Border or line style: \"solid\", \"dash\" or \"dot\".","type":["string","null"]},"fill":{"description":"Box fill: a colour, or \"none\".","type":["string","null"]},"fillOpacity":{"description":"0 to 1, the fill only.","type":["number","null"]},"italic":{"type":["boolean","null"]},"lineColor":{"description":"A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme.","type":["string","null"]},"lineHeight":{"description":"Line spacing as a multiple of the size, 0.5 to 4. Default 1.3.","type":["number","null"]},"lineWidth":{"description":"Line and arrow shapes: 0.5 to 40 px.","type":["number","null"]},"radius":{"description":"Corner radius, 0 to 540 px.","type":["number","null"]},"shadow":{"description":"\"none\", \"sm\", \"md\" or \"lg\".","type":["string","null"]},"size":{"description":"Font size, 8 to 400.","type":["number","null"]},"strike":{"type":["boolean","null"]},"underline":{"type":["boolean","null"]},"vAlign":{"description":"\"top\" (default), \"middle\" or \"bottom\" inside the box.","type":["string","null"]},"weight":{"description":"400 or 700.","type":["number","null"]}},"type":"object"},"text":{"description":"Text box (required) or a rect, roundRect or ellipse shape (the text inside it). Up to 1000 characters.","type":"string"},"type":{"enum":["text","image","shape"],"type":"string"},"w":{"description":"Width in pixels. For an image, send w alone and the height follows the picture.","type":"number"},"x":{"description":"Left edge in pixels on the 1920x1080 slide.","type":"number"},"y":{"description":"Top edge in pixels.","type":"number"},"z":{"description":"Stacking order, larger is in front. Default: in front of everything in its layer. Each layer (see behind) is ordered on its own.","type":"number"}},"required":["type"],"type":"object"},"maxItems":50,"minItems":1,"type":"array"},"slide_id":{"description":"The slide's id from get_template.","type":"string"},"template_id":{"description":"From list_templates.","type":"string"}},"required":["template_id","slide_id","objects"],"type":"object"}Return one saved template: name, theme_id, palette? (the deck palette) and slides as [{id, layout, slots ⟨71 unchanged words⟩
⟨35 unchanged words⟩ any id is not on the slide, or one is locked (unlock it with update_objects first), nothing is removed. Returns the objects that remain ⟨15 unchanged words⟩
before
{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"name":{"description":"Template name shown in My Templates.","type":"string"},"owner":{"description":"Where to save it. Default \"personal\". \"team\" saves it to the user's team (they must be an active member), where teammates can open, comment on and review it. Images in a team template must come from the team library (list_media with scope \"team\").","enum":["personal","team"],"type":"string"},"slides":{"description":"The slides, in order: [{layout, slots}]. Up to 40 on Pro, 100 on Team.","items":{"properties":{"id":{"description":"The slide's id from get_template. Keep it when you resend a slide; leave it out for a new slide and the server assigns one.","type":"string"},"layout":{"description":"Layout id from list_layouts or suggest_deck.","type":"string"},"objects":{"description":"Images and text boxes laid over the slide, in 1920x1080 pixels. Resend the objects you got from get_template or they are removed. At most 50 per slide.","items":{"additionalProperties":{},"properties":{"alt":{"description":"For type \"image\": a short description of the picture for screen readers (up to 300 characters).","type":"string"},"asset":{"description":"For type \"image\": the id of an image in the user's media library.","type":"string"},"behind":{"description":"true: drawn behind the layout's own elements, on top of the slide background. Absent or false: in front of the layout.","type":"boolean"},"h":{"type":"number"},"id":{"type":"string"},"rotate":{"type":"number"},"style":{"additionalProperties":{},"properties":{"align":{"type":"string"},"color":{"description":"A theme token name such as \"ink\" or \"accent\", not a color value.","type":"string"},"size":{"type":"number"},"weight":{"type":"number"}},"type":"object"},"text":{"description":"For type \"text\".","type":"string"},"type":{"description":"\"image\" or \"text\".","type":"string"},"w":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"},"z":{"description":"Stacking order; larger is in front. Each layer (see behind) is ordered on its own.","type":"number"}},"required":["type","x","y","w","h","z"],"type":"object"},"type":"array"},"overrides":{"additionalProperties":{"additionalProperties":{},"properties":{"deleted":{"description":"true: the element is not drawn on this slide (not in the export either).","type":"boolean"},"h":{"type":"number"},"w":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"}},"type":"object"},"description":"Changes to the layout's own elements, by element key: { \"top-accent-bar\": { \"deleted\": true }, \"title\": { \"x\": 40, \"y\": 62 } }. Only the values that changed are given; x, y, w, h are pixels on the 1920x1080 slide and the rest stays as the layout draws it. Resend the overrides you got from get_template or they are removed. Requires Pro.","propertyNames":{"type":"string"},"type":"object"},"slots":{"additionalProperties":{"type":"string"},"description":"Slot id to text. Ids and their max_chars come from get_layout.","propertyNames":{"type":"string"},"type":"object"}},"required":["layout"],"type":"object"},"minItems":1,"type":"array"},"theme_id":{"description":"A catalog theme id or custom:<uuid>. Omit to use the default theme.","type":"string"}},"required":["name","slides"],"type":"object"}after
{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"name":{"description":"Template name shown in My Templates.","type":"string"},"owner":{"description":"Where to save it. Default \"personal\". \"team\" saves it to the user's team (they must be an active member), where teammates can open, comment on and review it. Images in a team template must come from the team library (list_media with scope \"team\").","enum":["personal","team"],"type":"string"},"palette":{"anyOf":[{"items":{"additionalProperties":{},"properties":{"color":{"type":"string"},"name":{"type":"string"}},"required":["name","color"],"type":"object"},"type":"array"},{"type":"null"}],"description":"The template's deck palette: up to 64 entries [{ \"name\": \"Brand red\", \"color\": \"#c8102e\" }]. Names are 1-40 letters, digits, spaces, \"_\" or \"-\", unique (ignoring case). Elements point at an entry with \"palette:<name>\". Sending palette replaces the whole list; null or [] removes it. Leave it out to keep it as it is."},"slides":{"description":"The slides, in order: [{layout, slots}]. Up to 40 on Pro, 100 on Team.","items":{"properties":{"id":{"description":"The slide's id from get_template. Keep it when you resend a slide; leave it out for a new slide and the server assigns one.","type":"string"},"layout":{"description":"Layout id from list_layouts or suggest_deck.","type":"string"},"objects":{"description":"Images and text boxes laid over the slide, in 1920x1080 pixels. Resend the objects you got from get_template or they are removed. At most 50 per slide.","items":{"additionalProperties":{},"properties":{"alt":{"description":"For type \"image\": a short description of the picture for screen readers (up to 300 characters).","type":"string"},"asset":{"description":"For type \"image\": the id of an image in the user's media library.","type":"string"},"behind":{"description":"true: drawn behind the layout's own elements, on top of the slide background. Absent or false: in front of the layout.","type":"boolean"},"group":{"description":"Objects with the same group id move and copy together in the web editor; keep it when you resend.","type":"string"},"h":{"type":"number"},"id":{"type":"string"},"locked":{"description":"true: the user locked it on the web; keep it when you resend.","type":"boolean"},"rotate":{"type":"number"},"runs":{"description":"For type \"text\". Formatting of part of the text: [{ start, end, bold?, italic?, underline?, color?, link? }]. start and end are UTF-16 offsets into the text (JavaScript string indices: a Korean syllable counts 1, an emoji outside the basic plane 2), end exclusive, start < end. bold, italic, underline are true or false (false undoes a look the whole text has); color takes the colour forms below; link is kept for a later version and not drawn yet. The text itself stays plain. Ranges must fit the text, else the call fails with invalid_input. Shown in the editor, the PPTX (one text run per piece) and the HTML export. Changing the text without sending runs moves the stored runs with it (text before a range shifts it; a range whose characters are all deleted is dropped); send runs with the text to set them yourself, null (update_objects) or [] to remove them. Fields you do not know on a run are kept.","items":{"additionalProperties":{},"properties":{"end":{"type":"number"},"start":{"type":"number"}},"required":["start","end"],"type":"object"},"type":"array"},"shape":{"description":"For type \"shape\": \"rect\", \"roundRect\", \"ellipse\", \"line\" or \"arrow\".","type":"string"},"style":{"additionalProperties":{},"description":"For type \"text\" and \"shape\". Look fields (all optional; send null to take one away and go back to the default): text: size (8-400 px; in an override entry it is called fontSize), weight (400 or 700), italic, underline, strike (true/false), align (\"left\", \"center\", \"right\"), lineHeight (multiple of the size, 0.5-4), vAlign (\"top\", \"middle\", \"bottom\"; text boxes only), color. box: fill (a colour or \"none\"), fillOpacity (0-1), borderColor, borderWidth (0-40 px), radius (0-540 px), shadow (\"none\", \"sm\", \"md\", \"lg\"). line (strokes of a drawn line or icon): lineColor, lineWidth (0.5-40 px), dash (\"solid\", \"dash\", \"dot\"; also the border's style). A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme. Some layout elements are drawn as a picture in the PPTX; colours stored for them are ignored on every output.","properties":{"align":{"type":"string"},"color":{"description":"A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme.","type":"string"},"size":{"type":"number"},"weight":{"type":"number"}},"type":"object"},"text":{"description":"For type \"text\", and a box shape's inner text.","type":"string"},"type":{"description":"\"image\", \"text\" or \"shape\".","type":"string"},"w":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"},"z":{"description":"Stacking order; larger is in front. Each layer (see behind) is ordered on its own.","type":"number"}},"required":["type","x","y","w","h","z"],"type":"object"},"type":"array"},"overrides":{"additionalProperties":{"additionalProperties":{},"description":"Only what changed. Look fields (all optional; send null to take one away and go back to the default): text: size (8-400 px; in an override entry it is called fontSize), weight (400 or 700), italic, underline, strike (true/false), align (\"left\", \"center\", \"right\"), lineHeight (multiple of the size, 0.5-4), vAlign (\"top\", \"middle\", \"bottom\"; text boxes only), color. box: fill (a colour or \"none\"), fillOpacity (0-1), borderColor, borderWidth (0-40 px), radius (0-540 px), shadow (\"none\", \"sm\", \"md\", \"lg\"). line (strokes of a drawn line or icon): lineColor, lineWidth (0.5-40 px), dash (\"solid\", \"dash\", \"dot\"; also the border's style). A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme. Some layout elements are drawn as a picture in the PPTX; colours stored for them are ignored on every output.","properties":{"color":{"description":"A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme.","type":"string"},"deleted":{"description":"true: the element is not drawn on this slide (not in the export either).","type":"boolean"},"fill":{"description":"Box fill: a colour, or \"none\".","type":"string"},"fontSize":{"description":"Text size in px, 8 to 400.","type":"number"},"h":{"type":"number"},"locked":{"description":"true: the user locked the element on the web (no effect on the look or the export); keep it when you resend.","type":"boolean"},"runs":{"description":"For a text slot element. Formatting of part of the text: [{ start, end, bold?, italic?, underline?, color?, link? }]. start and end are UTF-16 offsets into the text (JavaScript string indices: a Korean syllable counts 1, an emoji outside the basic plane 2), end exclusive, start < end. bold, italic, underline are true or false (false undoes a look the whole text has); color takes the colour forms below; link is kept for a later version and not drawn yet. The text itself stays plain. Ranges must fit the text, else the call fails with invalid_input. Shown in the editor, the PPTX (one text run per piece) and the HTML export. Changing the text without sending runs moves the stored runs with it (text before a range shifts it; a range whose characters are all deleted is dropped); send runs with the text to set them yourself, null (update_objects) or [] to remove them. Fields you do not know on a run are kept.","items":{"additionalProperties":{},"properties":{"end":{"type":"number"},"start":{"type":"number"}},"required":["start","end"],"type":"object"},"type":"array"},"w":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"}},"type":"object"},"description":"Changes to the layout's own elements, by element key: { \"top-accent-bar\": { \"deleted\": true }, \"title\": { \"x\": 40, \"y\": 62, \"color\": \"#c8102e\", \"italic\": true } }. Only the values that changed are given; x, y, w, h are pixels on the 1920x1080 slide and the rest stays as the layout draws it. Look fields (colour, fill, border, line spacing...) sit in the same entry; see the entry schema. Resend the overrides you got from get_template or they are removed. Requires Pro.","propertyNames":{"type":"string"},"type":"object"},"slots":{"additionalProperties":{"type":"string"},"description":"Slot id to text. Ids and their max_chars come from get_layout.","propertyNames":{"type":"string"},"type":"object"}},"required":["layout"],"type":"object"},"minItems":1,"type":"array"},"theme_id":{"description":"A catalog theme id or custom:<uuid>. Omit to use the default theme.","type":"string"}},"required":["name","slides"],"type":"object"}⟨7 unchanged words⟩ id: position, size, rotation, text,textlookstyle(font, colour, fill, border, shadow, line), a shape's kind, the image's alt text or picture, stacking order,andbehind (true sends it behind the layout's own elements, false brings it back in front)., group and locked. Requires a Pro account. An object the user locked on the web is refused unless the same change sends locked:false. Send only the fields to change; the style ismerged.merged, and a style field sent as null goes back to its default. An image keeps its proportions (send w ⟨39 unchanged words⟩
⟨86 unchanged words⟩ is given.","type":"boolean"},"group":{"description":"Objects with the same group id are picked, moved and copied together in the web editor (1 to 40 letters, digits, \"_\" or \"-\"). Has no effect on how the slide looks or exports. null takes the object out of its group.","type":["string","null"]},"h":{"description":"Height in pixels. For ⟨12 unchanged words⟩ from get_template.","type":"string"},"locked":{"description":"true: the web editor will not move, resize, change or delete it until it is unlocked. A locked object also refuses update_objects and remove_objects until a change sends locked:false. Has no effect on how the slide looks or exports.","type":"boolean"},"order":{"description":"Move in the stacking ⟨28 unchanged words⟩ to 360.","type":"number"},"styleruns":{"anyOf":[{"items":{"additionalProperties":{},"properties":{"end":{"type":"number"},"start":{"type":"number"}},"required":["start","end"],"type":"object"},"type":"array"},{"type":"null"}],"description":"Formatting of part of the text: [{ start, end, bold?, italic?, underline?, color?, link? }]. start and end are UTF-16 offsets into the text (JavaScript string indices: a Korean syllable counts 1, an emoji outside the basic plane 2), end exclusive, start < end. bold, italic, underline are true or false (false undoes a look the whole text has); color takes the colour forms below; link is kept for a later version and not drawn yet. The text itself stays plain. Ranges must fit the text, else the call fails with invalid_input. Shown in the editor, the PPTX (one text run per piece) and the HTML export. Changing the text without sending runs moves the stored runs with it (text before a range shifts it; a range whose characters are all deleted is dropped); send runs with the text to set them yourself, null (update_objects) or [] to remove them. Fields you do not know on a run are kept."},"shape":{"description":"Shape only: change its kind (a line or arrow cannot hold text).","enum":["rect","roundRect","ellipse","line","arrow"],"type":"string"},"style":{"additionalProperties":{},"description":"Text box or shape look. Only the fields you sendchange.change; null takes a field away. Look fields (all optional; send null to take one away and go back to the default): text: size (8-400 px; in an override entry it is called fontSize), weight (400 or 700), italic, underline, strike (true/false), align (\"left\", \"center\", \"right\"), lineHeight (multiple of the size, 0.5-4), vAlign (\"top\", \"middle\", \"bottom\"; text boxes only), color. box: fill (a colour or \"none\"), fillOpacity (0-1), borderColor, borderWidth (0-40 px), radius (0-540 px), shadow (\"none\", \"sm\", \"md\", \"lg\"). line (strokes of a drawn line or icon): lineColor, lineWidth (0.5-40 px), dash (\"solid\", \"dash\", \"dot\"; also the border's style). A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme. Some layout elements are drawn as a picture in the PPTX; colours stored for them are ignored on every output.","properties":{"align":{"description":"\"left\", \"center\" or \"right\".","type":["string","null"]},"borderColor":{"description":"A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme.","type":["string","null"]},"borderWidth":{"description":"0 to 40 px; 0 is no border.","type":["number","null"]},"color":{"description":"A colour is one of: a theme colour tokensuch(ink,asink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"ink\palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"ink-soft\#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme.","type":["string","null"]},"dash":{"description":"Border or line style: \"accent\solid\", \"bg\dash\" or \"dot\".","type":["string","null"]},"fill":{"description":"Box fill: a colour, or \"danger\none\".","type":["string","null"]},"fillOpacity":{"description":"0Notto 1, the fill only.","type":["number","null"]},"italic":{"type":["boolean","null"]},"lineColor":{"description":"A colour is one of: acolorthemevalue.colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme.","type":["string","null"]},"lineHeight":{"description":"Line spacing as a multiple of the size, 0.5 to 4. Default 1.3.","type":["number","null"]},"lineWidth":{"description":"Line and arrow shapes: 0.5 to 40 px.","type":["number","null"]},"radius":{"description":"Corner radius, 0 to 540 px.","type":["number","null"]},"shadow":{"description":"\"none\", \"sm\", \"md\" or \"lg\".","type":["string","null"]},"size":{"description":"Font size, 8 to 400.","type":["number","null"]},"strike":{"type":["boolean","null"]},"underline":{"type":["boolean","null"]},"vAlign":{"description":"\"top\" (default), \"middle\" or \"bottom\" inside the box.","type":["string","null"]},"weight":{"description":"400 or 700.","type":["number","null"]}},"type":"object"},"text":{"description":"New text for a textbox.box or a box shape. Without runs, the stored runs move with the new text; a range whose characters were all removed is dropped.","type":"string"},"w":{ ⟨101 unchanged words⟩
⟨23 unchanged words⟩ id and any of: name, theme_id, palette (replaces the deck palette), slides (replaces all slides), or append_slides (adds slides to the end). Fields you do not know in what get_template returned (on objects, styles, overrides) must be sent back as they were. Runs (formatting of part of a text): offsets must fit the text sent with them, else invalid_input. When you change a slot's or an object's text and send its runs back exactly as get_template gave them, they are moved with the text (listed in runs_moved); send new runs to set them yourself, or an empty list to remove them. A template holds at most 40 slides on ⟨81 unchanged words⟩
before
{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"append_slides":{"description":"Slides added to the end. Existing slides stay.","items":{"properties":{"id":{"description":"The slide's id from get_template. Keep it when you resend a slide; leave it out for a new slide and the server assigns one.","type":"string"},"layout":{"description":"Layout id from list_layouts or suggest_deck.","type":"string"},"objects":{"description":"Images and text boxes laid over the slide, in 1920x1080 pixels. Resend the objects you got from get_template or they are removed. At most 50 per slide.","items":{"additionalProperties":{},"properties":{"alt":{"description":"For type \"image\": a short description of the picture for screen readers (up to 300 characters).","type":"string"},"asset":{"description":"For type \"image\": the id of an image in the user's media library.","type":"string"},"behind":{"description":"true: drawn behind the layout's own elements, on top of the slide background. Absent or false: in front of the layout.","type":"boolean"},"h":{"type":"number"},"id":{"type":"string"},"rotate":{"type":"number"},"style":{"additionalProperties":{},"properties":{"align":{"type":"string"},"color":{"description":"A theme token name such as \"ink\" or \"accent\", not a color value.","type":"string"},"size":{"type":"number"},"weight":{"type":"number"}},"type":"object"},"text":{"description":"For type \"text\".","type":"string"},"type":{"description":"\"image\" or \"text\".","type":"string"},"w":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"},"z":{"description":"Stacking order; larger is in front. Each layer (see behind) is ordered on its own.","type":"number"}},"required":["type","x","y","w","h","z"],"type":"object"},"type":"array"},"overrides":{"additionalProperties":{"additionalProperties":{},"properties":{"deleted":{"description":"true: the element is not drawn on this slide (not in the export either).","type":"boolean"},"h":{"type":"number"},"w":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"}},"type":"object"},"description":"Changes to the layout's own elements, by element key: { \"top-accent-bar\": { \"deleted\": true }, \"title\": { \"x\": 40, \"y\": 62 } }. Only the values that changed are given; x, y, w, h are pixels on the 1920x1080 slide and the rest stays as the layout draws it. Resend the overrides you got from get_template or they are removed. Requires Pro.","propertyNames":{"type":"string"},"type":"object"},"slots":{"additionalProperties":{"type":"string"},"description":"Slot id to text. Ids and their max_chars come from get_layout.","propertyNames":{"type":"string"},"type":"object"}},"required":["layout"],"type":"object"},"minItems":1,"type":"array"},"expected_version":{"description":"The version from get_template or a previous save. Given, the call fails with conflict if the template changed since.","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"id":{"description":"Template id from list_templates.","type":"string"},"name":{"description":"New template name.","type":"string"},"slides":{"description":"Replaces all slides of the template.","items":{"properties":{"id":{"description":"The slide's id from get_template. Keep it when you resend a slide; leave it out for a new slide and the server assigns one.","type":"string"},"layout":{"description":"Layout id from list_layouts or suggest_deck.","type":"string"},"objects":{"description":"Images and text boxes laid over the slide, in 1920x1080 pixels. Resend the objects you got from get_template or they are removed. At most 50 per slide.","items":{"additionalProperties":{},"properties":{"alt":{"description":"For type \"image\": a short description of the picture for screen readers (up to 300 characters).","type":"string"},"asset":{"description":"For type \"image\": the id of an image in the user's media library.","type":"string"},"behind":{"description":"true: drawn behind the layout's own elements, on top of the slide background. Absent or false: in front of the layout.","type":"boolean"},"h":{"type":"number"},"id":{"type":"string"},"rotate":{"type":"number"},"style":{"additionalProperties":{},"properties":{"align":{"type":"string"},"color":{"description":"A theme token name such as \"ink\" or \"accent\", not a color value.","type":"string"},"size":{"type":"number"},"weight":{"type":"number"}},"type":"object"},"text":{"description":"For type \"text\".","type":"string"},"type":{"description":"\"image\" or \"text\".","type":"string"},"w":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"},"z":{"description":"Stacking order; larger is in front. Each layer (see behind) is ordered on its own.","type":"number"}},"required":["type","x","y","w","h","z"],"type":"object"},"type":"array"},"overrides":{"additionalProperties":{"additionalProperties":{},"properties":{"deleted":{"description":"true: the element is not drawn on this slide (not in the export either).","type":"boolean"},"h":{"type":"number"},"w":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"}},"type":"object"},"description":"Changes to the layout's own elements, by element key: { \"top-accent-bar\": { \"deleted\": true }, \"title\": { \"x\": 40, \"y\": 62 } }. Only the values that changed are given; x, y, w, h are pixels on the 1920x1080 slide and the rest stays as the layout draws it. Resend the overrides you got from get_template or they are removed. Requires Pro.","propertyNames":{"type":"string"},"type":"object"},"slots":{"additionalProperties":{"type":"string"},"description":"Slot id to text. Ids and their max_chars come from get_layout.","propertyNames":{"type":"string"},"type":"object"}},"required":["layout"],"type":"object"},"minItems":1,"type":"array"},"theme_id":{"description":"New theme: a catalog theme id or custom:<uuid>.","type":"string"}},"required":["id"],"type":"object"}after
{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"append_slides":{"description":"Slides added to the end. Existing slides stay.","items":{"properties":{"id":{"description":"The slide's id from get_template. Keep it when you resend a slide; leave it out for a new slide and the server assigns one.","type":"string"},"layout":{"description":"Layout id from list_layouts or suggest_deck.","type":"string"},"objects":{"description":"Images and text boxes laid over the slide, in 1920x1080 pixels. Resend the objects you got from get_template or they are removed. At most 50 per slide.","items":{"additionalProperties":{},"properties":{"alt":{"description":"For type \"image\": a short description of the picture for screen readers (up to 300 characters).","type":"string"},"asset":{"description":"For type \"image\": the id of an image in the user's media library.","type":"string"},"behind":{"description":"true: drawn behind the layout's own elements, on top of the slide background. Absent or false: in front of the layout.","type":"boolean"},"group":{"description":"Objects with the same group id move and copy together in the web editor; keep it when you resend.","type":"string"},"h":{"type":"number"},"id":{"type":"string"},"locked":{"description":"true: the user locked it on the web; keep it when you resend.","type":"boolean"},"rotate":{"type":"number"},"runs":{"description":"For type \"text\". Formatting of part of the text: [{ start, end, bold?, italic?, underline?, color?, link? }]. start and end are UTF-16 offsets into the text (JavaScript string indices: a Korean syllable counts 1, an emoji outside the basic plane 2), end exclusive, start < end. bold, italic, underline are true or false (false undoes a look the whole text has); color takes the colour forms below; link is kept for a later version and not drawn yet. The text itself stays plain. Ranges must fit the text, else the call fails with invalid_input. Shown in the editor, the PPTX (one text run per piece) and the HTML export. Changing the text without sending runs moves the stored runs with it (text before a range shifts it; a range whose characters are all deleted is dropped); send runs with the text to set them yourself, null (update_objects) or [] to remove them. Fields you do not know on a run are kept.","items":{"additionalProperties":{},"properties":{"end":{"type":"number"},"start":{"type":"number"}},"required":["start","end"],"type":"object"},"type":"array"},"shape":{"description":"For type \"shape\": \"rect\", \"roundRect\", \"ellipse\", \"line\" or \"arrow\".","type":"string"},"style":{"additionalProperties":{},"description":"For type \"text\" and \"shape\". Look fields (all optional; send null to take one away and go back to the default): text: size (8-400 px; in an override entry it is called fontSize), weight (400 or 700), italic, underline, strike (true/false), align (\"left\", \"center\", \"right\"), lineHeight (multiple of the size, 0.5-4), vAlign (\"top\", \"middle\", \"bottom\"; text boxes only), color. box: fill (a colour or \"none\"), fillOpacity (0-1), borderColor, borderWidth (0-40 px), radius (0-540 px), shadow (\"none\", \"sm\", \"md\", \"lg\"). line (strokes of a drawn line or icon): lineColor, lineWidth (0.5-40 px), dash (\"solid\", \"dash\", \"dot\"; also the border's style). A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme. Some layout elements are drawn as a picture in the PPTX; colours stored for them are ignored on every output.","properties":{"align":{"type":"string"},"color":{"description":"A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme.","type":"string"},"size":{"type":"number"},"weight":{"type":"number"}},"type":"object"},"text":{"description":"For type \"text\", and a box shape's inner text.","type":"string"},"type":{"description":"\"image\", \"text\" or \"shape\".","type":"string"},"w":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"},"z":{"description":"Stacking order; larger is in front. Each layer (see behind) is ordered on its own.","type":"number"}},"required":["type","x","y","w","h","z"],"type":"object"},"type":"array"},"overrides":{"additionalProperties":{"additionalProperties":{},"description":"Only what changed. Look fields (all optional; send null to take one away and go back to the default): text: size (8-400 px; in an override entry it is called fontSize), weight (400 or 700), italic, underline, strike (true/false), align (\"left\", \"center\", \"right\"), lineHeight (multiple of the size, 0.5-4), vAlign (\"top\", \"middle\", \"bottom\"; text boxes only), color. box: fill (a colour or \"none\"), fillOpacity (0-1), borderColor, borderWidth (0-40 px), radius (0-540 px), shadow (\"none\", \"sm\", \"md\", \"lg\"). line (strokes of a drawn line or icon): lineColor, lineWidth (0.5-40 px), dash (\"solid\", \"dash\", \"dot\"; also the border's style). A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme. Some layout elements are drawn as a picture in the PPTX; colours stored for them are ignored on every output.","properties":{"color":{"description":"A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme.","type":"string"},"deleted":{"description":"true: the element is not drawn on this slide (not in the export either).","type":"boolean"},"fill":{"description":"Box fill: a colour, or \"none\".","type":"string"},"fontSize":{"description":"Text size in px, 8 to 400.","type":"number"},"h":{"type":"number"},"locked":{"description":"true: the user locked the element on the web (no effect on the look or the export); keep it when you resend.","type":"boolean"},"runs":{"description":"For a text slot element. Formatting of part of the text: [{ start, end, bold?, italic?, underline?, color?, link? }]. start and end are UTF-16 offsets into the text (JavaScript string indices: a Korean syllable counts 1, an emoji outside the basic plane 2), end exclusive, start < end. bold, italic, underline are true or false (false undoes a look the whole text has); color takes the colour forms below; link is kept for a later version and not drawn yet. The text itself stays plain. Ranges must fit the text, else the call fails with invalid_input. Shown in the editor, the PPTX (one text run per piece) and the HTML export. Changing the text without sending runs moves the stored runs with it (text before a range shifts it; a range whose characters are all deleted is dropped); send runs with the text to set them yourself, null (update_objects) or [] to remove them. Fields you do not know on a run are kept.","items":{"additionalProperties":{},"properties":{"end":{"type":"number"},"start":{"type":"number"}},"required":["start","end"],"type":"object"},"type":"array"},"w":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"}},"type":"object"},"description":"Changes to the layout's own elements, by element key: { \"top-accent-bar\": { \"deleted\": true }, \"title\": { \"x\": 40, \"y\": 62, \"color\": \"#c8102e\", \"italic\": true } }. Only the values that changed are given; x, y, w, h are pixels on the 1920x1080 slide and the rest stays as the layout draws it. Look fields (colour, fill, border, line spacing...) sit in the same entry; see the entry schema. Resend the overrides you got from get_template or they are removed. Requires Pro.","propertyNames":{"type":"string"},"type":"object"},"slots":{"additionalProperties":{"type":"string"},"description":"Slot id to text. Ids and their max_chars come from get_layout.","propertyNames":{"type":"string"},"type":"object"}},"required":["layout"],"type":"object"},"minItems":1,"type":"array"},"expected_version":{"description":"The version from get_template or a previous save. Given, the call fails with conflict if the template changed since.","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"id":{"description":"Template id from list_templates.","type":"string"},"name":{"description":"New template name.","type":"string"},"palette":{"anyOf":[{"items":{"additionalProperties":{},"properties":{"color":{"type":"string"},"name":{"type":"string"}},"required":["name","color"],"type":"object"},"type":"array"},{"type":"null"}],"description":"The template's deck palette: up to 64 entries [{ \"name\": \"Brand red\", \"color\": \"#c8102e\" }]. Names are 1-40 letters, digits, spaces, \"_\" or \"-\", unique (ignoring case). Elements point at an entry with \"palette:<name>\". Sending palette replaces the whole list; null or [] removes it. Leave it out to keep it as it is."},"slides":{"description":"Replaces all slides of the template.","items":{"properties":{"id":{"description":"The slide's id from get_template. Keep it when you resend a slide; leave it out for a new slide and the server assigns one.","type":"string"},"layout":{"description":"Layout id from list_layouts or suggest_deck.","type":"string"},"objects":{"description":"Images and text boxes laid over the slide, in 1920x1080 pixels. Resend the objects you got from get_template or they are removed. At most 50 per slide.","items":{"additionalProperties":{},"properties":{"alt":{"description":"For type \"image\": a short description of the picture for screen readers (up to 300 characters).","type":"string"},"asset":{"description":"For type \"image\": the id of an image in the user's media library.","type":"string"},"behind":{"description":"true: drawn behind the layout's own elements, on top of the slide background. Absent or false: in front of the layout.","type":"boolean"},"group":{"description":"Objects with the same group id move and copy together in the web editor; keep it when you resend.","type":"string"},"h":{"type":"number"},"id":{"type":"string"},"locked":{"description":"true: the user locked it on the web; keep it when you resend.","type":"boolean"},"rotate":{"type":"number"},"runs":{"description":"For type \"text\". Formatting of part of the text: [{ start, end, bold?, italic?, underline?, color?, link? }]. start and end are UTF-16 offsets into the text (JavaScript string indices: a Korean syllable counts 1, an emoji outside the basic plane 2), end exclusive, start < end. bold, italic, underline are true or false (false undoes a look the whole text has); color takes the colour forms below; link is kept for a later version and not drawn yet. The text itself stays plain. Ranges must fit the text, else the call fails with invalid_input. Shown in the editor, the PPTX (one text run per piece) and the HTML export. Changing the text without sending runs moves the stored runs with it (text before a range shifts it; a range whose characters are all deleted is dropped); send runs with the text to set them yourself, null (update_objects) or [] to remove them. Fields you do not know on a run are kept.","items":{"additionalProperties":{},"properties":{"end":{"type":"number"},"start":{"type":"number"}},"required":["start","end"],"type":"object"},"type":"array"},"shape":{"description":"For type \"shape\": \"rect\", \"roundRect\", \"ellipse\", \"line\" or \"arrow\".","type":"string"},"style":{"additionalProperties":{},"description":"For type \"text\" and \"shape\". Look fields (all optional; send null to take one away and go back to the default): text: size (8-400 px; in an override entry it is called fontSize), weight (400 or 700), italic, underline, strike (true/false), align (\"left\", \"center\", \"right\"), lineHeight (multiple of the size, 0.5-4), vAlign (\"top\", \"middle\", \"bottom\"; text boxes only), color. box: fill (a colour or \"none\"), fillOpacity (0-1), borderColor, borderWidth (0-40 px), radius (0-540 px), shadow (\"none\", \"sm\", \"md\", \"lg\"). line (strokes of a drawn line or icon): lineColor, lineWidth (0.5-40 px), dash (\"solid\", \"dash\", \"dot\"; also the border's style). A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme. Some layout elements are drawn as a picture in the PPTX; colours stored for them are ignored on every output.","properties":{"align":{"type":"string"},"color":{"description":"A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme.","type":"string"},"size":{"type":"number"},"weight":{"type":"number"}},"type":"object"},"text":{"description":"For type \"text\", and a box shape's inner text.","type":"string"},"type":{"description":"\"image\", \"text\" or \"shape\".","type":"string"},"w":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"},"z":{"description":"Stacking order; larger is in front. Each layer (see behind) is ordered on its own.","type":"number"}},"required":["type","x","y","w","h","z"],"type":"object"},"type":"array"},"overrides":{"additionalProperties":{"additionalProperties":{},"description":"Only what changed. Look fields (all optional; send null to take one away and go back to the default): text: size (8-400 px; in an override entry it is called fontSize), weight (400 or 700), italic, underline, strike (true/false), align (\"left\", \"center\", \"right\"), lineHeight (multiple of the size, 0.5-4), vAlign (\"top\", \"middle\", \"bottom\"; text boxes only), color. box: fill (a colour or \"none\"), fillOpacity (0-1), borderColor, borderWidth (0-40 px), radius (0-540 px), shadow (\"none\", \"sm\", \"md\", \"lg\"). line (strokes of a drawn line or icon): lineColor, lineWidth (0.5-40 px), dash (\"solid\", \"dash\", \"dot\"; also the border's style). A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme. Some layout elements are drawn as a picture in the PPTX; colours stored for them are ignored on every output.","properties":{"color":{"description":"A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme.","type":"string"},"deleted":{"description":"true: the element is not drawn on this slide (not in the export either).","type":"boolean"},"fill":{"description":"Box fill: a colour, or \"none\".","type":"string"},"fontSize":{"description":"Text size in px, 8 to 400.","type":"number"},"h":{"type":"number"},"locked":{"description":"true: the user locked the element on the web (no effect on the look or the export); keep it when you resend.","type":"boolean"},"runs":{"description":"For a text slot element. Formatting of part of the text: [{ start, end, bold?, italic?, underline?, color?, link? }]. start and end are UTF-16 offsets into the text (JavaScript string indices: a Korean syllable counts 1, an emoji outside the basic plane 2), end exclusive, start < end. bold, italic, underline are true or false (false undoes a look the whole text has); color takes the colour forms below; link is kept for a later version and not drawn yet. The text itself stays plain. Ranges must fit the text, else the call fails with invalid_input. Shown in the editor, the PPTX (one text run per piece) and the HTML export. Changing the text without sending runs moves the stored runs with it (text before a range shifts it; a range whose characters are all deleted is dropped); send runs with the text to set them yourself, null (update_objects) or [] to remove them. Fields you do not know on a run are kept.","items":{"additionalProperties":{},"properties":{"end":{"type":"number"},"start":{"type":"number"}},"required":["start","end"],"type":"object"},"type":"array"},"w":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"}},"type":"object"},"description":"Changes to the layout's own elements, by element key: { \"top-accent-bar\": { \"deleted\": true }, \"title\": { \"x\": 40, \"y\": 62, \"color\": \"#c8102e\", \"italic\": true } }. Only the values that changed are given; x, y, w, h are pixels on the 1920x1080 slide and the rest stays as the layout draws it. Look fields (colour, fill, border, line spacing...) sit in the same entry; see the entry schema. Resend the overrides you got from get_template or they are removed. Requires Pro.","propertyNames":{"type":"string"},"type":"object"},"slots":{"additionalProperties":{"type":"string"},"description":"Slot id to text. Ids and their max_chars come from get_layout.","propertyNames":{"type":"string"},"type":"object"}},"required":["layout"],"type":"object"},"minItems":1,"type":"array"},"theme_id":{"description":"New theme: a catalog theme id or custom:<uuid>.","type":"string"}},"required":["id"],"type":"object"}⟨66 unchanged words⟩ shape export_pptx takes. A template holds 1 to2540slides.slides on Pro and 1 to 100 on Team. Returns template_id, url (the template's page), ⟨59 unchanged words⟩
⟨73 unchanged words⟩ in order: [{layout, slots}].1Up to25.40 on Pro, 100 on Team.","items":{"properties":{"id": ⟨390 unchanged words⟩
⟨38 unchanged words⟩ the end). A template holds at most2540slides.slides on Pro and 100 on Team. If the result would be more than25the plan allows, nothing is changed and the response is ⟨59 unchanged words⟩
⟨66 unchanged words⟩ shape export_pptx takes. A template holds 1 to2540slides.slides on Pro and 1 to 100 on Team. Returns template_id, url (the template's page), ⟨59 unchanged words⟩
⟨73 unchanged words⟩ in order: [{layout, slots}].1Up to25.40 on Pro, 100 on Team.","items":{"properties":{"id": ⟨390 unchanged words⟩
⟨38 unchanged words⟩ the end). A template holds at most2540slides.slides on Pro and 100 on Team. If the result would be more than25the plan allows, nothing is changed and the response is ⟨59 unchanged words⟩
before
—after
{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true}⟨55 unchanged words⟩ "items":{"properties":{"layout":{"description":"Layout id from list_layouts or suggest_deck.","type":"string"},"slots":{"additionalProperties" ⟨95 unchanged words⟩
before
—after
{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false}{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"id":{"description":"Layout id from list_layouts or suggest_deck.","type":"string"},"lang":{"default" ⟨20 unchanged words⟩ ],"type":"string"},"theme_id":{"description":"Theme id or custom:<uuid>. Omit to use the layout's default theme.","type":"string"}},"required":[" ⟨3 unchanged words⟩
before
—after
{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true}before
—after
{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true}{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"id":{"description":"Template id from list_templates.","type":"string"}},"required":["id ⟨2 unchanged words⟩
before
—after
{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true}before
—after
{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true}{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"id":{"description":"Theme id from list_themes.","type":"string"}},"required":["id ⟨2 unchanged words⟩
before
—after
{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true}{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"category":{"description":"Layout category id to filter by, e.g. a category from the catalog. Omit for all categories.","type":"string"},"lang":{"default" ⟨22 unchanged words⟩ :"string"},"limit":{"default":30,"description":"Maximum number of layouts to return (1 to 150). Default 30.","exclusiveMinimum":0,"maximum":150,"type" ⟨97 unchanged words⟩
before
—after
{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true}{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"scope":{"description":"\"personal\" (default) lists the user's own images; \"team\" lists the team library.","enum":["personal","team"],"type" ⟨3 unchanged words⟩
before
—after
{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true}before
—after
{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true}before
—after
{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true}{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"mood":{"description":"Mood keyword to filter themes by, e.g. \"minimal\" or \"bold\". Omit for all themes.","type":"string"},"scheme":{"description":"Only themes with this color scheme. Omit for both.","enum":["light","dark"],"type ⟨3 unchanged words⟩
before
—after
{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true}⟨25 unchanged words⟩ ,"type":"integer"},"ids":{"description":"Object ids to remove, from get_template.","items":{"type":"string"},"maxItems" ⟨26 unchanged words⟩
before
—after
{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false}⟨22 unchanged words⟩ ,"type":"string"},"layout_id":{"description":"Layout id from list_layouts or suggest_deck.","type":"string"},"slots":{"additionalProperties" ⟨90 unchanged words⟩
before
—after
{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true}{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"name":{"description":"Template name shown in My Templates.","type":"string"},"owner":{"description" ⟨51 unchanged words⟩ ,"type":"string"},"slides":{"description":"The slides, in order: [{layout, slots}]. 1 to 25.","items":{"properties":{"id":{"description ⟨24 unchanged words⟩ ,"type":"string"},"layout":{"description":"Layout id from list_layouts or suggest_deck.","type":"string"},"objects":{"description" ⟨326 unchanged words⟩ 1,"type":"array"},"theme_id":{"description":"A catalog theme id or custom:<uuid>. Omit to use the default theme.","type":"string"}},"required":[" ⟨4 unchanged words⟩
before
—after
{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false}before
—after
{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true}{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"changes":{"description":"Changes to existing objects, one per object id. Send only the fields to change.","items":{"additionalProperties":false,"properties":{"alt":{"description":"Image only: new alt text, up to 300 characters.","type":"string"},"asset":{"description" ⟨177 unchanged words⟩ },"type":"object"},"text":{"description":"New text for a text box.","type":"string"},"w":{"description ⟨100 unchanged words⟩
before
—after
{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false}{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"append_slides":{"description":"Slides added to the end. Existing slides stay.","items":{"properties":{"id":{"description ⟨24 unchanged words⟩ ,"type":"string"},"layout":{"description":"Layout id from list_layouts or suggest_deck.","type":"string"},"objects":{"description" ⟨354 unchanged words⟩ ,"type":"integer"},"id":{"description":"Template id from list_templates.","type":"string"},"name":{"description":"New template name.","type":"string"},"slides":{"description":"Replaces all slides of the template.","items":{"properties":{"id":{"description ⟨24 unchanged words⟩ ,"type":"string"},"layout":{"description":"Layout id from list_layouts or suggest_deck.","type":"string"},"objects":{"description" ⟨326 unchanged words⟩ 1,"type":"array"},"theme_id":{"description":"New theme: a catalog theme id or custom:<uuid>.","type":"string"}},"required":[" ⟨3 unchanged words⟩
before
—after
{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false}⟨55 unchanged words⟩ "items":{"properties":{"layout":{"description":"Layout id from list_layouts or suggest_deck.","type":"string"},"slots":{"additionalProperties" ⟨95 unchanged words⟩
before
—after
{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false}{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"id":{"description":"Layout id from list_layouts or suggest_deck.","type":"string"},"lang":{"default" ⟨20 unchanged words⟩ ],"type":"string"},"theme_id":{"description":"Theme id or custom:<uuid>. Omit to use the layout's default theme.","type":"string"}},"required":[" ⟨3 unchanged words⟩
before
—after
{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true}before
—after
{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true}{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"id":{"description":"Template id from list_templates.","type":"string"}},"required":["id ⟨2 unchanged words⟩
before
—after
{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true}before
—after
{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true}{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"id":{"description":"Theme id from list_themes.","type":"string"}},"required":["id ⟨2 unchanged words⟩
before
—after
{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true}⟨9 unchanged words⟩ specific layout. Returns metadata only, no HTML. Each entry has position (opener/middle/closer: its role in a deck), when_to_use and when_not_to_use: read them to check the layout fits the content before choosing it. Filter by position to fill a slot of the story, e.g. position "closer" for the last slide. Also the tool for "what is new", ⟨39 unchanged words⟩
{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"category":{"description":"Layout category id to filter by, e.g. a category from the catalog. Omit for all categories.","type":"string"},"lang":{"default":"ko","description":"Language of description, best_for and when_to_use / when_not_to_use. Pass the language the user is writing in.","enum":["ko","en"],"type":"string"},"limit":{"default":30,"description":"Maximum number of layouts to return (1 to 150). Default 30.","exclusiveMinimum":0,"maximum":150,"type":"integer"},"position":{"description":"The slide's role in a deck: opener = cover, middle = content, closer = ending (summary, CTA, thanks). Use it to fill each part of the story: first slide with opener, last with closer.","enum":["opener","middle","closer"],"type":"string"},"query":{"description":"Words that must all appear in the name, description, best_for, when_to_use or content type.","type":"string"},"since":{"description ⟨33 unchanged words⟩
before
—after
{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true}{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"scope":{"description":"\"personal\" (default) lists the user's own images; \"team\" lists the team library.","enum":["personal","team"],"type" ⟨3 unchanged words⟩
before
—after
{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true}before
—after
{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true}before
—after
{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true}{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"mood":{"description":"Mood keyword to filter themes by, e.g. \"minimal\" or \"bold\". Omit for all themes.","type":"string"},"scheme":{"description":"Only themes with this color scheme. Omit for both.","enum":["light","dark"],"type ⟨3 unchanged words⟩
before
—after
{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true}⟨25 unchanged words⟩ ,"type":"integer"},"ids":{"description":"Object ids to remove, from get_template.","items":{"type":"string"},"maxItems" ⟨26 unchanged words⟩
before
—after
{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false}{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"name":{"description":"Template name shown in My Templates.","type":"string"},"owner":{"description" ⟨51 unchanged words⟩ ,"type":"string"},"slides":{"description":"The slides, in order: [{layout, slots}]. 1 to 25.","items":{"properties":{"id":{"description ⟨24 unchanged words⟩ ,"type":"string"},"layout":{"description":"Layout id from list_layouts or suggest_deck.","type":"string"},"objects":{"description" ⟨326 unchanged words⟩ 1,"type":"array"},"theme_id":{"description":"A catalog theme id or custom:<uuid>. Omit to use the default theme.","type":"string"}},"required":[" ⟨4 unchanged words⟩
before
—after
{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false}before
—after
{"destructiveHint":false,"idempotentHint":true,"openWorldHint":false,"readOnlyHint":true}{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"changes":{"description":"Changes to existing objects, one per object id. Send only the fields to change.","items":{"additionalProperties":false,"properties":{"alt":{"description":"Image only: new alt text, up to 300 characters.","type":"string"},"asset":{"description" ⟨177 unchanged words⟩ },"type":"object"},"text":{"description":"New text for a text box.","type":"string"},"w":{"description ⟨100 unchanged words⟩
before
—after
{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false}{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"append_slides":{"description":"Slides added to the end. Existing slides stay.","items":{"properties":{"id":{"description ⟨24 unchanged words⟩ ,"type":"string"},"layout":{"description":"Layout id from list_layouts or suggest_deck.","type":"string"},"objects":{"description" ⟨354 unchanged words⟩ ,"type":"integer"},"id":{"description":"Template id from list_templates.","type":"string"},"name":{"description":"New template name.","type":"string"},"slides":{"description":"Replaces all slides of the template.","items":{"properties":{"id":{"description ⟨24 unchanged words⟩ ,"type":"string"},"layout":{"description":"Layout id from list_layouts or suggest_deck.","type":"string"},"objects":{"description" ⟨326 unchanged words⟩ 1,"type":"array"},"theme_id":{"description":"New theme: a catalog theme id or custom:<uuid>.","type":"string"}},"required":[" ⟨3 unchanged words⟩
before
—after
{"destructiveHint":true,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false}Check slots — Validate slot text against a layout before rendering. Nothing is rendered and no CSS is returned, so it is cheap: run it on every slide you wrote, fix what it reports, then call render_slide. Input: layout_id and slots (slot id to text), the same as render_slide. Returns { layout_id, ok, error_count, warning_count, issues[] }. Each issue has slot, code (unknown_slot, missing_required, empty_required, too_long, not_filled, blanked), severity ("error" must be fixed, "warning" is a quality note) and a one-line fix. ok is true when there are no errors.
Render slide — Fill one layout with your text and get back a finished, self-contained HTML document (theme, base and contract CSS inlined) that renders correctly when opened. Use it instead of get_layout when you already know the text: you do not assemble CSS or edit the markup yourself. Input: layout_id, optional theme_id (use the same one for every slide of a deck), slots, lang. Returns { layout_id, theme_id, html, warnings[], ok }. warnings[] lists missing required slots, text over max_chars, unknown slot ids and sample copy left behind, each with a fix; read them and call again after correcting, do not …
Check slots — Validate slot text against a layout before rendering. Nothing is rendered and no CSS is returned, so it is cheap: run it on every slide you wrote, fix what it reports, then call render_slide. Input: layout_id and slots (slot id to text), the same as render_slide. Returns { layout_id, ok, error_count, warning_count, issues[] }. Each issue has slot, code (unknown_slot, missing_required, empty_required, too_long, not_filled, blanked), severity ("error" must be fixed, "warning" is a quality note) and a one-line fix. ok is true when there are no errors.
Render slide — Fill one layout with your text and get back a finished, self-contained HTML document (theme, base and contract CSS inlined) that renders correctly when opened. Use it instead of get_layout when you already know the text: you do not assemble CSS or edit the markup yourself. Input: layout_id, optional theme_id (use the same one for every slide of a deck), slots, lang. Returns { layout_id, theme_id, html, warnings[], ok }. warnings[] lists missing required slots, text over max_chars, unknown slot ids and sample copy left behind, each with a fix; read them and call again after correcting, do not …
{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"scope":{"enum":["personal","team"],"type":"string"}},"type":"object"}
List the templates the user saved in My Templates, and those of the team they belong to: id, name, owner ("personal" or "team"), slide_count, theme_id, source, updated_at and version. Team templates also have created_by, review_state and unresolved_feedback (pin comments waiting). Use it to find a template the user ⟨18 unchanged words⟩
⟨94 unchanged words⟩ is longer than max_chars) and unknown_layouts[]. Pass owner "team" to save it to the user's team instead of their own templates. Deleting is not available here, only on the ⟨17 unchanged words⟩
⟨4 unchanged words⟩ {"name":{"type":"string"},"owner":{"description":"Where to save it. Default \"personal\". \"team\" saves it to the user's team (they must be an active member), where teammates can open, comment on and review it. Images in a team template must come from the team library (list_media with scope \"team\").","enum":["personal","team"],"type":"string"},"slides":{"items":{"properties":{"id ⟨369 unchanged words⟩
Get template feedback — Read the pin comments teammates left on a team template. By default only unresolved ones on slides the template still has; pass include_resolved to get every thread. Each thread has the comment id, slide_id and slide_number (null if the slide was deleted), slot (the text slot under the pin, if any), body, author, resolved and replies[]. Use slide_id to match a thread to the slide in get_template, then fix the slide with update_template (keep the slide ids). Resolving a thread is done on the web. Only for templates that belong to the user's team: a personal template answers not_team_template, …
List pending reviews — List the review requests ("confirm" requests) in the user's team that are waiting on them: templates whose review is requested or needs a new look because the slides changed after an approval, where the user was picked as a reviewer or has not decided yet. Their own requests are left out. Each item has template_id, name, url, state, version, message, requested_by, requested_at, assigned_to_me and unresolved_feedback. Read the notes on a template with get_template_feedback. Deciding a review (approve or send back) is only possible on the web, so ask the user to do it there. Needs an API key; w…
{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"scope":{"enum":["personal","team"],"type":"string"}},"type":"object"}
List the templates the user saved in My Templates, and those of the team they belong to: id, name, owner ("personal" or "team"), slide_count, theme_id, source, updated_at and version. Team templates also have created_by, review_state and unresolved_feedback (pin comments waiting). Use it to find a template the user ⟨18 unchanged words⟩
⟨94 unchanged words⟩ is longer than max_chars) and unknown_layouts[]. Pass owner "team" to save it to the user's team instead of their own templates. Deleting is not available here, only on the ⟨17 unchanged words⟩
⟨4 unchanged words⟩ {"name":{"type":"string"},"owner":{"description":"Where to save it. Default \"personal\". \"team\" saves it to the user's team (they must be an active member), where teammates can open, comment on and review it. Images in a team template must come from the team library (list_media with scope \"team\").","enum":["personal","team"],"type":"string"},"slides":{"items":{"properties":{"id ⟨369 unchanged words⟩
Get template feedback — Read the pin comments teammates left on a team template. By default only unresolved ones on slides the template still has; pass include_resolved to get every thread. Each thread has the comment id, slide_id and slide_number (null if the slide was deleted), slot (the text slot under the pin, if any), body, author, resolved and replies[]. Use slide_id to match a thread to the slide in get_template, then fix the slide with update_template (keep the slide ids). Resolving a thread is done on the web. Only for templates that belong to the user's team: a personal template answers not_team_template, …
List pending reviews — List the review requests ("confirm" requests) in the user's team that are waiting on them: templates whose review is requested or needs a new look because the slides changed after an approval, where the user was picked as a reviewer or has not decided yet. Their own requests are left out. Each item has template_id, name, url, state, version, message, requested_by, requested_at, assigned_to_me and unresolved_feedback. Read the notes on a template with get_template_feedback. Deciding a review (approve or send back) is only possible on the web, so ask the user to do it there. Needs an API key; w…
⟨7 unchanged words⟩ "slides":{"items":{"properties":{"id":{"description":"The slide's id from get_template. Keep it when you resend a slide; leave it out for a new slide and the server assigns one.","type":"string"},"layout":{"type":"string"},"objects":{"description":"Images and text boxes laid over the slide, in 1920x1080 pixels. Resend the objects you got from get_template or they are removed. At most 50 per slide.","items":{"additionalProperties":{},"properties":{"alt":{"description":"For type \"image\": a short description of the picture for screen readers (up to 300 characters).","type":"string"},"asset":{"description":"For type \"image\": the id of an image in the user's media library.","type":"string"},"behind":{"description":"true: drawn behind the layout's own elements, on top of the slide background. Absent or false: in front of the layout.","type":"boolean"},"h":{"type":"number"},"id":{"type":"string"},"rotate":{"type":"number"},"style":{"additionalProperties":{},"properties":{"align":{"type":"string"},"color":{"description":"A theme token name such as \"ink\" or \"accent\", not a color value.","type":"string"},"size":{"type":"number"},"weight":{"type":"number"}},"type":"object"},"text":{"description":"For type \"text\".","type":"string"},"type":{"description":"\"image\" or \"text\".","type":"string"},"w":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"},"z":{"description":"Stacking order; larger is in front. Each layer (see behind) is ordered on its own.","type":"number"}},"required":["type","x","y","w","h","z"],"type":"object"},"type":"array"},"overrides":{"additionalProperties":{"additionalProperties":{},"properties":{"deleted":{"description":"true: the element is not drawn on this slide (not in the export either).","type":"boolean"},"h":{"type":"number"},"w":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"}},"type":"object"},"description":"Changes to the layout's own elements, by element key: { \"top-accent-bar\": { \"deleted\": true }, \"title\": { \"x\": 40, \"y\": 62 } }. Only the values that changed are given; x, y, w, h are pixels on the 1920x1080 slide and the rest stays as the layout draws it. Resend the overrides you got from get_template or they are removed. Requires Pro.","propertyNames":{"type":"string"},"type":"object"},"slots":{"additionalProperties":{"type" ⟨34 unchanged words⟩
⟨4 unchanged words⟩ "append_slides":{"items":{"properties":{"id":{"description":"The slide's id from get_template. Keep it when you resend a slide; leave it out for a new slide and the server assigns one.","type":"string"},"layout":{"type":"string"},"objects":{"description":"Images and text boxes laid over the slide, in 1920x1080 pixels. Resend the objects you got from get_template or they are removed. At most 50 per slide.","items":{"additionalProperties":{},"properties":{"alt":{"description":"For type \"image\": a short description of the picture for screen readers (up to 300 characters).","type":"string"},"asset":{"description":"For type \"image\": the id of an image in the user's media library.","type":"string"},"behind":{"description":"true: drawn behind the layout's own elements, on top of the slide background. Absent or false: in front of the layout.","type":"boolean"},"h":{"type":"number"},"id":{"type":"string"},"rotate":{"type":"number"},"style":{"additionalProperties":{},"properties":{"align":{"type":"string"},"color":{"description":"A theme token name such as \"ink\" or \"accent\", not a color value.","type":"string"},"size":{"type":"number"},"weight":{"type":"number"}},"type":"object"},"text":{"description":"For type \"text\".","type":"string"},"type":{"description":"\"image\" or \"text\".","type":"string"},"w":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"},"z":{"description":"Stacking order; larger is in front. Each layer (see behind) is ordered on its own.","type":"number"}},"required":["type","x","y","w","h","z"],"type":"object"},"type":"array"},"overrides":{"additionalProperties":{"additionalProperties":{},"properties":{"deleted":{"description":"true: the element is not drawn on this slide (not in the export either).","type":"boolean"},"h":{"type":"number"},"w":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"}},"type":"object"},"description":"Changes to the layout's own elements, by element key: { \"top-accent-bar\": { \"deleted\": true }, \"title\": { \"x\": 40, \"y\": 62 } }. Only the values that changed are given; x, y, w, h are pixels on the 1920x1080 slide and the rest stays as the layout draws it. Resend the overrides you got from get_template or they are removed. Requires Pro.","propertyNames":{"type":"string"},"type":"object"},"slots":{"additionalProperties":{"type":"string" ⟨58 unchanged words⟩ "slides":{"items":{"properties":{"id":{"description":"The slide's id from get_template. Keep it when you resend a slide; leave it out for a new slide and the server assigns one.","type":"string"},"layout":{"type":"string"},"objects":{"description":"Images and text boxes laid over the slide, in 1920x1080 pixels. Resend the objects you got from get_template or they are removed. At most 50 per slide.","items":{"additionalProperties":{},"properties":{"alt":{"description":"For type \"image\": a short description of the picture for screen readers (up to 300 characters).","type":"string"},"asset":{"description":"For type \"image\": the id of an image in the user's media library.","type":"string"},"behind":{"description":"true: drawn behind the layout's own elements, on top of the slide background. Absent or false: in front of the layout.","type":"boolean"},"h":{"type":"number"},"id":{"type":"string"},"rotate":{"type":"number"},"style":{"additionalProperties":{},"properties":{"align":{"type":"string"},"color":{"description":"A theme token name such as \"ink\" or \"accent\", not a color value.","type":"string"},"size":{"type":"number"},"weight":{"type":"number"}},"type":"object"},"text":{"description":"For type \"text\".","type":"string"},"type":{"description":"\"image\" or \"text\".","type":"string"},"w":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"},"z":{"description":"Stacking order; larger is in front. Each layer (see behind) is ordered on its own.","type":"number"}},"required":["type","x","y","w","h","z"],"type":"object"},"type":"array"},"overrides":{"additionalProperties":{"additionalProperties":{},"properties":{"deleted":{"description":"true: the element is not drawn on this slide (not in the export either).","type":"boolean"},"h":{"type":"number"},"w":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"}},"type":"object"},"description":"Changes to the layout's own elements, by element key: { \"top-accent-bar\": { \"deleted\": true }, \"title\": { \"x\": 40, \"y\": 62 } }. Only the values that changed are given; x, y, w, h are pixels on the 1920x1080 slide and the rest stays as the layout draws it. Resend the overrides you got from get_template or they are removed. Requires Pro.","propertyNames":{"type":"string"},"type":"object"},"slots":{"additionalProperties":{"type" ⟨33 unchanged words⟩
Add objects — Add text boxes and images on top of one slide of a saved template, up to 50 per call and 50 per slide. Requires a Pro account. Use this instead of update_template to place objects: it never touches slots, other slides or other objects. Each item is {type:"text", text, ...} or {type:"image", asset, ...}; position and size are optional (a text box lands near the middle, an image is centered and fitted). Coordinates are pixels on a 1920x1080 slide and are kept inside it. Colors are theme tokens, not hex. Images come only from list_media ids. Set behind:true to put an object under the layout's ow…
List images — List the images the user uploaded to their media library on the web: id, name, width, height, aspect_ratio (width/height), bytes, mime and created_at, newest first, plus used_bytes. Pass an id to add_objects to place the picture on a slide. You cannot upload an image or fetch one from a web address; if the picture you need is missing, ask the user to upload it to their media library on the web. Needs an API key; works on any plan.
Remove objects — Remove objects from a slide by id. Requires a Pro account. The slide, its slots and the other objects stay. Only objects can be removed here; slides and templates are deleted on the web. If any id is not on the slide, nothing is removed. Returns the objects that remain and the new version. Errors: pro_required, not_found, conflict (read again with get_template and retry), invalid_input.
Update objects — Change objects already on a slide, by id: position, size, rotation, text, text style, the image's alt text or picture, stacking order, and behind (true sends it behind the layout's own elements, false brings it back in front). Requires a Pro account. Send only the fields to change; the style is merged. An image keeps its proportions (send w alone). Up to 50 changes per call, all applied or none. Read ids and the current version with get_template. Returns the slide's objects and the new version. Errors: pro_required, not_found, conflict (read again with get_template and retry), invalid_input.
⟨7 unchanged words⟩ "slides":{"items":{"properties":{"id":{"description":"The slide's id from get_template. Keep it when you resend a slide; leave it out for a new slide and the server assigns one.","type":"string"},"layout":{"type":"string"},"objects":{"description":"Images and text boxes laid over the slide, in 1920x1080 pixels. Resend the objects you got from get_template or they are removed. At most 50 per slide.","items":{"additionalProperties":{},"properties":{"alt":{"description":"For type \"image\": a short description of the picture for screen readers (up to 300 characters).","type":"string"},"asset":{"description":"For type \"image\": the id of an image in the user's media library.","type":"string"},"behind":{"description":"true: drawn behind the layout's own elements, on top of the slide background. Absent or false: in front of the layout.","type":"boolean"},"h":{"type":"number"},"id":{"type":"string"},"rotate":{"type":"number"},"style":{"additionalProperties":{},"properties":{"align":{"type":"string"},"color":{"description":"A theme token name such as \"ink\" or \"accent\", not a color value.","type":"string"},"size":{"type":"number"},"weight":{"type":"number"}},"type":"object"},"text":{"description":"For type \"text\".","type":"string"},"type":{"description":"\"image\" or \"text\".","type":"string"},"w":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"},"z":{"description":"Stacking order; larger is in front. Each layer (see behind) is ordered on its own.","type":"number"}},"required":["type","x","y","w","h","z"],"type":"object"},"type":"array"},"overrides":{"additionalProperties":{"additionalProperties":{},"properties":{"deleted":{"description":"true: the element is not drawn on this slide (not in the export either).","type":"boolean"},"h":{"type":"number"},"w":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"}},"type":"object"},"description":"Changes to the layout's own elements, by element key: { \"top-accent-bar\": { \"deleted\": true }, \"title\": { \"x\": 40, \"y\": 62 } }. Only the values that changed are given; x, y, w, h are pixels on the 1920x1080 slide and the rest stays as the layout draws it. Resend the overrides you got from get_template or they are removed. Requires Pro.","propertyNames":{"type":"string"},"type":"object"},"slots":{"additionalProperties":{"type" ⟨34 unchanged words⟩
⟨4 unchanged words⟩ "append_slides":{"items":{"properties":{"id":{"description":"The slide's id from get_template. Keep it when you resend a slide; leave it out for a new slide and the server assigns one.","type":"string"},"layout":{"type":"string"},"objects":{"description":"Images and text boxes laid over the slide, in 1920x1080 pixels. Resend the objects you got from get_template or they are removed. At most 50 per slide.","items":{"additionalProperties":{},"properties":{"alt":{"description":"For type \"image\": a short description of the picture for screen readers (up to 300 characters).","type":"string"},"asset":{"description":"For type \"image\": the id of an image in the user's media library.","type":"string"},"behind":{"description":"true: drawn behind the layout's own elements, on top of the slide background. Absent or false: in front of the layout.","type":"boolean"},"h":{"type":"number"},"id":{"type":"string"},"rotate":{"type":"number"},"style":{"additionalProperties":{},"properties":{"align":{"type":"string"},"color":{"description":"A theme token name such as \"ink\" or \"accent\", not a color value.","type":"string"},"size":{"type":"number"},"weight":{"type":"number"}},"type":"object"},"text":{"description":"For type \"text\".","type":"string"},"type":{"description":"\"image\" or \"text\".","type":"string"},"w":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"},"z":{"description":"Stacking order; larger is in front. Each layer (see behind) is ordered on its own.","type":"number"}},"required":["type","x","y","w","h","z"],"type":"object"},"type":"array"},"overrides":{"additionalProperties":{"additionalProperties":{},"properties":{"deleted":{"description":"true: the element is not drawn on this slide (not in the export either).","type":"boolean"},"h":{"type":"number"},"w":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"}},"type":"object"},"description":"Changes to the layout's own elements, by element key: { \"top-accent-bar\": { \"deleted\": true }, \"title\": { \"x\": 40, \"y\": 62 } }. Only the values that changed are given; x, y, w, h are pixels on the 1920x1080 slide and the rest stays as the layout draws it. Resend the overrides you got from get_template or they are removed. Requires Pro.","propertyNames":{"type":"string"},"type":"object"},"slots":{"additionalProperties":{"type":"string" ⟨58 unchanged words⟩ "slides":{"items":{"properties":{"id":{"description":"The slide's id from get_template. Keep it when you resend a slide; leave it out for a new slide and the server assigns one.","type":"string"},"layout":{"type":"string"},"objects":{"description":"Images and text boxes laid over the slide, in 1920x1080 pixels. Resend the objects you got from get_template or they are removed. At most 50 per slide.","items":{"additionalProperties":{},"properties":{"alt":{"description":"For type \"image\": a short description of the picture for screen readers (up to 300 characters).","type":"string"},"asset":{"description":"For type \"image\": the id of an image in the user's media library.","type":"string"},"behind":{"description":"true: drawn behind the layout's own elements, on top of the slide background. Absent or false: in front of the layout.","type":"boolean"},"h":{"type":"number"},"id":{"type":"string"},"rotate":{"type":"number"},"style":{"additionalProperties":{},"properties":{"align":{"type":"string"},"color":{"description":"A theme token name such as \"ink\" or \"accent\", not a color value.","type":"string"},"size":{"type":"number"},"weight":{"type":"number"}},"type":"object"},"text":{"description":"For type \"text\".","type":"string"},"type":{"description":"\"image\" or \"text\".","type":"string"},"w":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"},"z":{"description":"Stacking order; larger is in front. Each layer (see behind) is ordered on its own.","type":"number"}},"required":["type","x","y","w","h","z"],"type":"object"},"type":"array"},"overrides":{"additionalProperties":{"additionalProperties":{},"properties":{"deleted":{"description":"true: the element is not drawn on this slide (not in the export either).","type":"boolean"},"h":{"type":"number"},"w":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"}},"type":"object"},"description":"Changes to the layout's own elements, by element key: { \"top-accent-bar\": { \"deleted\": true }, \"title\": { \"x\": 40, \"y\": 62 } }. Only the values that changed are given; x, y, w, h are pixels on the 1920x1080 slide and the rest stays as the layout draws it. Resend the overrides you got from get_template or they are removed. Requires Pro.","propertyNames":{"type":"string"},"type":"object"},"slots":{"additionalProperties":{"type" ⟨33 unchanged words⟩
Add objects — Add text boxes and images on top of one slide of a saved template, up to 50 per call and 50 per slide. Requires a Pro account. Use this instead of update_template to place objects: it never touches slots, other slides or other objects. Each item is {type:"text", text, ...} or {type:"image", asset, ...}; position and size are optional (a text box lands near the middle, an image is centered and fitted). Coordinates are pixels on a 1920x1080 slide and are kept inside it. Colors are theme tokens, not hex. Images come only from list_media ids. Set behind:true to put an object under the layout's ow…
List images — List the images the user uploaded to their media library on the web: id, name, width, height, aspect_ratio (width/height), bytes, mime and created_at, newest first, plus used_bytes. Pass an id to add_objects to place the picture on a slide. You cannot upload an image or fetch one from a web address; if the picture you need is missing, ask the user to upload it to their media library on the web. Needs an API key; works on any plan.
Remove objects — Remove objects from a slide by id. Requires a Pro account. The slide, its slots and the other objects stay. Only objects can be removed here; slides and templates are deleted on the web. If any id is not on the slide, nothing is removed. Returns the objects that remain and the new version. Errors: pro_required, not_found, conflict (read again with get_template and retry), invalid_input.
Update objects — Change objects already on a slide, by id: position, size, rotation, text, text style, the image's alt text or picture, stacking order, and behind (true sends it behind the layout's own elements, false brings it back in front). Requires a Pro account. Send only the fields to change; the style is merged. An image keeps its proportions (send w alone). Up to 50 changes per call, all applied or none. Read ids and the current version with get_template. Returns the slide's objects and the new version. Errors: pro_required, not_found, conflict (read again with get_template and retry), invalid_input.
⟨8 unchanged words⟩ and key colors only, not the full CSS. With an API key, the user's own saved themes (My Themes, id "custom:...") come last with custom: true; their ids work anywhere a theme id does.
Get template — Return one saved template: name, theme_id and slides as [{layout, slots}], plus each slide's slot definitions with max_chars. Use it to fill the same structure with new text, then save with update_template or export with export_pptx(template_id), both of which need Pro. Needs an API key; reading works on any plan.
List templates — List the templates the user saved in My Templates: id, name, slide_count, theme_id, source, updated_at and version. Use it to find a template the user refers to, and to read slide_count before appending with update_template. Needs an API key; works on any plan.
Save template — Save a deck as a named template in the user's My Templates so it can be reused later. Requires a Pro account; without one the call fails and nothing is saved. Use it after you have built a deck the user wants to keep, for example from suggest_deck. Input: name, optional theme_id (a catalog theme id or custom:<uuid>), and slides as [{layout, slots}], the same shape export_pptx takes. A template holds 1 to 25 slides. Returns template_id, url (the template's page), slide_count, version (use it as expected_version in update_template), overflow[] (slots whose text is longer than max_chars) and unk…
Update template — Change a template the user already saved. Requires a Pro account; without one the call fails and nothing is changed. Pass the template id and any of: name, theme_id, slides (replaces all slides), or append_slides (adds slides to the end). A template holds at most 25 slides. If the result would be more than 25, nothing is changed and the response is a slide_limit error that includes how many slides still fit. Call list_templates first to read slide_count when you plan to append. The response has the same fields as save_template. Deleting is not available here, only on the web. Errors: pro_requ…
⟨8 unchanged words⟩ and key colors only, not the full CSS. With an API key, the user's own saved themes (My Themes, id "custom:...") come last with custom: true; their ids work anywhere a theme id does.
Get template — Return one saved template: name, theme_id and slides as [{layout, slots}], plus each slide's slot definitions with max_chars. Use it to fill the same structure with new text, then save with update_template or export with export_pptx(template_id), both of which need Pro. Needs an API key; reading works on any plan.
List templates — List the templates the user saved in My Templates: id, name, slide_count, theme_id, source, updated_at and version. Use it to find a template the user refers to, and to read slide_count before appending with update_template. Needs an API key; works on any plan.
Save template — Save a deck as a named template in the user's My Templates so it can be reused later. Requires a Pro account; without one the call fails and nothing is saved. Use it after you have built a deck the user wants to keep, for example from suggest_deck. Input: name, optional theme_id (a catalog theme id or custom:<uuid>), and slides as [{layout, slots}], the same shape export_pptx takes. A template holds 1 to 25 slides. Returns template_id, url (the template's page), slide_count, version (use it as expected_version in update_template), overflow[] (slots whose text is longer than max_chars) and unk…
Update template — Change a template the user already saved. Requires a Pro account; without one the call fails and nothing is changed. Pass the template id and any of: name, theme_id, slides (replaces all slides), or append_slides (adds slides to the end). A template holds at most 25 slides. If the result would be more than 25, nothing is changed and the response is a slide_limit error that includes how many slides still fit. Call list_templates first to read slide_count when you plan to append. The response has the same fields as save_template. Deleting is not available here, only on the web. Errors: pro_requ…
after
{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"append_slides":{"description":"Slides added to the end of the draft. Existing slides stay.","items":{"properties":{"id":{"description":"The slide's id from get_template. Keep it when you resend a slide; leave it out for a new slide and the server assigns one.","type":"string"},"layout":{"description":"Layout id from list_layouts or suggest_deck.","type":"string"},"objects":{"description":"Images and text boxes laid over the slide, in 1920x1080 pixels. Resend the objects you got from get_template or they are removed. At most 50 per slide.","items":{"additionalProperties":{},"properties":{"alt":{"description":"For type \"image\": a short description of the picture for screen readers (up to 300 characters).","type":"string"},"asset":{"description":"For type \"image\": the id of an image in the user's media library.","type":"string"},"behind":{"description":"true: drawn behind the layout's own elements, on top of the slide background. Absent or false: in front of the layout.","type":"boolean"},"group":{"description":"Objects with the same group id move and copy together in the web editor; keep it when you resend.","type":"string"},"h":{"type":"number"},"id":{"type":"string"},"locked":{"description":"true: the user locked it on the web; keep it when you resend.","type":"boolean"},"rotate":{"type":"number"},"runs":{"description":"For type \"text\". Formatting of part of the text: [{ start, end, bold?, italic?, underline?, color?, link? }]. start and end are UTF-16 offsets into the text (JavaScript string indices: a Korean syllable counts 1, an emoji outside the basic plane 2), end exclusive, start < end. bold, italic, underline are true or false (false undoes a look the whole text has); color takes the colour forms below; link is kept for a later version and not drawn yet. The text itself stays plain. Ranges must fit the text, else the call fails with invalid_input. Shown in the editor, the PPTX (one text run per piece) and the HTML export. Changing the text without sending runs moves the stored runs with it (text before a range shifts it; a range whose characters are all deleted is dropped); send runs with the text to set them yourself, null (update_objects) or [] to remove them. Fields you do not know on a run are kept.","items":{"additionalProperties":{},"properties":{"end":{"type":"number"},"start":{"type":"number"}},"required":["start","end"],"type":"object"},"type":"array"},"shape":{"description":"For type \"shape\": \"rect\", \"roundRect\", \"ellipse\", \"line\" or \"arrow\".","type":"string"},"style":{"additionalProperties":{},"description":"For type \"text\" and \"shape\". Look fields (all optional; send null to take one away and go back to the default): text: size (8-400 px; in an override entry it is called fontSize), weight (400 or 700), italic, underline, strike (true/false), align (\"left\", \"center\", \"right\"), lineHeight (multiple of the size, 0.5-4), vAlign (\"top\", \"middle\", \"bottom\"; text boxes only), color. box: fill (a colour or \"none\"), fillOpacity (0-1), borderColor, borderWidth (0-40 px), radius (0-540 px), shadow (\"none\", \"sm\", \"md\", \"lg\"). line (strokes of a drawn line or icon): lineColor, lineWidth (0.5-40 px), dash (\"solid\", \"dash\", \"dot\"; also the border's style). A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme. Some layout elements are drawn as a picture in the PPTX; colours stored for them are ignored on every output.","properties":{"align":{"type":"string"},"color":{"description":"A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme.","type":"string"},"size":{"type":"number"},"weight":{"type":"number"}},"type":"object"},"text":{"description":"For type \"text\", and a box shape's inner text.","type":"string"},"type":{"description":"\"image\", \"text\" or \"shape\".","type":"string"},"w":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"},"z":{"description":"Stacking order; larger is in front. Each layer (see behind) is ordered on its own.","type":"number"}},"required":["type","x","y","w","h","z"],"type":"object"},"type":"array"},"overrides":{"additionalProperties":{"additionalProperties":{},"description":"Only what changed. Look fields (all optional; send null to take one away and go back to the default): text: size (8-400 px; in an override entry it is called fontSize), weight (400 or 700), italic, underline, strike (true/false), align (\"left\", \"center\", \"right\"), lineHeight (multiple of the size, 0.5-4), vAlign (\"top\", \"middle\", \"bottom\"; text boxes only), color. box: fill (a colour or \"none\"), fillOpacity (0-1), borderColor, borderWidth (0-40 px), radius (0-540 px), shadow (\"none\", \"sm\", \"md\", \"lg\"). line (strokes of a drawn line or icon): lineColor, lineWidth (0.5-40 px), dash (\"solid\", \"dash\", \"dot\"; also the border's style). A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme. Some layout elements are drawn as a picture in the PPTX; colours stored for them are ignored on every output.","properties":{"color":{"description":"A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme.","type":"string"},"deleted":{"description":"true: the element is not drawn on this slide (not in the export either).","type":"boolean"},"fill":{"description":"Box fill: a colour, or \"none\".","type":"string"},"fontSize":{"description":"Text size in px, 8 to 400.","type":"number"},"h":{"type":"number"},"locked":{"description":"true: the user locked the element on the web (no effect on the look or the export); keep it when you resend.","type":"boolean"},"runs":{"description":"For a text slot element. Formatting of part of the text: [{ start, end, bold?, italic?, underline?, color?, link? }]. start and end are UTF-16 offsets into the text (JavaScript string indices: a Korean syllable counts 1, an emoji outside the basic plane 2), end exclusive, start < end. bold, italic, underline are true or false (false undoes a look the whole text has); color takes the colour forms below; link is kept for a later version and not drawn yet. The text itself stays plain. Ranges must fit the text, else the call fails with invalid_input. Shown in the editor, the PPTX (one text run per piece) and the HTML export. Changing the text without sending runs moves the stored runs with it (text before a range shifts it; a range whose characters are all deleted is dropped); send runs with the text to set them yourself, null (update_objects) or [] to remove them. Fields you do not know on a run are kept.","items":{"additionalProperties":{},"properties":{"end":{"type":"number"},"start":{"type":"number"}},"required":["start","end"],"type":"object"},"type":"array"},"w":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"}},"type":"object"},"description":"Changes to the layout's own elements, by element key: { \"top-accent-bar\": { \"deleted\": true }, \"title\": { \"x\": 40, \"y\": 62, \"color\": \"#c8102e\", \"italic\": true } }. Only the values that changed are given; x, y, w, h are pixels on the 1920x1080 slide and the rest stays as the layout draws it. Look fields (colour, fill, border, line spacing...) sit in the same entry; see the entry schema. Resend the overrides you got from get_template or they are removed. Requires Pro.","propertyNames":{"type":"string"},"type":"object"},"slots":{"additionalProperties":{"type":"string"},"description":"Slot id to text. Ids and their max_chars come from get_layout.","propertyNames":{"type":"string"},"type":"object"}},"required":["layout"],"type":"object"},"minItems":1,"type":"array"},"expected_draft_version":{"description":"The draft_version from get_template or a previous save (0: no draft yet). Given, the call fails with conflict if the draft changed since.","maximum":9007199254740991,"minimum":0,"type":"integer"},"expected_version":{"description":"Older callers: the published version (version or published_version from get_template). Given, the call fails with conflict if the template was published since.","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"id":{"description":"Template id from list_templates.","type":"string"},"name":{"description":"New template name.","type":"string"},"palette":{"anyOf":[{"items":{"additionalProperties":{},"properties":{"color":{"type":"string"},"name":{"type":"string"}},"required":["name","color"],"type":"object"},"type":"array"},{"type":"null"}],"description":"The template's deck palette: up to 64 entries [{ \"name\": \"Brand red\", \"color\": \"#c8102e\" }]. Names are 1-40 letters, digits, spaces, \"_\" or \"-\", unique (ignoring case). Elements point at an entry with \"palette:<name>\". Sending palette replaces the whole list; null or [] removes it. Leave it out to keep it as it is."},"slides":{"description":"Replaces all slides of the draft.","items":{"properties":{"id":{"description":"The slide's id from get_template. Keep it when you resend a slide; leave it out for a new slide and the server assigns one.","type":"string"},"layout":{"description":"Layout id from list_layouts or suggest_deck.","type":"string"},"objects":{"description":"Images and text boxes laid over the slide, in 1920x1080 pixels. Resend the objects you got from get_template or they are removed. At most 50 per slide.","items":{"additionalProperties":{},"properties":{"alt":{"description":"For type \"image\": a short description of the picture for screen readers (up to 300 characters).","type":"string"},"asset":{"description":"For type \"image\": the id of an image in the user's media library.","type":"string"},"behind":{"description":"true: drawn behind the layout's own elements, on top of the slide background. Absent or false: in front of the layout.","type":"boolean"},"group":{"description":"Objects with the same group id move and copy together in the web editor; keep it when you resend.","type":"string"},"h":{"type":"number"},"id":{"type":"string"},"locked":{"description":"true: the user locked it on the web; keep it when you resend.","type":"boolean"},"rotate":{"type":"number"},"runs":{"description":"For type \"text\". Formatting of part of the text: [{ start, end, bold?, italic?, underline?, color?, link? }]. start and end are UTF-16 offsets into the text (JavaScript string indices: a Korean syllable counts 1, an emoji outside the basic plane 2), end exclusive, start < end. bold, italic, underline are true or false (false undoes a look the whole text has); color takes the colour forms below; link is kept for a later version and not drawn yet. The text itself stays plain. Ranges must fit the text, else the call fails with invalid_input. Shown in the editor, the PPTX (one text run per piece) and the HTML export. Changing the text without sending runs moves the stored runs with it (text before a range shifts it; a range whose characters are all deleted is dropped); send runs with the text to set them yourself, null (update_objects) or [] to remove them. Fields you do not know on a run are kept.","items":{"additionalProperties":{},"properties":{"end":{"type":"number"},"start":{"type":"number"}},"required":["start","end"],"type":"object"},"type":"array"},"shape":{"description":"For type \"shape\": \"rect\", \"roundRect\", \"ellipse\", \"line\" or \"arrow\".","type":"string"},"style":{"additionalProperties":{},"description":"For type \"text\" and \"shape\". Look fields (all optional; send null to take one away and go back to the default): text: size (8-400 px; in an override entry it is called fontSize), weight (400 or 700), italic, underline, strike (true/false), align (\"left\", \"center\", \"right\"), lineHeight (multiple of the size, 0.5-4), vAlign (\"top\", \"middle\", \"bottom\"; text boxes only), color. box: fill (a colour or \"none\"), fillOpacity (0-1), borderColor, borderWidth (0-40 px), radius (0-540 px), shadow (\"none\", \"sm\", \"md\", \"lg\"). line (strokes of a drawn line or icon): lineColor, lineWidth (0.5-40 px), dash (\"solid\", \"dash\", \"dot\"; also the border's style). A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme. Some layout elements are drawn as a picture in the PPTX; colours stored for them are ignored on every output.","properties":{"align":{"type":"string"},"color":{"description":"A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme.","type":"string"},"size":{"type":"number"},"weight":{"type":"number"}},"type":"object"},"text":{"description":"For type \"text\", and a box shape's inner text.","type":"string"},"type":{"description":"\"image\", \"text\" or \"shape\".","type":"string"},"w":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"},"z":{"description":"Stacking order; larger is in front. Each layer (see behind) is ordered on its own.","type":"number"}},"required":["type","x","y","w","h","z"],"type":"object"},"type":"array"},"overrides":{"additionalProperties":{"additionalProperties":{},"description":"Only what changed. Look fields (all optional; send null to take one away and go back to the default): text: size (8-400 px; in an override entry it is called fontSize), weight (400 or 700), italic, underline, strike (true/false), align (\"left\", \"center\", \"right\"), lineHeight (multiple of the size, 0.5-4), vAlign (\"top\", \"middle\", \"bottom\"; text boxes only), color. box: fill (a colour or \"none\"), fillOpacity (0-1), borderColor, borderWidth (0-40 px), radius (0-540 px), shadow (\"none\", \"sm\", \"md\", \"lg\"). line (strokes of a drawn line or icon): lineColor, lineWidth (0.5-40 px), dash (\"solid\", \"dash\", \"dot\"; also the border's style). A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme. Some layout elements are drawn as a picture in the PPTX; colours stored for them are ignored on every output.","properties":{"color":{"description":"A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme.","type":"string"},"deleted":{"description":"true: the element is not drawn on this slide (not in the export either).","type":"boolean"},"fill":{"description":"Box fill: a colour, or \"none\".","type":"string"},"fontSize":{"description":"Text size in px, 8 to 400.","type":"number"},"h":{"type":"number"},"locked":{"description":"true: the user locked the element on the web (no effect on the look or the export); keep it when you resend.","type":"boolean"},"runs":{"description":"For a text slot element. Formatting of part of the text: [{ start, end, bold?, italic?, underline?, color?, link? }]. start and end are UTF-16 offsets into the text (JavaScript string indices: a Korean syllable counts 1, an emoji outside the basic plane 2), end exclusive, start < end. bold, italic, underline are true or false (false undoes a look the whole text has); color takes the colour forms below; link is kept for a later version and not drawn yet. The text itself stays plain. Ranges must fit the text, else the call fails with invalid_input. Shown in the editor, the PPTX (one text run per piece) and the HTML export. Changing the text without sending runs moves the stored runs with it (text before a range shifts it; a range whose characters are all deleted is dropped); send runs with the text to set them yourself, null (update_objects) or [] to remove them. Fields you do not know on a run are kept.","items":{"additionalProperties":{},"properties":{"end":{"type":"number"},"start":{"type":"number"}},"required":["start","end"],"type":"object"},"type":"array"},"w":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"}},"type":"object"},"description":"Changes to the layout's own elements, by element key: { \"top-accent-bar\": { \"deleted\": true }, \"title\": { \"x\": 40, \"y\": 62, \"color\": \"#c8102e\", \"italic\": true } }. Only the values that changed are given; x, y, w, h are pixels on the 1920x1080 slide and the rest stays as the layout draws it. Look fields (colour, fill, border, line spacing...) sit in the same entry; see the entry schema. Resend the overrides you got from get_template or they are removed. Requires Pro.","propertyNames":{"type":"string"},"type":"object"},"slots":{"additionalProperties":{"type":"string"},"description":"Slot id to text. Ids and their max_chars come from get_layout.","propertyNames":{"type":"string"},"type":"object"}},"required":["layout"],"type":"object"},"minItems":1,"type":"array"},"theme_id":{"description":"New theme: a catalog theme id or custom:<uuid>.","type":"string"}},"required":["id"],"type":"object"}after
{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"append_slides":{"description":"Slides added to the end of the draft. Existing slides stay.","items":{"properties":{"id":{"description":"The slide's id from get_template. Keep it when you resend a slide; leave it out for a new slide and the server assigns one.","type":"string"},"layout":{"description":"Layout id from list_layouts or suggest_deck.","type":"string"},"objects":{"description":"Images and text boxes laid over the slide, in 1920x1080 pixels. Resend the objects you got from get_template or they are removed. At most 50 per slide.","items":{"additionalProperties":{},"properties":{"alt":{"description":"For type \"image\": a short description of the picture for screen readers (up to 300 characters).","type":"string"},"asset":{"description":"For type \"image\": the id of an image in the user's media library.","type":"string"},"behind":{"description":"true: drawn behind the layout's own elements, on top of the slide background. Absent or false: in front of the layout.","type":"boolean"},"group":{"description":"Objects with the same group id move and copy together in the web editor; keep it when you resend.","type":"string"},"h":{"type":"number"},"id":{"type":"string"},"locked":{"description":"true: the user locked it on the web; keep it when you resend.","type":"boolean"},"rotate":{"type":"number"},"runs":{"description":"For type \"text\". Formatting of part of the text: [{ start, end, bold?, italic?, underline?, color?, link? }]. start and end are UTF-16 offsets into the text (JavaScript string indices: a Korean syllable counts 1, an emoji outside the basic plane 2), end exclusive, start < end. bold, italic, underline are true or false (false undoes a look the whole text has); color takes the colour forms below; link is kept for a later version and not drawn yet. The text itself stays plain. Ranges must fit the text, else the call fails with invalid_input. Shown in the editor, the PPTX (one text run per piece) and the HTML export. Changing the text without sending runs moves the stored runs with it (text before a range shifts it; a range whose characters are all deleted is dropped); send runs with the text to set them yourself, null (update_objects) or [] to remove them. Fields you do not know on a run are kept.","items":{"additionalProperties":{},"properties":{"end":{"type":"number"},"start":{"type":"number"}},"required":["start","end"],"type":"object"},"type":"array"},"shape":{"description":"For type \"shape\": \"rect\", \"roundRect\", \"ellipse\", \"line\" or \"arrow\".","type":"string"},"style":{"additionalProperties":{},"description":"For type \"text\" and \"shape\". Look fields (all optional; send null to take one away and go back to the default): text: size (8-400 px; in an override entry it is called fontSize), weight (400 or 700), italic, underline, strike (true/false), align (\"left\", \"center\", \"right\"), lineHeight (multiple of the size, 0.5-4), vAlign (\"top\", \"middle\", \"bottom\"; text boxes only), color. box: fill (a colour or \"none\"), fillOpacity (0-1), borderColor, borderWidth (0-40 px), radius (0-540 px), shadow (\"none\", \"sm\", \"md\", \"lg\"). line (strokes of a drawn line or icon): lineColor, lineWidth (0.5-40 px), dash (\"solid\", \"dash\", \"dot\"; also the border's style). A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme. Some layout elements are drawn as a picture in the PPTX; colours stored for them are ignored on every output.","properties":{"align":{"type":"string"},"color":{"description":"A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme.","type":"string"},"size":{"type":"number"},"weight":{"type":"number"}},"type":"object"},"text":{"description":"For type \"text\", and a box shape's inner text.","type":"string"},"type":{"description":"\"image\", \"text\" or \"shape\".","type":"string"},"w":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"},"z":{"description":"Stacking order; larger is in front. Each layer (see behind) is ordered on its own.","type":"number"}},"required":["type","x","y","w","h","z"],"type":"object"},"type":"array"},"overrides":{"additionalProperties":{"additionalProperties":{},"description":"Only what changed. Look fields (all optional; send null to take one away and go back to the default): text: size (8-400 px; in an override entry it is called fontSize), weight (400 or 700), italic, underline, strike (true/false), align (\"left\", \"center\", \"right\"), lineHeight (multiple of the size, 0.5-4), vAlign (\"top\", \"middle\", \"bottom\"; text boxes only), color. box: fill (a colour or \"none\"), fillOpacity (0-1), borderColor, borderWidth (0-40 px), radius (0-540 px), shadow (\"none\", \"sm\", \"md\", \"lg\"). line (strokes of a drawn line or icon): lineColor, lineWidth (0.5-40 px), dash (\"solid\", \"dash\", \"dot\"; also the border's style). A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme. Some layout elements are drawn as a picture in the PPTX; colours stored for them are ignored on every output.","properties":{"color":{"description":"A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme.","type":"string"},"deleted":{"description":"true: the element is not drawn on this slide (not in the export either).","type":"boolean"},"fill":{"description":"Box fill: a colour, or \"none\".","type":"string"},"fontSize":{"description":"Text size in px, 8 to 400.","type":"number"},"h":{"type":"number"},"locked":{"description":"true: the user locked the element on the web (no effect on the look or the export); keep it when you resend.","type":"boolean"},"runs":{"description":"For a text slot element. Formatting of part of the text: [{ start, end, bold?, italic?, underline?, color?, link? }]. start and end are UTF-16 offsets into the text (JavaScript string indices: a Korean syllable counts 1, an emoji outside the basic plane 2), end exclusive, start < end. bold, italic, underline are true or false (false undoes a look the whole text has); color takes the colour forms below; link is kept for a later version and not drawn yet. The text itself stays plain. Ranges must fit the text, else the call fails with invalid_input. Shown in the editor, the PPTX (one text run per piece) and the HTML export. Changing the text without sending runs moves the stored runs with it (text before a range shifts it; a range whose characters are all deleted is dropped); send runs with the text to set them yourself, null (update_objects) or [] to remove them. Fields you do not know on a run are kept.","items":{"additionalProperties":{},"properties":{"end":{"type":"number"},"start":{"type":"number"}},"required":["start","end"],"type":"object"},"type":"array"},"w":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"}},"type":"object"},"description":"Changes to the layout's own elements, by element key: { \"top-accent-bar\": { \"deleted\": true }, \"title\": { \"x\": 40, \"y\": 62, \"color\": \"#c8102e\", \"italic\": true } }. Only the values that changed are given; x, y, w, h are pixels on the 1920x1080 slide and the rest stays as the layout draws it. Look fields (colour, fill, border, line spacing...) sit in the same entry; see the entry schema. Resend the overrides you got from get_template or they are removed. Requires Pro.","propertyNames":{"type":"string"},"type":"object"},"slots":{"additionalProperties":{"type":"string"},"description":"Slot id to text. Ids and their max_chars come from get_layout.","propertyNames":{"type":"string"},"type":"object"}},"required":["layout"],"type":"object"},"minItems":1,"type":"array"},"expected_draft_version":{"description":"The draft_version from get_template or a previous save (0: no draft yet). Given, the call fails with conflict if the draft changed since.","maximum":9007199254740991,"minimum":0,"type":"integer"},"expected_version":{"description":"Older callers: the published version (version or published_version from get_template). Given, the call fails with conflict if the template was published since.","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},"id":{"description":"Template id from list_templates.","type":"string"},"name":{"description":"New template name.","type":"string"},"palette":{"anyOf":[{"items":{"additionalProperties":{},"properties":{"color":{"type":"string"},"name":{"type":"string"}},"required":["name","color"],"type":"object"},"type":"array"},{"type":"null"}],"description":"The template's deck palette: up to 64 entries [{ \"name\": \"Brand red\", \"color\": \"#c8102e\" }]. Names are 1-40 letters, digits, spaces, \"_\" or \"-\", unique (ignoring case). Elements point at an entry with \"palette:<name>\". Sending palette replaces the whole list; null or [] removes it. Leave it out to keep it as it is."},"slides":{"description":"Replaces all slides of the draft.","items":{"properties":{"id":{"description":"The slide's id from get_template. Keep it when you resend a slide; leave it out for a new slide and the server assigns one.","type":"string"},"layout":{"description":"Layout id from list_layouts or suggest_deck.","type":"string"},"objects":{"description":"Images and text boxes laid over the slide, in 1920x1080 pixels. Resend the objects you got from get_template or they are removed. At most 50 per slide.","items":{"additionalProperties":{},"properties":{"alt":{"description":"For type \"image\": a short description of the picture for screen readers (up to 300 characters).","type":"string"},"asset":{"description":"For type \"image\": the id of an image in the user's media library.","type":"string"},"behind":{"description":"true: drawn behind the layout's own elements, on top of the slide background. Absent or false: in front of the layout.","type":"boolean"},"group":{"description":"Objects with the same group id move and copy together in the web editor; keep it when you resend.","type":"string"},"h":{"type":"number"},"id":{"type":"string"},"locked":{"description":"true: the user locked it on the web; keep it when you resend.","type":"boolean"},"rotate":{"type":"number"},"runs":{"description":"For type \"text\". Formatting of part of the text: [{ start, end, bold?, italic?, underline?, color?, link? }]. start and end are UTF-16 offsets into the text (JavaScript string indices: a Korean syllable counts 1, an emoji outside the basic plane 2), end exclusive, start < end. bold, italic, underline are true or false (false undoes a look the whole text has); color takes the colour forms below; link is kept for a later version and not drawn yet. The text itself stays plain. Ranges must fit the text, else the call fails with invalid_input. Shown in the editor, the PPTX (one text run per piece) and the HTML export. Changing the text without sending runs moves the stored runs with it (text before a range shifts it; a range whose characters are all deleted is dropped); send runs with the text to set them yourself, null (update_objects) or [] to remove them. Fields you do not know on a run are kept.","items":{"additionalProperties":{},"properties":{"end":{"type":"number"},"start":{"type":"number"}},"required":["start","end"],"type":"object"},"type":"array"},"shape":{"description":"For type \"shape\": \"rect\", \"roundRect\", \"ellipse\", \"line\" or \"arrow\".","type":"string"},"style":{"additionalProperties":{},"description":"For type \"text\" and \"shape\". Look fields (all optional; send null to take one away and go back to the default): text: size (8-400 px; in an override entry it is called fontSize), weight (400 or 700), italic, underline, strike (true/false), align (\"left\", \"center\", \"right\"), lineHeight (multiple of the size, 0.5-4), vAlign (\"top\", \"middle\", \"bottom\"; text boxes only), color. box: fill (a colour or \"none\"), fillOpacity (0-1), borderColor, borderWidth (0-40 px), radius (0-540 px), shadow (\"none\", \"sm\", \"md\", \"lg\"). line (strokes of a drawn line or icon): lineColor, lineWidth (0.5-40 px), dash (\"solid\", \"dash\", \"dot\"; also the border's style). A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme. Some layout elements are drawn as a picture in the PPTX; colours stored for them are ignored on every output.","properties":{"align":{"type":"string"},"color":{"description":"A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme.","type":"string"},"size":{"type":"number"},"weight":{"type":"number"}},"type":"object"},"text":{"description":"For type \"text\", and a box shape's inner text.","type":"string"},"type":{"description":"\"image\", \"text\" or \"shape\".","type":"string"},"w":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"},"z":{"description":"Stacking order; larger is in front. Each layer (see behind) is ordered on its own.","type":"number"}},"required":["type","x","y","w","h","z"],"type":"object"},"type":"array"},"overrides":{"additionalProperties":{"additionalProperties":{},"description":"Only what changed. Look fields (all optional; send null to take one away and go back to the default): text: size (8-400 px; in an override entry it is called fontSize), weight (400 or 700), italic, underline, strike (true/false), align (\"left\", \"center\", \"right\"), lineHeight (multiple of the size, 0.5-4), vAlign (\"top\", \"middle\", \"bottom\"; text boxes only), color. box: fill (a colour or \"none\"), fillOpacity (0-1), borderColor, borderWidth (0-40 px), radius (0-540 px), shadow (\"none\", \"sm\", \"md\", \"lg\"). line (strokes of a drawn line or icon): lineColor, lineWidth (0.5-40 px), dash (\"solid\", \"dash\", \"dot\"; also the border's style). A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme. Some layout elements are drawn as a picture in the PPTX; colours stored for them are ignored on every output.","properties":{"color":{"description":"A colour is one of: a theme colour token (ink, ink-soft, ink-muted, ink-on-dark, accent, accent-soft, accent-bg, bg, bg-alt, bg-inverse, border, border-strong, success, warning, danger), which follows the theme; \"palette:<name>\" for an entry of the template's deck palette, which follows that entry; or a direct colour \"#rrggbb\" (no alpha; use fillOpacity for a see-through fill). Palette and direct colours stay when the theme changes, also with a custom theme.","type":"string"},"deleted":{"description":"true: the element is not drawn on this slide (not in the export either).","type":"boolean"},"fill":{"description":"Box fill: a colour, or \"none\".","type":"string"},"fontSize":{"description":"Text size in px, 8 to 400.","type":"number"},"h":{"type":"number"},"locked":{"description":"true: the user locked the element on the web (no effect on the look or the export); keep it when you resend.","type":"boolean"},"runs":{"description":"For a text slot element. Formatting of part of the text: [{ start, end, bold?, italic?, underline?, color?, link? }]. start and end are UTF-16 offsets into the text (JavaScript string indices: a Korean syllable counts 1, an emoji outside the basic plane 2), end exclusive, start < end. bold, italic, underline are true or false (false undoes a look the whole text has); color takes the colour forms below; link is kept for a later version and not drawn yet. The text itself stays plain. Ranges must fit the text, else the call fails with invalid_input. Shown in the editor, the PPTX (one text run per piece) and the HTML export. Changing the text without sending runs moves the stored runs with it (text before a range shifts it; a range whose characters are all deleted is dropped); send runs with the text to set them yourself, null (update_objects) or [] to remove them. Fields you do not know on a run are kept.","items":{"additionalProperties":{},"properties":{"end":{"type":"number"},"start":{"type":"number"}},"required":["start","end"],"type":"object"},"type":"array"},"w":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"}},"type":"object"},"description":"Changes to the layout's own elements, by element key: { \"top-accent-bar\": { \"deleted\": true }, \"title\": { \"x\": 40, \"y\": 62, \"color\": \"#c8102e\", \"italic\": true } }. Only the values that changed are given; x, y, w, h are pixels on the 1920x1080 slide and the rest stays as the layout draws it. Look fields (colour, fill, border, line spacing...) sit in the same entry; see the entry schema. Resend the overrides you got from get_template or they are removed. Requires Pro.","propertyNames":{"type":"string"},"type":"object"},"slots":{"additionalProperties":{"type":"string"},"description":"Slot id to text. Ids and their max_chars come from get_layout.","propertyNames":{"type":"string"},"type":"object"}},"required":["layout"],"type":"object"},"minItems":1,"type":"array"},"theme_id":{"description":"New theme: a catalog theme id or custom:<uuid>.","type":"string"}},"required":["id"],"type":"object"}