POST
/
v3
/
slides
/
{slide_id}
/
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."
    }
  ]
}

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
object[]
required

Response

200
application/json
Successful Response
all_valid
boolean
required

Whether all placeholders are valid

Example:

true

validation_results
object[]
required

List of validation results for each placeholder