Back to Docs

User API

Get information about the currently authenticated user.


Endpoints

GET Get Current User

Returns profile information for the token owner.

https://neubot.joshattic.us/api/user

Headers

Header Value Required Description
Authorization Bearer <token> Yes Authentication token.

Response Schema

{
  "authenticated": true,
  "user": {
    "id": "google_123456789",    // Unique User ID
    "name": "John Doe",          // Display Name
    "email": "[email protected]", // Email Address
    "provider": "google",        // Identity Provider
    "profile_pic": "https://..." // Avatar URL
  }
}