Get Resource Owner

Retrieves information about authenticated user. See Get User for response fields description.

Request

GET /v2/users/me HTTP/1.1
Authorization: Bearer oauth_token

Response

HTTP/1.1 200 OK
Content-Type: application/hal+json;charset=UTF-8

{
  "id" : 4,
  "firstName" : "Vernon",
  "lastName" : "Bear",
  "email" : "bear@acme.com",
  "role" : "owner",
  "timezone" : "America/New_York",
  "photoUrl" : "http://somesite.com/images/avatar.jpg",
  "createdAt" : "2011-04-01T03:18:33Z",
  "updatedAt" : "2012-07-24T20:18:33Z",
  "type" : "user",
  "companyId" : 1,
  "_links" : {
    "self" : {
      "href" : "..."
    }
  }
}