POST
/
v1
/
documents
/
google
curl --request POST \
  --url https://api.flashdocs.ai/v1/documents/google \
  --header 'Authorization: Bearer <token>'
{
  "message": "Document created successfully",
  "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.

Query Parameters

The URL link to the Google Slides document you wish to upload.

document_type
enum<string>
default:library

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

200
application/json
Document created successfully

The response is of type any.