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

The bearer token to authenticate with

Body

application/json
language
string
default:English

The language of the presentation

title
string | null

The title of the presentation

template
string
default:general

The template to use for the presentation. Available templates: general, modern, standard, swift and your custom templates

theme
string | null

The theme to use for the presentation. Available themes: edge-yellow, light-rose, mint-blue, professional-blue, professional-dark and your custom themes

slides
CreateSlideFromJsonRequest · object[]

The slides to use for the presentation

export_as
enum<string>
default:pptx

The format to export the presentation as

Available options:
pptx,
pdf
trigger_webhook
boolean
default:false

Whether to trigger subscribed webhooks

Response

Successful Response

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