Mail

Update display preferences

Changes how dates, times and the calendar are shown.

PATCH /v1/mail/settings

Permission

The key must be granted mail.settings.write

A key without it gets 403 insufficient_scope, with the missing permission named in details.

Request body

Send only what changes. A body with no recognised field is rejected rather than treated as a no-op, so a typo in a field name is reported instead of silently doing nothing.

Field Type Description
time_format string auto1224
date_format string autodmymdyymd
timezone string A valid IANA name, or empty to let the client decide.
week_start integer 0 to 6. Anything else is rejected.
default_view string dayweekmonthagenda
default_event_minutes integer Must be greater than zero.
speedy_meetings boolean
default_reminder_minutes integer Zero or more.

Request

curl https://api.veruapis.com/v1/mail/settings \
  -X PATCH \
  -H "Authorization: Bearer vak_live_..." \
  -H "Idempotency-Key: $(uuidgen)"

Idempotency-Key is required on every write. Retrying with the same key returns the original response rather than repeating the operation, so a timeout is something you retry rather than something you investigate.

Response

{
  "data": { ... },
  "meta": { "request_id": "req_01j8z9...", "timestamp": "2026-09-02T10:00:00Z" }
}

A worked example for this endpoint has not been written yet.

Errors

Every failure uses the same shape, with a stable string code you can branch on. See the error reference.

Related

PATCH /v1/mail/settings

Sends this body to your own workspace, for real. Edit it before running.