Get the details of the currently Authenticated User along with basic subscription information.
URL : /api/user/
Method : GET
Auth required : YES
Permissions required : None
Code : 200 OK
Content examples
For a User with ID 1234 on the local database where that User has saved an email address and name information.
{
"id": 1234,
"first_name": "Joe",
"last_name": "Bloggs",
"email": "[email protected]"
}
For a user with ID 4321 on the local database but no details have been set yet.
{
"id": 4321,
"first_name": "",
"last_name": "",
"email": ""
}
- If the User does not have a
UserInfo
instance when requested then one will be created for them.