Skip to content

Account

Two endpoints handle data-subject rights for your organization:

  • GET /v1/auth/export — download every row Chronary holds for your org as JSON (GDPR Art. 15 right of access + Art. 20 right to portability, CCPA right-to-know, EU Data Act interoperability).
  • DELETE /v1/auth/account — delete your organization (GDPR Art. 17 right to erasure), after a 7-day grace period you can cancel where scheduled deletion applies.

Both endpoints are JWT-authenticated (console session cookie or Bearer token) — they’re not callable with API keys (chr_sk_* / chr_ak_*). Webhook secrets, iCal subscription URLs, iCal feed tokens and Human calendar provider identifiers are redacted unless you pass include_secrets=true from a session that signed in within the last 5 minutes. Human calendar sign-in credentials are never included.

In day-to-day use, export your data from Settings → Data & privacy (console.chronary.ai/settings/data) and delete the organization from the Danger zone on Settings → General (console.chronary.ai/settings). The HTTP endpoints exist for programmatic compliance tooling (e.g. a server holding a delegated JWT).

GET /v1/auth/export

Returns a single JSON file with every row tied to your org. Rate-limited to 10 exports per hour per org.

HeaderValue
Content-Typeapplication/json
Content-Dispositionattachment; filename="chronary-export-YYYY-MM-DD.json"
Cache-Controlno-store
{
"exported_at": "2026-04-26T12:00:00.000Z",
"format_version": "1",
"org": { /* id, name, email, plan, oauth, ToS state, your "how did you hear about us" answer, timestamps */ },
"agents": [...],
"calendars": [...], // ical_token + ical_feed_url redacted unless include_secrets=true
"events": [...], // titles + descriptions decrypted
"availability_rules": [...],
"ical_subscriptions": [...], // url redacted unless include_secrets=true
"webhook_subscriptions": [...], // secret redacted unless include_secrets=true
"api_keys": [...], // org + agent-scoped, prefix only — no key, no hash
"scheduling_proposals": [...],
"proposal_slots": [...],
"proposal_responses": [...],
"usage_records": [...],
"quota_counters": [...],
"tos_acceptances": [...], // immutable legal artifact
"account_claims_initiated": [...], // claims this org started; tokens masked
"account_claims_targeting_this_org": [...],
"feedback_submissions": [...],
"upgrade_requests": [...],
"booking_pages": [...],
"audit_log": [...], // every stored row
"provider_accounts": [...], // Human calendar Connections; label decrypted, subject redacted unless include_secrets=true
"external_calendars": [...], // name decrypted, provider_calendar_id redacted unless include_secrets=true
"availability_grants": [...], // source calendars + agents nested in each grant
"publication_bindings": [...],
"connection_setup_links": [...],
"webhook_deliveries": [...] // payloads as stored
}

Included (your data):

  • Org metadata (id, name, email, plan, OAuth identity, ToS acceptance state)
  • Every agent, calendar, event, availability rule, scheduling proposal, slot, response, iCal subscription, webhook subscription
  • Booking pages, the audit log, and webhook deliveries
  • Human calendars: Connections, their calendars, availability grants, publishing bindings and setup links
  • API key prefixes + labels + creation/revocation timestamps (so you can identify keys in your records)
  • Decrypted plaintext for event titles + descriptions, Connection labels and external calendar names
  • Webhook secrets, iCal subscription URLs, iCal feed tokens and Human calendar provider identifiers, only with include_secrets=true from a recently signed-in session
  • ToS acceptance audit rows (version + SHA-256 + timestamp)
  • Usage and quota counters
  • Account-claim records this org initiated (without operational secrets)

Omitted (not your data, or unrecoverable):

  • Password hashes, OTP hashes, claim revocation tokens (operational secrets)
  • Human calendar sign-in credentials and setup-link secrets (never included, even with include_secrets=true)
  • API key hashes (irrecoverable — the original key is shown only at creation)
  • Internal scheduling state (started_scheduled_for, hold_expiry_scheduled_for, etc. — implementation detail)
  • Security incident records (not user data)
  • Derived Human calendar sync caches (busy blocks, sync state, published-event links), which are rebuilt from your calendars

With include_secrets=true, each calendar in the export includes its ical_token and a public ical_feed_url. Point any RFC 5545 client (Google Calendar, Apple Calendar, Outlook) at the URL to subscribe — no auth needed. This satisfies the EU Data Act’s “structured, machine-readable” portability requirement for calendar data alongside the JSON dump.

