Skip to main content
POST
/
v3
/
slides
/
{slide_id}
/
validate
/
text-placeholder-manual-insertion
Validate Text Placeholder Manual Insertion
curl --request POST \
  --url https://api.flashdocs.ai/v3/slides/{slide_id}/validate/text-placeholder-manual-insertion \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "text_placeholder_manual_insertions": [
    {
      "placeholder": "[title]",
      "value": "Introduce the topic of renewable energy and its importance."
    }
  ]
}
'
{
  "all_valid": true,
  "validation_results": [
    {
      "placeholder": "[title]",
      "valid": true,
      "message": "The placeholder is too long. Currently 4 bullets, but needs to be less than or equal to 2 lines."
    }
  ]
}

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.

Path Parameters

slide_id
string
required

Body

application/json
text_placeholder_manual_insertions
TextPlaceholderValue · object[]
required

Response

Successful Response

all_valid
boolean
required

Whether all placeholders are valid

Example:

true

validation_results
TextPlaceholderValueValidation · object[]
required

List of validation results for each placeholder