User Object Overview

jsonCopyEdit{
  "id": "usr_7f23ksh8",
  "workspace_id": "ws_2981hds7",
  "name": "Ada Lovelace",
  "email": "ada@mojave.dev",
  "role": "admin",
  "status": "active",
  "created_at": "2025-01-22T13:45:00Z"
}

Fields

Field

Type

Description

id

string

Unique identifier for the user (prefix: usr_)

workspace_id

string

The workspace the user belongs to

name

string

Full name of the user

email

string

Email address (must be unique within workspace)

role

string

User role (adminmanagercontributor)

status

string

User status (activeinvitedsuspended)

created_at

string

Timestamp of when the user was created (ISO 8601)

Get Current User (via API)

curl -X GET https://api.mojaveapp.com/v1/me \
  -H "Authorization: Bearer YOUR_API_TOKEN"

Returns details about the authenticated user.

List All Users in a Workspace

curl -X GET https://api.mojaveapp.com/v1/users \
  -H "Authorization: Bearer YOUR_API_TOKEN"

Deactivating a User

You can’t delete users from a workspace, but you can suspend them to revoke access:

PATCH /users/usr_7f23ksh8
{
  "status": "suspended"
}

Suspended users cannot log in, track time, or access the API.

Relationships

User IDs are referenced in:

  • Time Entries (user_id)

  • Projects (as members)

  • Invoices (for creator or billing contact)

  • Audit Logs

Was this helpful?

Was this helpful?

Was this helpful?

Previous

Quickstart

Previous

Quickstart

Previous

Quickstart

Table of content

Table of content

Table of content

Users

Users