v4

latestOpenAPI 3.1.02026-08-0130252.8 KB
Slides

Create one or more slides

Create one or more empty slides in order in a single atomic call. Returns the new slideIds in the order they were created. Always batch every slide you want to add into one call instead of calling this endpoint multiple times concurrently. After creation, call updateSlide on each returned slideId to write real content.

post/projects/{slug}/slides

Path parameters

slugstring required

Request body

afterSlideIdstring

Insert the new slides immediately after this slide ID. Omit to append at the end.

editingboolean

If true, immediately shows the loading gradient on every new slide. Call finishSlideEditing on each when done.

Example request

{
  "slides": [
    {
      "name": "Hero Section"
    }
  ]
}

Response

Slides created

versionIdstring required

The new project version ID.