GET
/
users
[
  {
    "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",
    "userPlan": {
      "planType": "FREE",
      "planName": "Pro",
      "planStatus": "ACTIVE"
    }
  }
]

Authorizations

Better-Auth Session
string
cookie
required

Response

200
application/json
List of users retrieved successfully

The response is of type object[].