User

Get Current User

Get profile information for the authenticated user. Use this to verify authentication is working and check sync status. Returns: external user id, email, name, account creation date, and sync completion status (is_sync_complete). The is_sync_complete flag indicates whether the user's network data is ready for queries. Two fields describe the partner-app link, not the user: is_active is false and id is an empty string whenever the caller is a direct Village user rather than a partner application. That is normal — it does not mean the account is inactive or unidentified. Identify the user by email and ignore both fields.

get/v2/user/me

Request

  • Base URL: https://api.village.ai
  • URL: https://api.village.ai/v2/user/me
  • Auth: HTTP bearer

Response

User information retrieved successfully

Example response

{
  "data": {
    "id": "user_abc123",
    "email": "john@example.com",
    "name": "John Doe",
    "created_at": "2024-01-01T00:00:00.000Z",
    "is_sync_complete": true,
    "is_active": true
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.