DOCUMENTATION
WriteBetter API
Use your API key to send text to the writing service and receive corrections.
Authentication
Send your key in the X-API-Key header.
X-API-Key: wb_live_your_generated_key
POST /v1/check
Runs the combined grammar, spelling, capitalization and tone checks.
Request
{
"text": "I eat yesterday."
}
Python example
import requests
response = requests.post(
"http://127.0.0.1:8000/v1/check",
headers={
"X-API-Key": "wb_live_your_key"
},
json={
"text": "I eat yesterday."
}
)
print(response.json())
POST /v1/rewrite-tone
Rewrites text into one of the supported tone targets.
{
"text": "Your report is completely wrong.",
"tone": "professional"
}
Common errors
401Missing or invalid API key403API key disabled429Request limit reached503API database temporarily busy