Users

Get current user

Return the authenticated user's profile information.

get/api/auth/me

Request

  • Base URL
    https://app.cotool.ai
  • Auth
    HTTP bearer

Response

Successful response

idstring uuid required

Unique identifier for the user

emailstring email required

Email address of the user (normalized and validated)

isVerifiedboolean required

Whether the user has verified their email address

roleIdstring required

The role the user belongs to

createdAtstring required

When the user account was created

updatedAtstring required

When the user account was last updated

lastLoginAtstring nullable required

When the user last logged in (null if never logged in)

googleIdstring nullable required

Google OAuth ID if user signed up with Google (null if not linked)

microsoftIdstring nullable required

Microsoft OAuth ID if user signed up with Microsoft (null if not linked)

metadataobject nullable required

Additional user metadata as key-value pairs (null if no metadata)

organizationIdstring uuid required

ID of the organization this user belongs to

organizationNamestring

URL-safe name of the organization this user belongs to

authType'oauth' | 'local' | 'mixed' required

Type of authentication used for the user

isAdminboolean required

Whether the user is an admin

Changes

No recorded changes to this operation across all 2 revisions of this API.