Skip to main content
GET
/
v1
/
users
/
@me
cURL
curl --request GET \
  --url https://api.camposcloud.com/v1/users/@me \
  --header 'Authorization: Bearer <token>'
{
  "_id": "60c72b2f9b1e8d001c8e4f3a",
  "name": "John Doe",
  "isEmail2FAEnabled": true,
  "hasClaimedFreePlan": false,
  "activeSessions": [
    {
      "id": "60c72b2f9b1e8d001c8e4f3b",
      "device": "Desktop",
      "ip": "192.168.0.101",
      "browser": "Chrome",
      "lastActive": "2025-07-18T23:49:19.701Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Response

User response

_id
string
required

The unique identifier of the user

Example:

"60c72b2f9b1e8d001c8e4f3a"

name
string
required

The user name

Example:

"John Doe"

isEmail2FAEnabled
boolean
required

Indicates if the user has enabled email two-factor authentication

Example:

true

hasClaimedFreePlan
boolean
required

Indicates if the user has claimed the free plan

Example:

false

activeSessions
string[]

List of active sessions for the user

Example:
[
{
"id": "60c72b2f9b1e8d001c8e4f3b",
"device": "Desktop",
"ip": "192.168.0.101",
"browser": "Chrome",
"lastActive": "2025-07-18T23:49:19.701Z"
}
]