Get the authenticated user's profile
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.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”The authenticated user’s profile.
object
The authenticated user’s profile and membership in the instance workspace.
object
Null when the caller is not an active member of the instance’s workspace.
The instance workspace, with the caller’s membership context.
object
Caller’s WorkspaceMember id, or null when the membership is inactive.
Role ids granted to the caller’s membership (empty when none).
IANA timezone the caller’s own calendar days are measured in: their profile timezone, falling back to the workspace’s.
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.
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.
Whether a time entry needs an activity type in the workspace (“optional” or “required”). Absent on a server older than this field.
External-link policy for time entries in the workspace.
Time-entry notes policy for the workspace (“optional”, “required”, or “hidden”).
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.
User preference timezone, or null when the user has no preferences row.
Example
{ "data": { "kind": "TEAM" }}Unauthorized.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Rate limit exceeded. Wait for Retry-After before retrying.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Headers
Section titled “Headers”Maximum requests in the current quota window.
Quota policy in requests and window seconds, for example 60;w=60.
Requests left in this quota window (zero when blocked).
Seconds until the current quota window resets, when available from the rate-limit store.
Seconds until another request may be attempted.
Chelsea is operated by Arepa Labs LLC