Auth

Set the authenticated user's preferred email locale

Updates user_metadata.locale on the Supabase auth user. Locale-aware send paths (billing webhooks, licensing expiry, auth send-email-hook) read this field to choose between English (default), French, German, Italian, and Spanish copy. Cookie session auth required; the change is effective immediately for subsequent email sends.

post/auth/set-locale

Request

  • Base URL: https://api.mnemom.ai/v1
  • URL: https://api.mnemom.ai/v1/auth/set-locale
  • Auth: API key in cookie mnemom_session

Request body

locale'en' | 'fr' | 'de' | 'it' | 'es' required

Preferred email locale. Values outside this enum are rejected with unsupported_locale.

Response

Locale updated.

okboolean required
locale'en' | 'fr' | 'de' | 'it' | 'es' required

Changes

No recorded changes to this operation across all 1 revision of this API.