Skip to main content
POST
/
upload
/
validate-embed-url
Validate an embed URL
curl --request POST \
  --url https://app.myhero.so/upload/validate-embed-url \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "url": "<string>"
}
'
{
  "url": "<string>",
  "valid": true,
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

HERO personal access token

Body

application/json
url
string
required
Minimum string length: 1

Response

200 response

url
string
required
valid
enum<boolean>
required
Available options:
true
message
string
required