Skip to content

Get the authenticated user's profile

GET
/me
Code sample: Shell / cURL
curl --request GET \
--url https://example.com/api/v1/me \
--header 'Authorization: Bearer <token>'

Returns the caller’s profile, member kind and avatar, and the instance workspace they are an active member of with the permission codes they hold and the modules the instance has enabled. A client decides which screens to show from kind, permissions and modules; both lists are open sets, so a code the client does not know is ignored. A member with no roles gets an empty permissions list, not an error.

The authenticated user’s profile.

Media typeapplication/json
object
data
required

The authenticated user’s profile and membership in the instance workspace.

object
activeWorkspace
required

Null when the caller is not an active member of the instance’s workspace.

Any of:

The instance workspace, with the caller’s membership context.

object
allowedExternalLinkDomains
required
Array<string>
id
required
string
memberId
required

Caller’s WorkspaceMember id, or null when the membership is inactive.

string | null
memberRoleIds
required

Role ids granted to the caller’s membership (empty when none).

Array<string>
memberTimezone
required

IANA timezone the caller’s own calendar days are measured in: their profile timezone, falling back to the workspace’s.

string
modules
required

Codes of the modules the instance has enabled, sorted. An open set: a client ignores a code it does not know. A screen shows only when its module is listed and its permission is held.

Array<string>
name
required
string
permissions
required

Permission codes the caller holds, sorted; empty for a member with no roles. An open set: a client ignores a code it does not know. Owners hold every code and a CLIENT member the fixed portal set.

Array<string>
slug
required
string
timeEntryActivityType

Whether a time entry needs an activity type in the workspace (“optional” or “required”). Absent on a server older than this field.

string
timeEntryExternalLink
required

External-link policy for time entries in the workspace.

string
timeEntryNotes
required

Time-entry notes policy for the workspace (“optional”, “required”, or “hidden”).

string
avatarUrl
required

Signed URL of the caller’s avatar, stable for a window of time so a client can cache the image; null when the caller has none.

string | null
email
required
string
firstName
required
string
id
required
string
kind
required

Whether the caller is a team member or a client user of a company; null when the caller is not an active member of the instance.

Any of:
string
Allowed values: TEAM CLIENT
lastName
required
string
timezone
required

User preference timezone, or null when the user has no preferences row.

string | null

Example

{
"data": {
"kind": "TEAM"
}
}

Unauthorized.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Rate limit exceeded. Wait for Retry-After before retrying.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}
RateLimit-Limit
string
/^\d+$/

Maximum requests in the current quota window.

RateLimit-Policy
string

Quota policy in requests and window seconds, for example 60;w=60.

RateLimit-Remaining
string
/^\d+$/

Requests left in this quota window (zero when blocked).

RateLimit-Reset
string
/^\d+$/

Seconds until the current quota window resets, when available from the rate-limit store.

Retry-After
string
/^\d+$/

Seconds until another request may be attempted.