Documentation is currently under development. Some sections may be incomplete or subject to change.
cURL
curl --request GET \ --url https://nanostudio.cloud/api/user/profile \ --header 'Authorization: Bearer <token>'
{ "success": true, "data": { "id": "<string>", "name": "<string>", "email": "<string>", "emailVerified": true, "role": "<string>", "createdAt": "2023-11-07T05:31:56Z", "lastLogin": "2023-11-07T05:31:56Z" } }
Get current user profile information
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
User profile retrieved successfully
Show child attributes