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" } ] }
This endpoint retrieves the authenticated users information.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
User response
The response is of type object.
object