Skip to main content
POST
/
api
/
v1
/
ppt
/
presentation
/
create
/
from-json
Create Presentation From Json Sync
curl --request POST \
  --url https://api.presenton.ai/api/v1/ppt/presentation/create/from-json \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "language": "English",
  "title": "<string>",
  "template": "general",
  "theme": "<string>",
  "slides": [],
  "export_as": "pptx",
  "trigger_webhook": false
}'
{
  "presentation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "path": "<string>",
  "edit_path": "<string>",
  "credits_consumed": 123
}

Headers

Authorization
string
required

Body

application/json
language
string
default:English
title
string | null
template
string
default:general
theme
string | null
slides
CreateSlideFromJsonRequest · object[]
export_as
enum<string>
default:pptx
Available options:
pptx,
pdf
trigger_webhook
boolean
default:false

Response

presentation_id
string<uuid>
required
path
string
required
edit_path
string
required
credits_consumed
number
required