For developers
Build on the same API the admin uses.
A REST API for every collection, an MCP endpoint for AI agents, signed webhooks for 45 events, and an OpenAPI description to generate clients from. Authenticate with an API key from your workspace.
API keys live in the admin, under Settings → API Keys.
Four ways in
The same records and permissions behind each one.
REST API
Every collection, five endpoints
Each collection gets list, read, create, update and delete endpoints, with filtering, sorting, pagination, sparse fieldsets and related records — generated from its schema.
GET /api/v1/{collection}POST /api/v1/{collection}GET /api/v1/{collection}/{id}PATCH /api/v1/{collection}/{id}DELETE /api/v1/{collection}/{id}MCP for AI agents
JSON-RPC 2.0 over HTTP
Point an MCP client at your workspace. Tools are scoped to the modules you have turned on and to what the API key's owner may do.
POST /api/mcp/protocolinitialize · tools/list · tools/callresources/list · resources/read · prompts/listWebhooks
45 event types, signed
Register an HTTPS endpoint for the events you need. Each delivery is signed with HMAC-SHA256, retried on failure, and can be tested, paused and resumed.
POST /api/mcp/webhooksGET /api/mcp/webhooksPATCH /api/mcp/webhooks/{id}DELETE /api/mcp/webhooks/{id}POST /api/mcp/webhooks/{id}/testOpenAPI
Machine-readable description
The API describes itself. Generate a client in your language, or import it into Postman or an API gateway.
GET /api/docs/openapi.jsonGET /api/docs/openapi.yamlWhat a list request can ask for
Query parameters every collection endpoint accepts.
Filtering
where[field][operator]=value — equals, not_equals, contains, starts_with, ends_with, in, gt, gte, lt, lte, between
Sorting
?sort=-createdAt,name — a leading minus sorts descending
Pagination
?limit with ?offset or ?page, or ?cursor for large lists
Sparse fieldsets
?fields=id,name,price to choose fields, or ?fields=-notes to leave some out
Related records
?depth=1 returns related records in place of their ids
Search
?search=keyword across a collection's searchable fields
Point in time
?asOf=2026-10-01T00:00:00Z reads a record as it was then
Query plan
?explain=true shows how a list request was run
Examples
Plain HTTP — any language with an HTTP client works. Send your key as x-aeion-api-key or Authorization: Bearer.
List records with filtersShell
curl -G "https://your-domain/api/v1/products" \
-H "x-aeion-api-key: $AEION_API_KEY" \
--data-urlencode "where[status][equals]=published" \
--data-urlencode "where[price][gte]=1000" \
--data-urlencode "sort=-createdAt" \
--data-urlencode "limit=20"
# → { "data": [ ... ], "meta": { "total": 42, "limit": 20, ... } }Create a recordTypeScript
const res = await fetch("https://your-domain/api/v1/contacts", {
method: "POST",
headers: {
"content-type": "application/json",
"x-aeion-api-key": process.env.AEION_API_KEY!,
},
body: JSON.stringify({ name: "Ada Lovelace", email: "ada@example.com" }),
});
const { data } = await res.json();
console.log(data.id);Subscribe a webhookShell
curl "https://your-domain/api/mcp/webhooks" \
-H "x-aeion-api-key: $AEION_API_KEY" \
-H "content-type: application/json" \
-d '{
"name": "Orders to fulfilment",
"url": "https://example.com/hooks/aeion",
"events": ["commerce.order.paid", "commerce.order.cancelled"]
}'MCP tool call (AI agent)JSON
POST /api/mcp/protocol
x-aeion-api-key: aek_live_…
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "content",
"arguments": { "action": "list", "resource": "pages", "limit": 5 }
}
}Webhook events
All 45 events a webhook can subscribe to, or subscribe to * for all of them.
content.createdcontent.updatedcontent.deletedcontent.publishedcontent.unpublishedblocks.insertedblocks.updatedblocks.removedblocks.movedseo.updatednavigation.creatednavigation.updatednavigation.deletedsettings.updatedtheme.updatedtheme.preset_appliedusers.createdusers.updatedusers.deletedmodules.enabledmodules.disabledmodules.configuredassets.uploadedassets.deletedbatch.completedcommerce.order.createdcommerce.order.paidcommerce.order.cancelledcommerce.subscription.createdcommerce.subscription.renewedbilling.subscription.createdbilling.subscription.activatedbilling.subscription.renewedbilling.subscription.renewal_invoicedbilling.subscription.past_duebilling.subscription.pausedbilling.subscription.resumedbilling.subscription.canceledbilling.subscription.expiredbilling.invoice.paidbilling.payment.completedbilling.payment.failedbilling.payment.refundedbilling.payout.paidcoop.message.queuedRate limits
Defaults per client. A request over its limit gets a 429 with a Retry-After header. MCP calls are limited to 1,000 an hour per API key.
Reads900 requests / minute
Writes300 requests / minute
Batch10 requests / minute
Sign-in50 attempts / 15 minutes
Security controls
What the platform enforces on every request.
Every query scoped to its workspace
AES-256-GCM encryption for sensitive fields
API keys limited to their owner's role
Per-key IP allowlists
Workspace IP access policy
HMAC-SHA256 signed webhooks
Rate limits on collection, sign-in and MCP endpoints
Audit log of MCP tool calls