PATCH
/api/v1/me/preferencesSet 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 itRequest body
#application/json, required
analytics_digest"weekly" | "off"weeklysends the weekly analytics email;offstops it.mention_emailsbooleanfalsestops the emails about mentions and sign-off requests;trueturns them back on. They still show under the bell.email_notifyobject4 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"
tzstringUp to 64 characters.
Responses
#200OK.401No token, or the token is revoked or mistyped.422The request didn't validate.detaillists each problem, with where it is (loc) and why (msg).