Retrieve information of the logged in OAuth user. OAuth authentication required to use this method.
POSThttps://api.elvanto.com/v1/people/currentUser.{json|xml|php}
{
"generated_in": "0.018",
"status": "ok",
"person": [
{
"id": "b0b0d8d2-48dc-426e-aaba-774936274c99",
"date_added": "2025-02-24 11:56:22",
"date_modified": "2025-08-27 16:17:57",
"category_id": "8a631195-8914-4136-858c-f160885ab60d",
"firstname": "John",
"preferred_name": "Jonny",
"lastname": "Smith",
"email": "john@johnsmith.com",
"phone": "999-999-999",
"mobile": "888-888-888",
"admin": 0,
"archived": 0,
"contact": 0,
"volunteer": 1,
"status": "Active",
"username": "john.smith",
"last_login": "2025-08-28 12:32:22",
"country": "United Kingdom",
"timezone": "Europe/London",
"picture": "http://url.to/picture.jpg"
}
]
}
<?xml version="1.0" encoding="UTF-8"?> <rsp generated_in="0.018" status="ok"> <person id="b0b0d8d2-48dc-426e-aaba-774936274c99" category_id="8a631195-8914-4136-858c-f160885ab60d" admin="0" archived="0" contact="0" volunteer="1"> <date_added>2025-02-24 11:56:22</date_added> <date_modified>2025-08-27 16:17:57</date_modified> <firstname>John</firstname> <preferred_name>Jonny</preferred_name> <lastname>Smith</lastname> <email>john@johnsmith.com</email> <phone>999-999-999</phone> <mobile>888-888-888</mobile> <status>Active</status> <username>john.smith</username> <last_login>2025-08-28 12:32:22</last_login> <country>United Kingdom</country> <timezone>Europe/London</timezone> <picture>http://url.to/picture.jpg</picture> </person> </rsp>
stdClass Object
(
[generated_in] => 0.018
[status] => ok
[person] => stdClass Object
(
[0] => stdClass Object
(
[id] => b0b0d8d2-48dc-426e-aaba-774936274c99
[date_added] => 2025-02-24 11:56:22
[date_modified] => 2025-08-27 16:17:57
[category_id] => 8a631195-8914-4136-858c-f160885ab60d
[firstname] => John
[preferred_name] => Jonny
[lastname] => Smith
[email] => john@johnsmith.com
[phone] => 999-999-999
[mobile] => 888-888-888
[admin] => 0
[archived] => 0
[contact] => 0
[volunteer] => 1
[status] => Active
[username] => john.smith
[last_login] => 2025-08-28 12:32:22
[country] => United Kingdom
[timezone] => Europe/London
[picture] => http://url.to/picture.jpg
)
)
)
Please see our response status codes documentation for details of potential error responses for any API request.