Terminal window
# JWT must be a console session token, not an API key.
curl -O -J https://api.chronary.ai/v1/auth/export \
-H "Authorization: Bearer ${CHRONARY_CONSOLE_JWT}"
StatusTypeWhen
401authentication_errorMissing or invalid JWT (API keys also return 401 here)
401reauth_requiredinclude_secrets=true from a session that signed in more than 5 minutes ago. Nothing is exported; sign in again and retry
429rate_limitedMore than 10 exports in the past hour for this org
413export_too_largeThe export is larger than the download limit. Email support@chronary.ai for the complete file.
DELETE /v1/auth/account

Deletes your organization. Requires a session that signed in (or re-authenticated) within the last 5 minutes; otherwise the response is 401 reauth_required.

Deletion is either scheduled (a 7-day grace period you can undo) or immediate. GET /v1/auth/me tells you which applies to your account in org.account.deletion_mode ("scheduled" or "immediate"), and the status code of this request confirms it.

{ "deletion_scheduled_at": "2026-11-07T12:00:00.000Z" }

As soon as the deletion is scheduled:

  • Your Organization key and Agent keys stop working (401 authentication_error).
  • Your Webhooks are paused. Deliveries that were waiting to be retried are held, not sent.
  • Your public booking pages stop taking bookings: their links answer 404, like an unknown page.
  • Background sync stops: connected Google and Outlook calendars are no longer refreshed, iCal subscriptions are no longer polled, and no new event copies are published to your calendars. Copies already published are still removed before the deletion.
  • Usage-alert, key-expiry, renewal and founding-plan reminder emails stop, and so does the “reconnect your calendar” email. You still get the emails about the deletion itself.
  • You won’t be charged again. A paid plan ends when the organization is deleted, or at the end of the current billing period if that comes first. We don’t refund fees already paid, including for the unused part of the current billing period, except where the Terms of Service say otherwise. Any account credit left is refunded to your original payment method within 30 days.
  • Every console session is signed out. You can still sign in: the console is read-only until the deletion date. You can still cancel the deletion and accept updated Terms of Service; any other change returns 403 account_pending_deletion.

Once deletion_scheduled_at (7 days after the request) has passed, we permanently delete your agents, calendars, events, booking pages, audit log and every other row linked to your organization, and send a confirmation to the account email. ToS acceptance audit rows are retained with a NULL org reference per Washington RCW 4.16.040 (6-year contract statute of limitations / GDPR Art. 17(3)(e) legal-obligation exception).

GET /v1/auth/me shows the date in org.attention.deletion_scheduled_at while the deletion is scheduled. Export your data with GET /v1/auth/export before the date if you might need it.

If you want your data deleted sooner than the scheduled date, email privacy@chronary.ai and we’ll delete it on request.

POST /v1/auth/account/cancel-deletion

Keeps your organization. Your keys work again, your booking pages take bookings again, calendar sync and iCal polling resume, the Webhooks the deletion paused resume (Webhooks you had turned off stay off), and a plan the deletion set to end renews again. No re-authentication is needed. Works until deletion_scheduled_at.

{ "deletion_scheduled_at": null, "billing_resumed": true }

billing_resumed is false when there is no plan to resume, or when the plan was already set to end before you asked to delete the organization.

Hard-deletes your organization at once. All cascade-linked rows (agents, API keys, calendars, events, iCal subscriptions, webhook subscriptions, scheduling proposals, availability rules, usage records, quota counters) are removed. ToS acceptance audit rows are retained with a NULL org reference per Washington RCW 4.16.040 (6-year contract statute of limitations / GDPR Art. 17(3)(e) legal-obligation exception). The session cookie is cleared.

There is no recovery path for an immediate deletion. Export your data first if you might need it.

StatusTypeWhen
401reauth_requiredThe session did not sign in within the last 5 minutes (DELETE only)
403account_pending_deletionAny other change while a deletion is scheduled
404not_scheduledPOST /v1/auth/account/cancel-deletion with no deletion scheduled
409already_scheduledDELETE while a deletion is already scheduled
409deletion_in_progressCancel after deletion_scheduled_at has passed
502billing_cancel_failedThe plan could not be changed; nothing was deleted or scheduled. Try again or contact support@chronary.ai.
502billing_resume_failedThe plan could not be restored; the deletion is still scheduled. Try again or contact support@chronary.ai.