Skip to main content
GET
/
v1
/
auth
/
me
Get current user
curl --request GET \
  --url http://co-mind-platform-host/v1/auth/me \
  --header 'Authorization: Bearer <token>'
{
  "id": "user_abc123",
  "email": "user@example.com",
  "username": "johndoe",
  "confirmed": true,
  "created_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer token authentication. Supports two token types:

  • JWT Access Token — obtained via POST /v1/auth/login
  • Personal Access Token (PAT) — created via POST /v1/api-tokens, format: cmnd_<tokenId>.<secret>

Response

User information

id
string
Example:

"user_abc123"

email
string
Example:

"user@example.com"

username
string
Example:

"johndoe"

confirmed
boolean
Example:

true

created_at
string<date-time>