POST
/
v1
/
documents
/
ppt
curl --request POST \
  --url https://api.flashdocs.ai/v1/documents/ppt \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form document_type=template \
  --form 'name=Presentation Name' \
  --form 'description=Add presentation description here...'
{
  "success": true,
  "document_id": "abc-defghi-1234-5"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

multipart/form-data
file
file
required

The PowerPoint (.ppt or .pptx) file to upload.

document_type
enum<string>
default:template

Specify the type of document to create. Possible values: "template", "library".

Available options:
template,
library
name
string
default:Presentation Name

The name to assign to the uploaded presentation.

description
string
default:Add presentation description here...

A brief description of the presentation.

Response

200
application/json
Document uploaded successfully

The response is of type any.