Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent
with a free APIs.io key —
sign in with
GitHub,
Google or
LinkedIn.
No form to fill in; signing in shares your email address with us (Privacy).
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Walter Writes Humanizer API
version: 1.0.0
description: Humanize AI-generated text, detect AI-written content in text, images, and voice recordings, scan text for plagiarism, and correct grammar. Authenticate every request with an API key in the X-API-Key header. Requests consume credits.
servers:
- url: https://developer-portal.walterwrites.ai
security:
- ApiKeyAuth: []
tags:
- name: Humanizer
paths:
/api/humanizer/:
post:
operationId: humanizeText
summary: Humanize text
description: Rewrites AI-generated text as natural, human-like content. Requires the humanizer scope. Costs 1 credit per word.
tags:
- Humanizer
externalDocs:
url: https://docs.walterwrites.ai/api-reference/humanizer
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/HumanizerRequest'
responses:
'200':
description: Synchronous result.
content:
application/json:
schema:
$ref: '#/components/schemas/HumanizerResponse'
'202':
description: Accepted for asynchronous processing. Use task_id with GET /api/jobs/{task_id}/ or wait for the callback.
content:
application/json:
schema:
$ref: '#/components/schemas/HumanizerResponse'
'400':
description: 'Code invalid_payload: malformed request. Code service_error: the text is outside the 50 to 2,000 word limits, or it could not be processed (credits are refunded).'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'401':
description: Missing or invalid API key.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'403':
description: 'The API key lacks the required scope, or there are not enough credits (codes: insufficient_credits, credits_exhausted, trial_expired).'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: 'Rate limit exceeded, or too many pending async jobs (code: too_many_pending_jobs).'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
components:
schemas:
Error:
type: object
required:
- error
properties:
error:
type: string
description: Human-readable message.
code:
type: string
description: Machine-readable code, when present (for example invalid_payload, insufficient_credits).
details:
type: object
additionalProperties: true
description: Extra context, when present.
User:
type: object
required:
- id
properties:
id:
type: integer
description: Your user ID.
HumanizerRequest:
type: object
required:
- content
properties:
content:
type: string
description: Text to humanize. Must contain 50 to 2,000 words.
callback_url:
type: string
format: uri
description: Publicly routable URL that receives the result as a JSON POST when processing completes. Switches the request to asynchronous mode (202 Accepted).
poll:
type: boolean
default: false
description: Set to true to process asynchronously and fetch the result from GET /api/jobs/{task_id}/. Can be combined with callback_url.
webhook_secret:
type: string
description: Sent back in the X-Webhook-Secret header of the callback POST so you can verify its origin.
HumanizerResponse:
type: object
properties:
status:
type: string
enum:
- success
- pending
description: '"success" (sync) or "pending" (async).'
task_id:
type:
- string
- 'null'
description: Job ID for async requests; null for sync.
result:
type:
- string
- 'null'
description: Humanized text (sync) or null (async).
service_name:
type:
- string
- 'null'
description: Name of the service that handled the request. For reference only.
execution_time:
type:
- number
- 'null'
description: Processing time in seconds.
word_count:
type: integer
description: Word count of the input text (credits charged).
credits_remaining:
type: integer
user:
$ref: '#/components/schemas/User'
securitySchemes:
ApiKeyAuth:
type: apiKey
in: header
name: X-API-Key
description: API key created in the Developer Portal (https://platform.walterwrites.ai/api-keys). Send it in the X-API-Key header on every request.
externalDocs:
description: Documentation
url: https://docs.walterwrites.ai