Skip to main content
GET
/
user
/
profile
Get user profile
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"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

User profile retrieved successfully

success
boolean
data
object