Skip to main content
POST
Create Article
This endpoint creates a new article based on your domain-specific settings. The article content is generated using parameters defined in your domain configuration, such as language, tone, length, and other customizations.

Request

string
required
The primary content input based on your selected mode:
  • For “keyword” mode: The keyword to base the article on
  • For “title” mode: The article title
string
required
Specifies the generation mode. Possible values:
  • keyword: Generate an article based on a keyword
  • title: Generate an article based on a title
string
required
Your API key for authentication
string
required
The domain name (e.g., “example.com”) to use for article settings. Must be a domain associated with your account.

Response

string
A status message indicating success or failure
string
The ID of the created article (returned only on success)

How It Works

  1. The API validates your API key and checks if you have sufficient article credits
  2. It verifies that the specified domain exists and is associated with your account
  3. It retrieves domain-specific settings including:
    • Language
    • Tone of voice
    • Custom formatting
    • Target length
    • Sitemap
    • Undetectable settings
    • Custom prompts
  4. It generates an article based on these settings and your input

Domain Settings

All article parameters are taken from your domain settings, including:
  • Language: The article’s language (defaults to English if not specified)
  • Tone: Writing style tone from domain settings
  • Format: Custom formatting style defined in domain settings
  • Target Length: Word count target for the article
  • Undetectable: Whether to optimize for AI detection avoidance
  • Prompts: Custom generation prompts defined in domain settings
  • Sitemap: Domain sitemap for content optimization

Examples

Request Example

Success Response

Error Response

Error Messages