mail

GET /v1/mail/mailboxes/{mailboxId}/restore-points

List the backups this mailbox can be restored from.

All mail endpoints

All developer docs →

Zinn®, our Viking, hammering at his anvil beside an API endpoint sending events to several listeners.

Authentication

Send an API key as a bearer token. The key must carry the mail.view permission; a key without it is refused with 403, not 404.

This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.

Try it

Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.

curl -X GET https://api.zinndigital.com/v1/mail/mailboxes/{mailboxId}/restore-points \
  -H "Authorization: Bearer zdk_live_…"

Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console

Details

The backups of the mail store that hold this mailbox, newest first: the hourly copies of the last schedule.recent_kept_hours hours and the nightly exports of the last schedule.nightly_kept_days days. Never one older than the mailbox itself, and never one past its backup lifecycle. schedule states the real cadence and retention, for copy that must not type its own. Each names the folder a restore from it is written under (Restored <date> UTC). Read with a read-only backup credential. 503 when the backups cannot be reached. Requires mail.view.

Parameters

NameTypeRequiredWhat it is
mailboxId (path)UuidYesMailbox ID (UUIDv7).

Response

NameTypeRequiredWhat it is
resultsMailboxRestorePoint[]Yes—
scheduleobjectYesThe mail backup schedule as it runs: a copy every backup_every_hours hours, each restorable for recent_kept_hours hours, and a nightly export restorable for…

Errors this endpoint can return

401 · 403 · 404 · 503