Skip to main content
API reference sections

Schema

AppendReceipt

What POST /v1/events answers. Duplicates are success - that is what makes retrying under the same event_id idempotent.

Type object

Shape

FieldTypeDescription
acceptedrequiredinteger (uint32, >= 0)
duplicatesrequiredinteger (uint32, >= 0)
rejectedarray of RejectedEvent
last_seqrequiredinteger (uint64, >= 0)

The journal's latest sequence after this batch - a subscriber's starting cursor.

Example
{
  "accepted": 0,
  "duplicates": 0,
  "rejected": [
    {
      "index": 0,
      "event_id": "string",
      "code": "string",
      "message": "string"
    }
  ],
  "last_seq": 0
}

The contract has no example values, so example bodies are generated from each schema: every field is shown with a placeholder of its type.

Used by

Generated from contract version 1. Last updated .

Privacy choices

Choose which optional tools Koru may use on this site. Your choice is saved in a cookie in this browser for 12 months. Privacy policy

Privacy choices

Keep you signed in, protect forms and remember your language and this choice.

Always on

PostHog and Google Analytics 4 measure page views and actions such as downloads, using cookies or local storage.

PostHog records how pages are used, with form inputs masked and private pages excluded. Needs Analytics.

Ahrefs Web Analytics measures visits and where they come from, and Google Ads measures whether our ads led to a visit or download.