Skip to main content
GET
/
api
/
auth
/
users
List all users (admin only)
curl --request GET \
  --url https://api.example.com/api/auth/users \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "email": "[email protected]",
      "metadata": {},
      "emailVerified": true,
      "providers": [
        "<string>"
      ],
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "pagination": {
    "offset": 123,
    "limit": 123,
    "total": 123
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

offset
string
default:0

Number of records to skip

limit
string
default:10

Maximum number of records to return

Search by email or name

Response

List of users

data
object[]
pagination
object