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
{
"id" : 4,
"firstName" : "Vernon",
"lastName" : "Bear",
"email" : "[email protected]",
"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",
"mention" : "vernon",
"initials" : "VB",
"jobTitle" : "Honey Master",
"phone" : "555-2368",
"alternateEmails" : [ "[email protected]" ],
"companyId" : 1,
"_links" : {
"self" : {
"href" : "..."
}
}
}