GET /me

Meta data about auth token's User

Resource URL

Type URL and Format

Query Parameters

Parameter Type Description
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
ID (int) Numeric user ID
display_name (string) The name to display for a user
username (string) Login name of a user
email (string) Email address
primary_blog (int) ID of a user's primary blog
language (string) User language setting
token_site_id (int) ID of the user's site that the current token provides access to
token_scope (array) Scopes that the current access token provides access to
avatar_URL (url) Gravatar image URL
profile_URL (url) Gravatar Profile URL
verified (boolean) Whether the account has been verified (via Connect)
email_verified (boolean) Whether the account has been verified (via emailed)
site_count (int) Number of sites where the user is a member
visible_site_count (int) Number of sites where the user is a member, set to visible in user settings
meta (object) Meta data



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 );


Response Body

	"ID": 1001000100,
	"display_name": "Mr. Test",
	"username": "test",
	"email": "",
	"primary_blog": 415,
	"avatar_URL": "http:\/\/\/avatar\/a178ebb1731d432338e6bb0158720fcc?s=96&d=identicon&r=G",
	"profile_URL": "http:\/\/\/test",
	"verified" : true,
	"meta": {
		"links": {
			"self": "https:\/\/\/rest\/v1\/me",
			"help": "https:\/\/\/rest\/v1\/me\/help",
			"site": "https:\/\/\/rest\/v1\/sites\/30434183"