Cloud Events
Ingest a cloud event
Stores one normalized event idempotently on (user, source, dedupeKey) and enqueues async routing to matching API-target background tasks. Returns 202 for a fresh event and 200 with deduped=true for a replay.
post/v1/events
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /v1/events
- Auth: HTTP bearer
Request body
Example request
{
"dedupeKey": "gmail:msg:msg_123",
"eventType": "email.received",
"occurredAt": "2026-06-06T14:00:00Z",
"source": "internal",
"sourceAccountId": "acct_google_primary",
"sourceEventId": "evt_123",
"subject": "Invoice #4821 dispute",
"text": "Acme disputed invoice #4821 for $18,000."
}Response
Duplicate dedupeKey: existing event returned, routing not re-run.
Example response
{
"eventId": "0c0afab1-7f6f-4f0b-9d8e-1e58e8b0f111",
"routingStatus": "pending"
}Changes
No operation changes recorded.