{"action":"created","issue":{"url":"https://api.github.com/repos/planningcenter/developers/issues/165","repository_url":"https://api.github.com/repos/planningcenter/developers","labels_url":"https://api.github.com/repos/planningcenter/developers/issues/165/labels{/name}","comments_url":"https://api.github.com/repos/planningcenter/developers/issues/165/comments","events_url":"https://api.github.com/repos/planningcenter/developers/issues/165/events","html_url":"https://github.com/planningcenter/developers/issues/165","id":143912897,"number":165,"title":"Get currently logged in user","user":{"login":"geoffhouse","id":6639674,"avatar_url":"https://avatars.githubusercontent.com/u/6639674?v=3","gravatar_id":"","url":"https://api.github.com/users/geoffhouse","html_url":"https://github.com/geoffhouse","followers_url":"https://api.github.com/users/geoffhouse/followers","following_url":"https://api.github.com/users/geoffhouse/following{/other_user}","gists_url":"https://api.github.com/users/geoffhouse/gists{/gist_id}","starred_url":"https://api.github.com/users/geoffhouse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geoffhouse/subscriptions","organizations_url":"https://api.github.com/users/geoffhouse/orgs","repos_url":"https://api.github.com/users/geoffhouse/repos","events_url":"https://api.github.com/users/geoffhouse/events{/privacy}","received_events_url":"https://api.github.com/users/geoffhouse/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-28T07:09:40Z","updated_at":"2016-03-28T13:12:35Z","closed_at":null,"body":"Hi. Great API! :)\r\n\r\nI've managed to get Oauth2 working from PHP (phew!) but I'm struggling with one thing:\r\n\r\nHow do I return details for the currently logged-in user/organisation? I can see how to get info for a particular user by ID, but that doesn't help...!\r\n\r\nCheers!\r\n"},"comment":{"url":"https://api.github.com/repos/planningcenter/developers/issues/comments/202386872","html_url":"https://github.com/planningcenter/developers/issues/165#issuecomment-202386872","issue_url":"https://api.github.com/repos/planningcenter/developers/issues/165","id":202386872,"user":{"login":"rmosolgo","id":2231765,"avatar_url":"https://avatars.githubusercontent.com/u/2231765?v=3","gravatar_id":"","url":"https://api.github.com/users/rmosolgo","html_url":"https://github.com/rmosolgo","followers_url":"https://api.github.com/users/rmosolgo/followers","following_url":"https://api.github.com/users/rmosolgo/following{/other_user}","gists_url":"https://api.github.com/users/rmosolgo/gists{/gist_id}","starred_url":"https://api.github.com/users/rmosolgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmosolgo/subscriptions","organizations_url":"https://api.github.com/users/rmosolgo/orgs","repos_url":"https://api.github.com/users/rmosolgo/repos","events_url":"https://api.github.com/users/rmosolgo/events{/privacy}","received_events_url":"https://api.github.com/users/rmosolgo/received_events","type":"User","site_admin":false},"created_at":"2016-03-28T13:12:35Z","updated_at":"2016-03-28T13:12:35Z","body":"Woo hoo, congrats on getting it working! \r\n\r\nFor the currently logged-in person, each app has a `/me` endpoint, for example: \r\n\r\n- https://api.planningcenteronline.com/people/v2/me\r\n- https://api.planningcenteronline.com/check_ins/v2/me\r\n\r\nFor the currently logged-in organization, you can visit the API root. For example: \r\n\r\n- https://api.planningcenteronline.com/services/v2/\r\n- https://api.planningcenteronline.com/check_ins/v2/\r\n\r\nHmm, it looks like `/me` isn't in the API docs right now, maybe we can find a place for that..."}}