PATCH/api/v1/me/preferences

Set email preferences

Sets the weekly analytics email (analytics_digest) and how often you're emailed about mentions and sign-off requests (email_notify: mention and signoff_requested, each instant, hourly, daily or off). tz is your IANA time zone for the daily digest. mention_emails: false still turns both kinds off, and true brings back the defaults. Send any of them; the response has all of them.

API token required

Guide: Weekly email

Code samples and Try it

Request body

#

application/json, required

  • analytics_digest"weekly" | "off"

    weekly sends the weekly analytics email; off stops it.

  • mention_emailsboolean

    false stops the emails about mentions and sign-off requests; true turns them back on. They still show under the bell.

  • email_notifyobject
    4 fields inside
    • mention"instant" | "hourly" | "daily" | "off"
    • signoff_requested"instant" | "hourly" | "daily" | "off"
    • comment_mention"instant" | "hourly" | "daily" | "off"
    • comment_activity"instant" | "hourly" | "daily" | "off"
  • tzstring

    Up to 64 characters.

Responses

#
  • 200OK.
  • 401No token, or the token is revoked or mistyped.
  • 422The request didn't validate. detail lists each problem, with where it is (loc) and why (msg).
Did this page help?