v0 Platform API/API Reference/User
Get User
Retrieves information about the authenticated user, including their ID, name, email, and account metadata.
Retrieves information about the authenticated user, including their ID, name, email, and account metadata.
import { v0 } from 'v0-sdk'
const result = await v0.user.get()
console.log(result)
A unique identifier for the user.
Fixed value identifying this object as a user.
Optional full name of the user.
The user’s email address.
URL to the user’s avatar image.