V2 (Preview)
cURL
curl --request GET \ --url https://api.village.do/v2/user/me \ --header 'Authorization: Bearer <token>'
{ "data": { "id": "user_abc123", "email": "[email protected]", "name": "John Doe", "created_at": "2024-01-01T00:00:00.000Z", "is_sync_complete": true, "is_active": true }, "metadata": { "request_id": "<string>" } }
Returns basic information and status for the currently authenticated user.
JWT token obtained from authentication endpoint
User information retrieved successfully
Current authenticated user information
Show child attributes
External user identifier provided by the partner application
"user_abc123"
User email address
"[email protected]"
User full name
"John Doe"
Account creation timestamp in ISO 8601 format
"2024-01-01T00:00:00.000Z"
Whether the user has completed syncing their network data
true
Whether the user is active in the partner application
Was this page helpful?