Skip to main content
POST
/
api
/
validate_chrome
Validate Chrome Extension
curl --request POST \
  --url https://api.example.com/api/validate_chrome/ \
  --header 'Content-Type: application/json' \
  --data '
{
  "text_snippet": "<string>"
}
'
{
  "job_id": "chrome123xyz",
  "status": "accepted",
  "message": "Validation request queued for processing",
  "timestamp": "2026-01-13T10:30:00Z"
}
Validate content from the ZeroDrift Chrome extension asynchronously. Uses the same validation rules as email validation (scenario_email_general).

Request Body

text_snippet
string
required
Text content to validate from the browser

Response

job_id
string
Unique identifier for the validation job
status
string
Job status: accepted
message
string
Status message
timestamp
string
ISO 8601 timestamp
{
  "job_id": "chrome123xyz",
  "status": "accepted",
  "message": "Validation request queued for processing",
  "timestamp": "2026-01-13T10:30:00Z"
}

Use Cases

  • Real-time validation of web content while browsing
  • Check compliance of text selected in browser
  • Validate draft content in web-based email clients
  • Pre-screen social media posts before publishing

Example

curl -X POST "https://zhshgjat2b.execute-api.us-east-1.amazonaws.com/dev/v1/api/validate_chrome/" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "text_snippet": "Our fund has consistently beaten the market with guaranteed returns of 20% annually. Invest now for risk-free growth!"
  }'