Saltar al contenido principal
POST
/
projects
/
{slug}
/
slides
Create a new slide
curl --request POST \
  --url https://faces.app/api/v1/projects/{slug}/slides \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Hero Section",
  "afterSlideId": "<string>",
  "editing": true
}
'
{
  "slideId": "<string>",
  "name": "<string>",
  "versionId": "<string>"
}

Documentation Index

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

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

Autorizaciones

Authorization
string
header
requerido

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

Parámetros de ruta

slug
string
requerido

Cuerpo

application/json
name
string
requerido

Display name for the new slide.

Ejemplo:

"Hero Section"

afterSlideId
string

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

editing
boolean

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

Respuesta

Slide created

slideId
string
requerido

The new slide ID.

name
string
requerido
versionId
string
requerido

The new project version ID.