Email

Incrementally synchronize one mailbox

Call without a cursor to capture a baseline before a bounded full snapshot. Then pass next_cursor to replay mutations that happened during and after that snapshot. Cursors are opaque, signed, mailbox-bound, and expire after 30 days. Push notifications are only invalidation hints; this journal is the durable recovery source. An entry about a work item made from authentication mail carries its title and ask redacted for a token without email:auth_secrets.

get/api/email/changes

Request

  • Base URL: https://domani.run
  • URL: https://domani.run/api/email/changes
  • Auth: HTTP bearer

Query parameters

mailbox_idstring required
cursorstring

Opaque next_cursor from a prior response

limitinteger

Response

Incremental changes or a baseline requiring a full snapshot

next_cursorstring required
has_moreboolean required
requires_full_syncboolean required
reason'cursor_required' | 'cursor_expired'

Example response

{
  "changes": [
    {
      "type": "conversation.updated",
      "resource_type": "conversation"
    }
  ]
}

Changes

No recorded changes to this operation across all 2 revisions of this API.