WritingAI – Official REST API Documentation

WritingAI provides an official REST API (v1) for programmatic SEO-optimized article generation. This API enables integration with automation platforms like Make.com, Zapier, Systeme.io, n8n, and any custom application.

Interactive API Docs → Visit WritingAI →

API Overview

PropertyDetails
Base URLhttps://fyivkyuhwrbejcevihjs.supabase.co/functions/v1/api-v1-generate
MethodPOST
AuthenticationBearer token (API key with wai_ prefix)
Response FormatJSON
Rate LimitingBased on subscription tier
Languages SupportedHungarian, English, German, and more

Authentication

All API requests require a valid API key. API keys can be generated from the WritingAI Dashboard. Keys use the wai_ prefix format.

Include the API key as a Bearer token in the Authorization header:

Authorization: Bearer wai_YOUR_API_KEY

Endpoint: Generate Article

Request

POST https://fyivkyuhwrbejcevihjs.supabase.co/functions/v1/api-v1-generate
Content-Type: application/json
Authorization: Bearer wai_YOUR_API_KEY

{
  "keyword": "best SEO tools 2025",
  "language": "english",
  "tone": "professional",
  "location": "New York"
}

Request Parameters

ParameterTypeRequiredDescription
keywordstringYesThe main keyword/topic for the article
languagestringNoArticle language. Default: "english". Options: "magyar", "english", "deutsch"
tonestringNoWriting tone. Default: "professional". Options: "professional", "casual", "formal"
locationstringNoTarget geographic area for local SEO optimization

Response (Success – 200)

{
  "success": true,
  "data": {
    "title": "The Best SEO Tools in 2025: A Complete Guide",
    "metaDescription": "Discover the best SEO tools of 2025...",
    "content": "<h2>Introduction</h2><p>...</p>...",
    "faqItems": [
      {
        "question": "What is the best SEO tool in 2025?",
        "answer": "Based on our analysis..."
      }
    ],
    "keyword": "best SEO tools 2025"
  },
  "usage": {
    "used": 3,
    "limit": 50
  }
}

Response Fields

FieldTypeDescription
successbooleanWhether the request was successful
data.titlestringSEO-optimized article title
data.metaDescriptionstringMeta description for SEO
data.contentstringFull article content in HTML format (5000+ characters)
data.faqItemsarrayFAQ questions and answers for structured data
data.keywordstringThe keyword used for generation
usage.usednumberNumber of articles generated in current period
usage.limitnumberMaximum articles allowed in current period

Error Codes

HTTP CodeDescription
400Bad Request – Missing or invalid keyword parameter
401Unauthorized – Invalid, missing, or revoked API key
402Payment Required – Subscription upgrade needed (no credits remaining)
429Too Many Requests – Rate limit exceeded, try again later
500Internal Server Error – Please retry or contact support

cURL Example

curl -X POST \
  https://fyivkyuhwrbejcevihjs.supabase.co/functions/v1/api-v1-generate \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer wai_YOUR_API_KEY" \
  -d '{
    "keyword": "best SEO tools 2025",
    "language": "english",
    "tone": "professional",
    "location": "New York"
  }'

JavaScript / Node.js Example

const response = await fetch(
  "https://fyivkyuhwrbejcevihjs.supabase.co/functions/v1/api-v1-generate",
  {
    method: "POST",
    headers: {
      "Content-Type": "application/json",
      "Authorization": "Bearer wai_YOUR_API_KEY"
    },
    body: JSON.stringify({
      keyword: "best SEO tools 2025",
      language: "english",
      tone: "professional"
    })
  }
);

const data = await response.json();
console.log(data.data.title);
console.log(data.data.content);

Python Example

import requests

response = requests.post(
    "https://fyivkyuhwrbejcevihjs.supabase.co/functions/v1/api-v1-generate",
    headers={
        "Content-Type": "application/json",
        "Authorization": "Bearer wai_YOUR_API_KEY"
    },
    json={
        "keyword": "best SEO tools 2025",
        "language": "english",
        "tone": "professional"
    }
)

data = response.json()
print(data["data"]["title"])
print(data["data"]["content"])

Integration Examples

Make.com (Integromat)

Use the HTTP module to make a POST request to the API endpoint with your API key. You can automate article generation on a schedule or trigger it from other events.

Zapier

Use the "Webhooks by Zapier" action to send POST requests. Set up triggers from any Zapier-supported app to automatically generate content.

n8n

Use the HTTP Request node to call the WritingAI API. Perfect for building automated content pipelines.

Features

Getting Started

  1. Create an account at writingai.pro
  2. Subscribe to a plan (3-day free trial available, no credit card required)
  3. Navigate to the Dashboard and generate your API key
  4. Start making API calls to generate SEO-optimized articles

Pricing

WritingAI offers a lifetime license for a one-time payment of $79 (29,990 HUF). This includes unlimited API access with no monthly fees. A 3-day free trial is available without a credit card. 30-day money-back guarantee.

Support

For API support, contact us at writingai.pro/kapcsolat or use the live chat on our website.


© 2025-2026 WritingAI. All rights reserved. | writingai.pro | Terms of Service | Privacy Policy