Skip to main content
POST
Clean

Overview

Automatically fix spelling and grammar errors in your text. This action analyzes your content and returns a corrected version with all spelling and grammar mistakes fixed.

Use This Action To

  • Fix spelling mistakes in product descriptions
  • Correct grammar errors in marketing copy
  • Clean up user-generated content
  • Improve text quality before publishing

Parameters

array
required
Must be an array that includes "clean"
string
required
Text to fix (max 5,000 characters)
string
Ruleset name (optional)

Response

Example

cURL

Tips

The clean endpoint is perfect for preprocessing user-generated content before displaying it on your site.
The maximum text length is 5,000 characters. For longer texts, split them into chunks.

Body

application/json
action
enum<string>[]
required
Available options:
clean
text
string
required
Maximum string length: 5000
ruleset
string

Response

200 - application/json

Success

The response is of type object.