GET
/
user
/
{id}
{
  "id": "78c30460ebbbdb349567a39a10a2c845",
  "name": "John Doe",
  "email": "john.doe@example.com",
  "image": "https://example.com/image.png",
  "role": "admin",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Authorizations

Better-Auth Session
string
cookie
required

Path Parameters

id
string
required

Response

200
application/json
User retrieved successfully

The response is of type object.