Skip to main content
PATCH
Update Preferences
Change any of your notification, email, upload and sharing preferences.

Behavior

  • Send a JSON body with only the sections and keys you want to change. Anything you leave out keeps its value.
  • notifications accepts follows, likes and comments. emails accepts sign_ins. uploads accepts default_privacy, adaptive_streaming, auto_compress, include_metadata, auto_copy_url, auto_blur and comments_enabled. sharing accepts share_policy.
  • Every toggle must be a boolean. uploads.default_privacy must be public, unlisted or private. sharing.share_policy must be everyone, following or nobody.
  • An unknown key or a wrong value returns 400 and nothing is saved.
  • Turning uploads.auto_blur on without Plus or Ultra returns 403 with type plan_required. Turning it off always works.
  • Changing uploads.comments_enabled only sets what new posts start with. Add "apply_comments_to_posts": true to the same request to set it on all of your existing personal posts too. apply_comments_to_posts must be true, and sending it without uploads.comments_enabled returns 400.
  • The response is the full set of preferences after the change. See Get Preferences for what each one does.
  • Shares a rate limit bucket with Get Preferences: 20 requests per minute.

Examples

Responses

Errors

Authorizations

relay-key
string
header
required

Your relay key from snipp.gg/settings/relay

Body

application/json
notifications
object
emails
object
uploads
object
sharing
object
apply_comments_to_posts
enum<boolean>

Also set uploads.comments_enabled on all of your existing personal posts. Requires uploads.comments_enabled in the same request.

Available options:
true

Response

Success

notifications
object
required
emails
object
required
uploads
object
required
sharing
object
required