Skip to main content
POST
/
projects
/
{slug}
/
slides
Create one or more slides
curl --request POST \
  --url https://faces.app/api/v1/projects/{slug}/slides \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "slides": [
    {
      "name": "Hero Section"
    }
  ],
  "afterSlideId": "<string>",
  "editing": true
}
'
{
  "slides": [
    {
      "slideId": "<string>",
      "name": "<string>"
    }
  ],
  "versionId": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://faces.app/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key with "faces_" prefix. Create one at Settings > Developers.

Path Parameters

slug
string
required

Body

application/json
slides
object[]
required

Ordered list of slides to create. The first entry is inserted immediately after afterSlideId (or at the end if omitted); each subsequent entry is inserted after the previous one.

Minimum array length: 1
afterSlideId
string

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

editing
boolean

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

Response

Slides created

slides
object[]
required

The newly created slides, in the same order they were requested.

versionId
string
required

The new project version ID.