textstring
RequiredText to be analyzed
Analyze text with Humanize API using an API key
curl -X POST "https://api-service.humanizeai.com/api/v1/humanize/analyze-with-api-key" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-d '{
"text": "Education is a fundamental human right and a powerful catalyst for personal and societal progress. It encompasses the process of acquiring knowledge, skills, values, and understanding through various means, including formal schooling, informal learning, and life experiences.",
"ultra_mode": true
}'
import requests
import json
url = "https://api-service.humanizeai.com/api/v1/humanize/analyze-with-api-key"
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_API_TOKEN"
}
data = {
"text": "Education is a fundamental human right and a powerful catalyst for personal and societal progress. It encompasses the process of acquiring knowledge, skills, values, and understanding through various means, including formal schooling, informal learning, and life experiences.",
"ultra_mode": true
}
response = requests.post(url, headers=headers, json=data)
print(response.json())
const response = await fetch("https://api-service.humanizeai.com/api/v1/humanize/analyze-with-api-key", {
method: "POST",
headers: {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_API_TOKEN"
},
body: JSON.stringify({
"text": "Education is a fundamental human right and a powerful catalyst for personal and societal progress. It encompasses the process of acquiring knowledge, skills, values, and understanding through various means, including formal schooling, informal learning, and life experiences.",
"ultra_mode": true
})
});
const data = await response.json();
console.log(data);
package main
import (
"fmt"
"net/http"
"bytes"
"encoding/json"
)
func main() {
data := []byte(`{
"text": "Education is a fundamental human right and a powerful catalyst for personal and societal progress. It encompasses the process of acquiring knowledge, skills, values, and understanding through various means, including formal schooling, informal learning, and life experiences.",
"ultra_mode": true
}`)
req, err := http.NewRequest("POST", "https://api-service.humanizeai.com/api/v1/humanize/analyze-with-api-key", bytes.NewBuffer(data))
if err != nil {
panic(err)
}
req.Header.Set("Content-Type", "application/json")
req.Header.Set("Authorization", "Bearer YOUR_API_TOKEN")
client := &http.Client{}
resp, err := client.Do(req)
if err != nil {
panic(err)
}
defer resp.Body.Close()
fmt.Println("Response Status:", resp.Status)
}
require 'net/http'
require 'json'
uri = URI('https://api-service.humanizeai.com/api/v1/humanize/analyze-with-api-key')
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
request = Net::HTTP::Post.new(uri)
request['Content-Type'] = 'application/json'
request['Authorization'] = 'Bearer YOUR_API_TOKEN'
request.body = '{
"text": "Education is a fundamental human right and a powerful catalyst for personal and societal progress. It encompasses the process of acquiring knowledge, skills, values, and understanding through various means, including formal schooling, informal learning, and life experiences.",
"ultra_mode": true
}'
response = http.request(request)
puts response.body
{
"analyzed_text": "example_string"
}
{
"error": "Bad Request",
"message": "The request contains invalid parameters or malformed data",
"code": 400,
"details": [
{
"field": "email",
"message": "Invalid email format"
}
]
}
{
"error": "Unauthorized",
"message": "Authentication required. Please provide a valid API token",
"code": 401
}
/humanize/analyze-with-api-key
Bearer token (JWT) - just enter the token, "Bearer" prefix will be added automatically
The media type of the request body
Text to be analyzed
Flag to enable ultra mode
Response will appear here after sending the request
Bearer token (JWT). Authentication token required.
Text to be analyzed
Flag to enable ultra mode
The analyzed text response