Skip to main content
GET
/
cli
/
loggedUser
curl https://app.drime.cloud/api/v1/cli/loggedUser \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
{
  "user": {
    "id": 15843,
    "email": "user@example.com",
    "display_name": "John Doe",
    "first_name": "John",
    "last_name": "Doe",
    "created_at": "2024-01-01T00:00:00.000000Z",
    "updated_at": "2024-01-15T10:30:00.000000Z"
  }
}

Overview

Returns detailed information about the currently authenticated user. This is useful for verifying the token is valid and retrieving user details.

Response

user
object
The authenticated user object
curl https://app.drime.cloud/api/v1/cli/loggedUser \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
{
  "user": {
    "id": 15843,
    "email": "user@example.com",
    "display_name": "John Doe",
    "first_name": "John",
    "last_name": "Doe",
    "created_at": "2024-01-01T00:00:00.000000Z",
    "updated_at": "2024-01-15T10:30:00.000000Z"
  }
}