GET /me/settings/

Get the current user's settings.

Resource Information

Method GET
Requires authentication? Yes

Query Parameters

Parameter Type Description
context (string)
(default) Formats the output as HTML for display. Shortcodes are parsed, paragraph tags are added, etc..
Formats the output for editing. Shortcodes are left unparsed, significant whitespace is kept, etc..
http_envelope (bool)
Some environments (like in-browser JavaScript or Flash) block or divert responses with a non-200 HTTP status code. Setting this parameter will force the HTTP status code to always be 200. The JSON response is wrapped in an "envelope" containing the "real" HTTP status code and headers.
pretty (bool)
Output pretty JSON
meta (string) Optional. Loads data from the endpoints found in the 'meta' part of the response. Comma-separated list. Example: meta=site,likes
fields (string) Optional. Returns specified fields only. Comma-separated list. Example: fields=ID,title
callback (string) An optional JSONP callback function.

Response Parameters

Parameter Type Description
enable_translator (bool) Is in-page translation enabled for the current user?
surprise_me (bool) Is "Surprise Me" mode enabled for the current user?
post_post_flag (bool) Is Post-post is enabled for the current user?
holidaysnow (bool) Is holiday snow enabled for the current user? - (deprecated)
user_login (string) Get the current user's username.
display_name (string) Get the current user's display name.
first_name (string) Get the current user's first name.
last_name (string) Get the current user's last name.
description (string) Get the current user's About Me HTML.
user_email (string) Get the current user's email address.
user_email_change_pending (bool) Is an email change pending for the current user?
new_user_email (string) Get the email address a pending change would switch to.
user_URL (url) Get the current user's public profile URL setting.
language (string) Get the current user's interface language code.
avatar_URL (url) Get the current user's Gravatar image URL.
primary_site_ID (int) Get the current user's primary site ID.
comment_like_notification (bool) Are comment likes notification emails enabled for the current user?
mentions_notification (bool) Are mentions notification emails enabled for the current user?
subscription_delivery_email_default (string) Get the default email delivery frequency for new subscriptions (never, instantly, daily or weekly).
subscription_delivery_jabber_default (bool) Will new follows include jabber subscription?
subscription_delivery_mail_option (string) Get how subscription emails should be formatted: as HTML (html) or as plain text (text).
subscription_delivery_day (int) Get when subscription emails should be delivered: 0: Sunday, 1: Monday, etc. (Applies when subscription_delivery_email_default equals weekly.)
subscription_delivery_hour (int) Get at what hour of the day subscription emails should be delivered. Uses even numbers from 0 to 22, inclusive. (Applies when subscription_delivery_email_default equals daily or weekly.)
subscription_delivery_email_blocked (bool) Are all subscription emails blocked for the current user?
two_step_enabled (bool) Is two-step enabled for the current user?
two_step_sms_enabled (bool) Is the user using SMS as their second factor (instead of a code generating app)?
two_step_backup_codes_printed (bool) Has the current user printed their backup codes?
two_step_sms_country (string) Get the country for SMS backup for the current user (e.g. "US").
two_step_sms_phone_number (string) Get the phone number for SMS backup for the current user (should not include + or country code).
calypso_preferences (object) Get the preferences associated with a user's Calypso experience.
jetpack_connect (array) Get the urls of the jetpack sites the user have attempted to connect from Calypso
locale_variant (string) The locale variant locale code, if any.
tracks_opt_out (bool) Did the user opted out of Tracks?
i18n_empathy_mode (bool) Has the user enabled I18n empathy mode?
use_fallback_for_incomplete_languages (bool) Should UI be displayed in default locale for languages with incomplete translations
gravatar_profile_hidden (bool) Is the gravatar profile hidden for this user?
is_dev_account (bool) Is this a developer account?
last_admin_activity_timestamp (string) Get Unix timestamp the user was last seen in the admin.
advertising_targeting_opt_out (bool) Did the user opt out of advertising targeting?

Resource Errors

These are the possible errors returned by this endpoint.

HTTP Code Error Identifier Error Message
403 unauthorized This setting cannot be changed prior to account activation.
400 invalid_input user_login_can_be_changed can not be set by this endpoint.
400 invalid_input The calypso_preferences setting must be valid JSON.
400 invalid_input You must supply an ID for one of your own sites for primary_site_ID.
403 unallowed_setting The two_step_enabled setting cannot be changed using this endpoint.
403 unallowed_setting The two_step_sms_enabled setting cannot be changed using this endpoint.
400 not_yet_implemented Setting two_step_backup_codes_printed is not yet implemented.
403 invalid_input The two_step_sms_country setting cannot be changed while two step is enabled.
403 invalid_input An unsupported country code was provided for two_step_sms_country.
403 invalid_input The two_step_sms_phone_number setting cannot be changed while two step is enabled.


curl \
 -H 'authorization: Bearer YOUR_API_TOKEN' \
$options  = array (
  'http' => 
  array (
    'ignore_errors' => true,
    'header' => 
    array (
      0 => 'authorization: Bearer YOUR_API_TOKEN',

$context  = stream_context_create( $options );
$response = file_get_contents(
$response = json_decode( $response );


    "enable_translator": false,
    "surprise_me": false,
    "post_post_flag": true,
    "holidaysnow": false,
    "user_login": "testuser",
    "display_name": "Mr. Test",
    "first_name": "Testy",
    "last_name": "Test",
    "description": "I am a test user.",
    "user_email": "",
    "user_email_change_pending": false,
    "new_user_email": "",
    "user_URL": "http:\/\/",
    "language": "en",
    "avatar_URL": "http:\/\/\/avatar\/a178ebb1731d432338e6bb0158720fcc?s=96&d=identicon&r=G",
    "primary_site_ID": 415,
    "comment_like_notification": false,
    "mentions_notification": false,
    "subscription_delivery_email_default": "never",
    "subscription_delivery_jabber_default": false,
    "subscription_delivery_mail_option": "html",
    "subscription_delivery_day": 1,
    "subscription_delivery_hour": 8,
    "subscription_delivery_email_blocked": false,
    "two_step_enabled": true,
    "two_step_backup_codes_printed": true,
    "two_step_sms_country": "US",
    "two_step_sms_phone_number": "4255551212",
    "calypso_preferences": {},
    "jetpack_connect": [],
    "_headers": {
        "Date": "Wed, 14 Jan 2015 19:42:52 GMT",
        "Content-Type": "application\/json"