Skip to content

getCurrentUser

READ

Return the connected user's own profile (id, email, name).

POST /api/v1/account/getCurrentUser
curl -X POST '<your-host>/api/v1/account/getCurrentUser' \
  -H 'Authorization: Bearer <api-key>' \
  -H 'Content-Type: application/json'
Response
{
  "id": "string",
  "email": "string",
  "firstName": "string",
  "lastName": "string",
  "fullName": "string",
  "avatarUrl": "string"
}

Parameters

This operation takes no arguments.

Input schema

schema
{
  "type": "object",
  "properties": {}
}