πŸŽ‰ Subscribe to our newsletter and get 20% OFF instantly!
API - AIWU – AI Plugin for WordPress

Developer API – Integrate AI into WordPress with Minimal Effort

πŸ”§ Developer API
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

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 usage
  • Basic AI features
  • Community support
  • Limited functionality, no mass generation
Download Free

One Site

$89.00

Unlock full capabilities for your project

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

Up to 5 Sites

$149.00

Designed for your growing ambitions

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

Unlimited

$299.00

Maximum power for maximum growth

  • Unlimited sites license
  • Lifetime Updates
  • Lifetime Pro Support
  • All PRO features, unlimited possibilities
Get PRO

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 βœ“ βœ“
Claude MCP Integration (Direct WordPress Control) βœ“ βœ“
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