⚡ Developer API

Integrate AI into WordPress
with the Minimal Effort

Add chatbots, content generation, and AI automation to any WordPress site.
Control everything via Client-Side API or Public REST API calls.

💻 Client-Side API 🔌 Public REST API ✅ Included in Free Version
Explore API Documentation →

Two powerful APIs for every use case

Whether you’re building interactive frontends or connecting external systems, we’ve got you covered.

💻 Browser

Client-Side API

Control chatbot behavior, send messages, and modify replies directly from the browser using event listeners and global methods.

Real-time chatbot control
Event-driven architecture
Browser-side integration
No server configuration needed
🌐 REST

Public REST API

Make external POST requests to generate content, send chatbot messages, or integrate with headless applications via standard REST endpoints.

External app integration
Headless WordPress setups
Automation workflows
Standard HTTP requests
Start integrating in minutes
Developer-friendly APIs. Copy, paste, and build.
Client-Side API
REST API
PHP Helpers
Client-Side API

Control chatbot behavior directly from the browser. Listen to events, send messages, and modify responses in real-time.

  • Event-driven architecture
  • Real-time chatbot control
  • Modify responses and UI on the fly
  • No server configuration needed
// Modify chatbot reply document.addEventListener(‘aiwuModifyReply’, function(event) { let data = event.detail.original; data.answer += ‘ For more info visit aiwuplugin.com.’; event.detail.setResult(data); }); // Add a custom button to replies document.addEventListener(‘aiwuModifyReply’, function(event) { let data = event.detail.original; if (!data.btn) data.btn = []; data.btn.push({ class: “waic-message-button”, link: “#”, name: “My custom button” }); event.detail.setResult(data); }); // Send a message programmatically aiwuChatbot.askChatbot(“Hi!”);
Public REST API

Access your AI tools from outside WordPress. Use simple POST requests to interact with chatbots or generate content programmatically.

  • Secure REST endpoints
  • Supports both chatbot and simple text queries
  • Customizable via hooks
  • Admin-only by default
POST /wp-json/aiwu/v1/simple-text-query { “prompt”: “Give me five facts about France.”, “options”: { “tokens”: 1500 } } POST /wp-json/aiwu/v1/ask-chatbot { “message”: “Can you help me?”, “bot_id”: 14, “options”: { “user_id”: 1 } }
PHP Helper Functions

Use simple PHP functions inside your theme or plugin to interact with AI models or chatbots. No need to deal with HTTP.

  • Direct integration into templates
  • Supports prompt-based and chatbot-based queries
  • Optional $options array for overrides
aiwuSimpleTextQuery( $prompt, $options = false ); // Chatbot message aiwuAskChatbot( $botId, $message, $options = false );
Example Use Cases
A few practical ways developers use the AIWU API in real projects
💬
Custom Chatbot Interfaces
Use the Client-Side API to open, close, and send messages programmatically — or adjust replies on the fly.
🛍️
WooCommerce Product Automation
Generate product titles and descriptions via REST API from external dashboards or admin panels.
📨
Post-Submission Assistants
Trigger chatbot messages after a form is submitted using JavaScript or PHP hooks to improve user experience.
🔄
Headless CMS Integration
Connect external systems to your AI chatbot or content workflows using simple REST calls and custom logic.

Find the Perfect Fit for Your Budget

Choose from our range of flexible pricing options that cater to your specific needs.

Yearly Lifetime

Free Plan

$0

Introductory version for testing ideas

  • Single site
  • Limited functionality, no mass generation

One Site

$89.00

Unlock full capabilities for your project.

  • Single site
  • Lifetime Updates
  • Lifetime Pro Support
  • All PRO features, unlimited possibilities

Up to 5 Sites

$149.00

Designed for your growing ambitions.

  • Five sites
  • Lifetime Updates
  • Lifetime Pro Support
  • All PRO features, unlimited possibilities

Unlimited

$299.00

Maximum power for maximum growth.

  • Unlimited site
  • Lifetime Updates
  • Lifetime Pro Support
  • All PRO features, unlimited possibilities

Free vs Pro Version Comparison

Feature Free Pro
Supports OpenAI, DeepSeek & Gemini
Client-Side JavaScript API + Public REST API
Single-post generation
Bulk Editor for Post Fields
AI ChatBot
AI Magic Text Enhancer
Custom AI training (Fine-Tuning & Embeddings)
Full ChatBot appearance customization
AI Bulk Content Generator
Autoblogging (RSS-based)
WooCommerce Bulk Editor
Smart Internal Linking
Priority support
Scroll to Top