Add objects
add_objectsAdd 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 own title and text (a background picture behind the default title); it is hidden wherever a layout card or panel has a solid fill. All items are added or none. Returns the slide's objects with their ids and the new version. Errors: pro_required, not_found, conflict (read again with get_template and retry), invalid_input.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| objects | Yes | ||
| slide_id | Yes | The slide's id from get_template. | |
| template_id | Yes | From list_templates. | |
| expected_version | No | The version from get_template. Given, the call fails with conflict if the template changed since. |