Auth API · events
Replay the organization's auth facts at-or-after since
GET /events
Replay the organization's auth facts at-or-after since (a journal sequence number), oldest first: the organization created, members and invitations, roles, agents connected, apps installed and removed, the partner program's links.
Access
Requires a signed-in session: Any person or service holding a tenant JWT reads that organization's own journal, and no other
How scopes come from roles: Scopes and roles. Getting a token: Authentication and app tokens.
AI agent tool
No agent tool. The journal replay a consumer pages through to build its projection; agents read the projections the list and get tools serve, and the audit trail (audit_trail) for history.
Connecting an agent: AI agents.
Example
curl -X GET 'https://auth.getmanifold.io/events?since=17' \
-H "Authorization: Bearer $MANIFOLD_TOKEN"const response = await fetch("https://auth.getmanifold.io/events?since=17", {
method: "GET",
headers: { Authorization: `Bearer ${process.env.MANIFOLD_TOKEN}` },
});
if (!response.ok) throw new Error(`${response.status}: ${await response.text()}`);
const answer = await response.json();[
{
"_tag": "auth.app-installed",
"eventId": "evt_01a1618d-1c6e-7499-b5fa-49137bea8262",
"txId": "tx_01a161a8-93bf-7037-acb8-c1dc75fb5a72",
"tenantId": "org_01a156d2-8680-7738-ab2e-ff985e454887",
"sequence": 17,
"occurredAt": "2026-10-21T21:04:10.000Z",
"source": "auth-service",
"version": 1,
"actor": {
"_tag": "user",
"id": "usr_01a15709-7582-7646-b491-261a138f0650"
},
"correlationId": "req_01a161c4-0b10-777e-9078-3f678235f4a8",
"payload": {
"organizationId": "org_01a156d2-8680-7738-ab2e-ff985e454887",
"installationId": "ins_01a16043-84a2-7c20-8701-12d6f6a127c6",
"appId": "app_7c2e91d4-5a3b-4f60-8d17-3e9b0a6c4f21",
"scopes": [
"orders:write",
"products:read",
"catalogs:read",
"stock:read",
"locations:write",
"integrations:write"
],
"consentVia": "consent-card"
}
},
{
"_tag": "auth.org-went-live",
"eventId": "evt_01a161df-8261-7db5-906a-0d1bd65d56ea",
"txId": "tx_01a161fa-f9b2-7085-812b-e1aa46077bb8",
"tenantId": "org_01a156d2-8680-7738-ab2e-ff985e454887",
"sequence": 18,
"occurredAt": "2026-10-22T00:00:00.000Z",
"source": "auth-service",
"version": 1,
"actor": {
"_tag": "user",
"id": "usr_01a15709-7582-7646-b491-261a138f0650"
},
"correlationId": "req_01a16216-7103-7926-9f2b-56008fdc0a95",
"payload": {
"organizationId": "org_01a156d2-8680-7738-ab2e-ff985e454887"
}
}
]The panel writes this call in other languages. It does not send it: Manifold's APIs do not take calls from a web
page on another site, so run the call from your own code or terminal. The whole API as OpenAPI: auth-service.openapi.json. Base URL https://auth.getmanifold.io.
Errors
Every refusal is a status and a JSON body whose _tag names it. A refused call changes nothing.
401
| Refusal | What it means | What to do |
|---|---|---|
Unauthorized reason | The token is missing, expired or not one Manifold issued. | Get a fresh token and send the call again. |
TokenAlreadyUsed tokenId | A single-use app token was already spent. | Mint a new token for this call. |
402
| Refusal | What it means | What to do |
|---|---|---|
SubscriptionRequired status | The organization's subscription has lapsed, so writes are refused. | An owner settles billing. Reads still work meanwhile. |
403
| Refusal | What it means | What to do |
|---|---|---|
TenantRequired userId | The token names no organization. | Choose the organization, then get a new token. |
ScopeRequired required | The token's roles do not grant the scope this call needs. | Ask an owner or admin for a role that grants it. |
409
| Refusal | What it means | What to do |
|---|---|---|
MirroredFromSource source | This area is fed by your source system until the organization goes live. | Make the change in the source system, or go live first. |
503
| Refusal | What it means | What to do |
|---|---|---|
RequestLogUnavailable tokenId, reason | The service could not record the request, so it did nothing. | Try again shortly. |
How refusals work everywhere: Errors.