Retrieving user attributes

You can retrieve the attributes by sending a GET request as follows:

curl -v -X GET \
  -H "Authorization: Bearer {ACCESS_TOKEN}" \
  "https://api-jp.kii.com/api/apps/{APP_ID}/users/me"

Kii Cloud will respond with a list of user attributes as follows:

< HTTP/1.1 200 OK
< Server: Apache-Coyote/1.1
< Access-Control-Allow-Origin: *
< Content-Type: application/vnd.kii.UserDataRetrievalResponse+json
< Content-Length: 386
< Date: Tue, 26 Jun 2012 14:52:42 GMT
<
{
  "userID" : {USER_ID},
  "internalUserID" : 102906630093406208,
  "loginName" : "test004",
  "displayName" : "person test004",
  "country" : "JP",
  "emailAddress" : "test004@testkii.com",
  "emailAddressVerified" : true,
  "phoneNumber" : "+819098439216",
  "phoneNumberVerified" : false,
  "locale": "ja",
  "followers" : 5,
  "friends" : 400,
  "status" : "available"
}