AiMonk
Developer docs

Build on the AiMonk API

Versioned REST endpoints, tenant-scoped API keys, and comprehensive Swagger documentation - everything you need to go headless.

REST + JSON

Clean REST endpoints with consistent JSON responses. Versioned at /v1 for stability.

Tenant-scoped

Every request is scoped to the authenticated tenant. Cross-tenant access is impossible.

Rate limited

Short, medium, and long rate limit buckets. Enterprise plans get higher throughput.

Swagger docs

Full OpenAPI/Swagger documentation available at /api/docs on your API instance.

Quick start

Four steps to your first API call.

01

Get your API key

Admin Console → Settings → API Keys → Generate
02

Authenticate requests

Authorization: Bearer <your-api-key>
03

Fetch products

GET /storefront/v1/products?limit=20
04

Create an order

POST /storefront/v1/orders { lineItems, address, payment }

API reference

Key endpoint groups from the storefront and admin APIs.

Products & Catalog

Browse products, search with autocomplete, filter by category, and fetch product details with variants.

GET/v1/products
GET/v1/products/:slug
GET/v1/products/search
GET/v1/categories

Cart & Checkout

Stateless cart quotes, stock verification, shipping calculation, and multi-step checkout.

POST/v1/cart/quote
POST/v1/checkout/validate
POST/v1/orders
GET/v1/shipping/quote

Authentication

JWT-based customer auth, API key auth for headless clients, and password management.

POST/v1/auth/register
POST/v1/auth/login
POST/v1/auth/forgot-password
PATCH/v1/auth/change-password

Webhooks & Events

Subscribe to order, payment, and storefront events with signature-verified webhooks.

POST/admin/webhooks
GET/admin/webhooks
DELETE/admin/webhooks/:id

Ready to route apex traffic here and shops to subdomains?

Wire www to this export, point wildcard DNS at your storefront app, and keep admin on its own origin.