cURL
curl --request POST \
--url https://enterprise-api.writer.com/content/organization/{organizationId}/team/{teamId}/correct \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"content": "<string>",
"settings": {
"passiveVoice": true,
"wordiness": true,
"unclearReference": true,
"genderInclusivePronouns": true,
"genderInclusiveNouns": true,
"ageAndFamilyStatus": true,
"disability": true,
"genderIdentitySensitivity": true,
"raceEthnicityNationalitySensitivity": true,
"sexualOrientationSensitivity": true,
"substanceUseSensitivity": true,
"confidence": true,
"healthyCommunication": true,
"grammar": true,
"spelling": true,
"contentSafeguards": true
}
}
'import requests
url = "https://enterprise-api.writer.com/content/organization/{organizationId}/team/{teamId}/correct"
payload = {
"content": "<string>",
"settings": {
"passiveVoice": True,
"wordiness": True,
"unclearReference": True,
"genderInclusivePronouns": True,
"genderInclusiveNouns": True,
"ageAndFamilyStatus": True,
"disability": True,
"genderIdentitySensitivity": True,
"raceEthnicityNationalitySensitivity": True,
"sexualOrientationSensitivity": True,
"substanceUseSensitivity": True,
"confidence": True,
"healthyCommunication": True,
"grammar": True,
"spelling": True,
"contentSafeguards": True
}
}
headers = {
"Authorization": "<authorization>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<authorization>', 'Content-Type': 'application/json'},
body: JSON.stringify({
content: '<string>',
settings: {
passiveVoice: true,
wordiness: true,
unclearReference: true,
genderInclusivePronouns: true,
genderInclusiveNouns: true,
ageAndFamilyStatus: true,
disability: true,
genderIdentitySensitivity: true,
raceEthnicityNationalitySensitivity: true,
sexualOrientationSensitivity: true,
substanceUseSensitivity: true,
confidence: true,
healthyCommunication: true,
grammar: true,
spelling: true,
contentSafeguards: true
}
})
};
fetch('https://enterprise-api.writer.com/content/organization/{organizationId}/team/{teamId}/correct', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"correct": "<string>"
}{
"tpe": "<string>",
"extras": "<unknown>",
"errors": [
{
"description": "<string>",
"key": "<string>",
"extras": "<unknown>"
}
]
}{
"tpe": "<string>",
"extras": "<unknown>",
"errors": [
{
"description": "<string>",
"key": "<string>",
"extras": "<unknown>"
}
]
}{
"tpe": "<string>",
"extras": "<unknown>",
"errors": [
{
"description": "<string>",
"key": "<string>",
"extras": "<unknown>"
}
]
}{
"tpe": "<string>",
"extras": "<unknown>",
"errors": [
{
"description": "<string>",
"key": "<string>",
"extras": "<unknown>"
}
]
}{
"tpe": "<string>",
"extras": "<unknown>",
"errors": [
{
"description": "<string>",
"key": "<string>",
"extras": "<unknown>"
}
]
}Content
Post contentorganization team correct
POST
/
content
/
organization
/
{organizationId}
/
team
/
{teamId}
/
correct
cURL
curl --request POST \
--url https://enterprise-api.writer.com/content/organization/{organizationId}/team/{teamId}/correct \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"content": "<string>",
"settings": {
"passiveVoice": true,
"wordiness": true,
"unclearReference": true,
"genderInclusivePronouns": true,
"genderInclusiveNouns": true,
"ageAndFamilyStatus": true,
"disability": true,
"genderIdentitySensitivity": true,
"raceEthnicityNationalitySensitivity": true,
"sexualOrientationSensitivity": true,
"substanceUseSensitivity": true,
"confidence": true,
"healthyCommunication": true,
"grammar": true,
"spelling": true,
"contentSafeguards": true
}
}
'import requests
url = "https://enterprise-api.writer.com/content/organization/{organizationId}/team/{teamId}/correct"
payload = {
"content": "<string>",
"settings": {
"passiveVoice": True,
"wordiness": True,
"unclearReference": True,
"genderInclusivePronouns": True,
"genderInclusiveNouns": True,
"ageAndFamilyStatus": True,
"disability": True,
"genderIdentitySensitivity": True,
"raceEthnicityNationalitySensitivity": True,
"sexualOrientationSensitivity": True,
"substanceUseSensitivity": True,
"confidence": True,
"healthyCommunication": True,
"grammar": True,
"spelling": True,
"contentSafeguards": True
}
}
headers = {
"Authorization": "<authorization>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<authorization>', 'Content-Type': 'application/json'},
body: JSON.stringify({
content: '<string>',
settings: {
passiveVoice: true,
wordiness: true,
unclearReference: true,
genderInclusivePronouns: true,
genderInclusiveNouns: true,
ageAndFamilyStatus: true,
disability: true,
genderIdentitySensitivity: true,
raceEthnicityNationalitySensitivity: true,
sexualOrientationSensitivity: true,
substanceUseSensitivity: true,
confidence: true,
healthyCommunication: true,
grammar: true,
spelling: true,
contentSafeguards: true
}
})
};
fetch('https://enterprise-api.writer.com/content/organization/{organizationId}/team/{teamId}/correct', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"correct": "<string>"
}{
"tpe": "<string>",
"extras": "<unknown>",
"errors": [
{
"description": "<string>",
"key": "<string>",
"extras": "<unknown>"
}
]
}{
"tpe": "<string>",
"extras": "<unknown>",
"errors": [
{
"description": "<string>",
"key": "<string>",
"extras": "<unknown>"
}
]
}{
"tpe": "<string>",
"extras": "<unknown>",
"errors": [
{
"description": "<string>",
"key": "<string>",
"extras": "<unknown>"
}
]
}{
"tpe": "<string>",
"extras": "<unknown>",
"errors": [
{
"description": "<string>",
"key": "<string>",
"extras": "<unknown>"
}
]
}{
"tpe": "<string>",
"extras": "<unknown>",
"errors": [
{
"description": "<string>",
"key": "<string>",
"extras": "<unknown>"
}
]
}We’re deprecating these API endpoints, so the AI Studio API key setup won’t work. [Contact support] (https://support.writer.com/) if you need them.
Was this page helpful?
⌘I