account

This account's mail preferences and the address they apply to

Read the preference row, creating it on this first read if need be.

The row is minted lazily rather than backfilled by the migration for the reason email/preferences.py gives: a backfill would write a bearer token for every account that predates the table, most of which will never receive a marketing mail. So a read is a write, exactly once, and the column defaults are what a missing row already meant.

get/api/account/email-preferences

Request

  • Base URL: https://app.nerdit.ai (the document declares no server; this is the origin it was published from)
  • URL: https://app.nerdit.ai/api/account/email-preferences
  • Auth: none declared

Response

Successful Response

marketing_opted_inboolean required
product_notificationsboolean required
emailstring required

Changes

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