Get User

Retrieves information about the authenticated user, including their ID, name, email, and account metadata.

GET /user
import { v0 } from 'v0-sdk'

const result = await v0.user.get()

console.log(result)

Response

Response Body

id string Required

A unique identifier for the user.


object string Required

Fixed value identifying this object as a user.


name string

Optional full name of the user.


email string Required

The user’s email address.


avatar string Required

URL to the user’s avatar image.