Skip to main content
POST
/
v1
/
documents
/
pptx
Create PowerPoint FlashDocs Template/Library
curl --request POST \
  --url https://api.flashdocs.ai/v1/documents/pptx \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file' \
  --form document_type=template \
  --form 'name=Presentation Name' \
  --form 'description=Add presentation description here...' \
  --form reset_text_boxes=false
{
  "success": true,
  "document_id": "abc-defghi-1234-5"
}

Documentation Index

Fetch the complete documentation index at: https://docs.flashdocs.com/llms.txt

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

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.

reset_text_boxes
boolean
default:false
Determines how text boxes are handled during upload.
- **true**: Converts all text boxes into placeholders.
- **false**: Only identifies and captures text enclosed in brackets (`[`, `]`) as placeholders.

Response

Document uploaded successfully