Skip to main content
POST
/
api
/
v1
/
ppt
/
presentation
/
create
/
from-json
/
async
Create Presentation From Json Async
curl --request POST \
  --url https://api.presenton.ai/api/v1/ppt/presentation/create/from-json/async \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "language": "English",
  "title": "<string>",
  "template": "general",
  "theme": "<string>",
  "slides": [],
  "export_as": "pptx",
  "trigger_webhook": false
}'
{
  "id": "<string>",
  "status": "<string>",
  "message": "<string>",
  "error": {},
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "data": {}
}

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

status
string
required
id
string
message
string | null
error
object | null
created_at
string<date-time>
updated_at
string<date-time>
data
object | null
I