API Connections

Every system on the EventureAI platform is accessible through a structured API — authenticated, audited, and designed for machine-to-machine communication. Whether you are connecting your existing tools, building custom integrations, or letting AI agents operate your business autonomously, the API is the bridge.

The CLI API

Our command-line API provides full read access to your entire business state. Query your tenants, check worker health, review open prompts, inspect route coverage, browse media assets, audit LLM spend, and read array loops — all from a single authenticated endpoint. Every request returns structured JSON. Every request is logged. Every request traces back to your API key. Available endpoints include: boot status, tenant list, tenant detail, worker health with route coverage, open prompts with status filtering, recent deployments, declared routes, page arrays filterable by tenant and slug, media assets, LLM spend summaries, array loops, and read-only SQL queries against your tenant's data. The API is designed to be the foundation for autonomous operations — AI agents that monitor, maintain, and optimize your business without human intervention.

Authentication

API access is authenticated with bearer tokens using our waas_sk_ prefix key system. Keys are generated through your admin dashboard, stored as SHA-256 hashes in our database, and tracked with last-used timestamps for audit purposes. Each key is scoped to your tenant — you cannot accidentally access another business's data. Keys can be revoked instantly from your admin dashboard. If a key is compromised, revoke it and generate a new one in seconds. No downtime. No support tickets. No waiting. The authentication layer sits on top of the same Row-Level Security that protects all tenant data at the database level.

Webhook Integration

Our platform supports webhooks for real-time event notification. When a payment processes, an appointment books, a customer submits a form, or a technician completes a job — your systems can be notified immediately via HTTP POST. Webhook payloads include the full event context: what happened, which tenant, which customer, timestamps, and the blockchain hash that proves the event was recorded immutably. Configure webhooks from your admin dashboard. Point them at your existing systems, your custom scripts, or your AI agents. The events flow out in real time — no polling, no batch processing, no delay.

Third-Party Integrations

The API connects to the same integration stack that powers every tenant on the platform. Stripe for payments — real-time transaction data, invoice status, refund tracking. Twilio for SMS and voice — message delivery status, call transcripts, AI agent interactions. Bouncie for GPS fleet tracking — vehicle location, trip history, geofence events. DitzlMail for email — delivery confirmation, open tracking for tenant emails, internal routing. Every third-party integration flows through our API and into your unified ledger. No separate logins. No separate dashboards. One API, one data model, one source of truth.

Read-Only SQL Access

For advanced users and AI agents, we provide read-only SQL access to your tenant's data through the API. Submit SELECT queries and receive structured results. The database enforces row-level security — your queries physically cannot return data from another tenant. This is the same database that powers your live website, your admin dashboard, your accounting ledger, and your AI memory. Query it directly. Build dashboards. Feed it into your analytics tools. Let your AI agents explore your data without any abstraction layer in between. The data is yours. The access is direct. The security is mathematical.

Built for AI Agents

The API was designed from the ground up to be operated by AI agents, not just human developers. Structured JSON responses. Consistent error formats. Predictable pagination. Semantic endpoint naming. An AI agent can discover your API at.well-known/mcp.json, authenticate with a bearer token, query your business state, and take actions — all without a human in the loop. This is how we operate our own platform. The API isn't an afterthought bolted onto a web app — it's the primary interface. The website is just one of many consumers.

Ready to connect?

Request an API key and start building.