v0 Platform API/API Reference/User
Get User
Retrieves information about the authenticated user, including their ID, name, email, and account metadata.
GET/v1/user
Usage
TypeScript Example
Response
id: string
A unique identifier for the user.
object: 'user'
Fixed value identifying this object as a user.
name?: string
Optional full name of the user.
email: string
The user's email address.
avatar: string
URL to the user's avatar image.
createdAt: string
The ISO timestamp representing when the user was created.
updatedAt?: string
The ISO timestamp of the last update to the user.