AI Chatbot with API Access for WordPress
SleekAI exposes a full REST API for listing conversations, querying transcripts, and driving the bot from outside WordPress, plus a JS SDK so external sites, mobile apps, and internal tools can read or write conversation data programmatically.
♾️ Lifetime License available
Sometimes the chatbot needs to live outside the WordPress page
Most chatbot integrations stop at the WordPress front end. The bot loads as a widget on a page, reads WordPress data, and replies in the same browser. That covers 80 percent of cases, but the remaining 20 percent need something more. A mobile app wants to embed the same bot. An external SaaS dashboard wants to surface chatbot conversations to support agents. A data team wants to pull transcripts into Snowflake for analysis. A custom React frontend wants to drive the conversation through its own UI. None of these can be done with a widget alone.
SleekAI exposes a full REST API under /wp-json/sleek-ai/v1/ covering the same surface area as the admin UI. List conversations with filters by date, model, post type, or captured variables. Read a single conversation with transcript and metadata. Create a new conversation programmatically and drive it turn by turn. Trigger a handoff. Submit feedback. Fetch model and variable configuration. Authentication uses the standard WordPress application password flow plus optional API keys scoped per use case.
The deeper architectural choice is that the API is not a wrapper. It is the same data layer the admin UI uses. Conversations created via the API land in the same database, fire the same webhooks, and appear in the same Logs view. The widget itself is a thin client over this API, which means anything the widget can do, the API can do, and anything new exposed in the API automatically becomes available to external integrations. There is no parallel API to maintain, and no risk of admin features outpacing the API surface.
Workflow
How the REST API drives chatbot conversations
Authenticate
Create a conversation
Post messages, read replies
Query history and admin
Try it now
A typical API-driven conversation
Comparison
Generic chatbot vs SleekAI for API access
Generic chatbot
- No REST API, conversations trapped in the vendor dashboard
- Embed-only JS widget that cannot be driven from external code
- Cannot read or query historical conversations programmatically
- Locked-down vendor data model, no way to extract transcripts
- API access gated behind enterprise-tier pricing if available at all
SleekAI chatbot
-
Full REST API under
/wp-json/sleek-ai/v1/ - Conversation creation, turn POST, handoff trigger, feedback submit
- Filtered conversation listing with date, model, post type, variables
- JS SDK for external sites and embedding the widget anywhere
- Authentication via application password or scoped API keys
Features
What SleekAI gives you for Chatbot with API Access
REST API surface
Every operation the admin or widget performs is available over REST: list conversations, read a transcript, create a new conversation, post a turn, trigger a handoff, submit feedback, fetch configuration. The same data layer powers both, no parallel API to maintain.
Scoped API keys
Generate per-use-case API keys in the SleekAI Keys tab with rate limits, allowed endpoints, and optional IP allowlist. WordPress application passwords also work for personal access. Both can be revoked individually without affecting other keys.
JS SDK for any frontend
A standalone JS SDK lets external sites, mobile apps via WebView, or internal tools drive conversations with the same widget UI or a fully custom interface. The SDK handles authentication, session, streaming, and event subscriptions.
Use cases
Where API access unlocks new chatbot surfaces
Mobile apps
React Native and Flutter apps embed the SleekAI SDK and offer the same chatbot experience that the WordPress site offers, with shared conversation history per user.
Data warehouse pipelines
Data teams pull conversations into Snowflake, BigQuery, or Redshift via a nightly job hitting the API, joining chatbot data with product and CRM data for analysis.
Support agent dashboards
Internal support tools query the API to surface active conversations and let agents jump into a handoff from inside their existing helpdesk UI.
The bigger picture
Why API access matters for serious chatbot integration
The chatbot widget on a WordPress page covers the obvious use case, but it is a deliberately narrow surface. A serious chatbot deployment touches mobile apps, support dashboards, data warehouses, internal tools, and custom frontends that the widget alone cannot reach. Without a real API, the chatbot stays trapped in one browser session on one website, and every additional surface requires a vendor-built integration or a brittle scraping job.
SleekAI was designed to avoid that trap by exposing the full chatbot surface area through a REST API that mirrors the admin and widget. Every operation the widget performs has an API equivalent. Every entity the admin manages is queryable.
Authentication uses standard WordPress flows, plus scoped API keys for production integrations, plus CORS configuration for browser-based external calls. The architecture is honest about what a chatbot integration actually needs at scale. Mobile apps embed the JS SDK and offer the same conversation experience as the web.
Data teams pull historical transcripts into their warehouse on a schedule. Support agents see active handoffs from inside their existing helpdesk dashboard. Custom React frontends drive conversations through their own UI while still using SleekAI as the conversation runtime.
None of this requires building a parallel chatbot infrastructure. The same data layer that powers the widget powers every external surface, and every new feature added to SleekAI automatically becomes accessible via API. That is the kind of architectural choice that pays off years later, when a WordPress site grows into a larger product or platform and the chatbot needs to follow rather than fork.
The widget is the easy entry point. The API is the foundation under it.
Questions
Common questions about SleekAI for Chatbot with API Access
The main collection endpoints are /conversations (list, create), /conversations/{id} (read, update, delete), /conversations/{id}/messages (post turn, list turns), /conversations/{id}/handoff (trigger), /conversations/{id}/feedback (submit). Configuration endpoints cover /models, /variables, /bots, /webhooks. All return JSON and follow the WordPress REST conventions.
 Two options. WordPress application passwords work over HTTP Basic with username and the generated app password as the password field. Scoped API keys generated in the SleekAI Keys tab pass as an X-SleekAI-Api-Key header. API keys can be limited to specific endpoints, rate limits, and IP ranges, which is preferred for production integrations.
 Yes. POST to /conversations with the bot ID and optional initial variables to create a session, then POST to /conversations/{id}/messages with the visitor message to get the bot reply. Each response includes the bot turn, updated captured variables, and a session token to use on follow-up POSTs. The conversation is logged in WordPress the same way a widget conversation would be.
 Yes. Add ?stream=true to a /messages POST and the response uses Server-Sent Events to stream tokens as they arrive from the underlying model (OpenAI, Anthropic, Google, OpenRouter). The JS SDK exposes this as an EventSource, which makes it easy to render token-by-token in any frontend.
 Yes. GET /conversations supports filters by date range (since, until), bot ID (bot), model name (model), post type (post_type), origin URL (origin), captured variable key/value, and handoff status. The result is paginated with per_page up to 100, and supports ?expand=transcript to include full turn arrays inline.
 Yes. Default per-API-key rate limit is 60 requests per minute and 5,000 per day, but each key can override these in the Keys tab. The application password flow uses the WordPress default rate limit unless you configure a stricter one. Rate limit headers (X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset) are returned on every response.
 Yes. PATCH /conversations/{id}/variables accepts a JSON body of key-value pairs that get merged into the conversation's captured variables. This is useful for enrichment flows where an external service looks up a company by email and writes back the result into the conversation context for the bot to use on the next turn.
 SleekAI's API supports configurable CORS origins in the Keys tab. Per API key you can set allowed origins, allowed methods, and credentials handling. The default is to allow the WordPress site's own origin; external origins must be explicitly added. CORS preflight (OPTIONS) requests are handled automatically.
 Pricing
More than 1000+
happy customers
Explore our flexible licensing options tailored to your needs. Upgrade your license anytime to access more features, or opt for a lifetime license for ongoing value, including lifetime updates and lifetime support. Our hassle-free upgrade process ensures that our platform can grow with you, starting from whichever plan you choose.
Lifetime ♾️
Most popular
EUR
once
- Unlimited websites
- Lifetime updates
- Lifetime support
...or get the Bundle Deal
and save €250 🎁
The Bundle (unlimited sites)
Pay once, own it forever
Elevate your WordPress site with our exclusive plugin bundle that includes all of our premium plugins in one package. Enjoy lifetime updates and lifetime support. Save significantly compared to buying plugins individually.
What’s included
-
SleekAI
-
SleekByte
-
SleekMotion
-
SleekPixel
-
SleekRank
-
SleekView
€749
Continue to checkoutBrowse more
- Conversational Wishlist Building
- thank-you pages
- NPS Follow-up
- Content Discovery
- Insurance Quote Chatbot
- Search Results Pages
- downloads pages
- FAQ Pages
- partner program pages
- Course Recommendation Chatbot
- Survey Feedback Chatbot
- Loan Prequalification Chatbot
- Community pages
- Account Lookup
- Post-Purchase Chatbot