Skip to content
Dashboard
Theme
Theme

List or search end users

GET /v1/users: List or search end users.

View Markdown

GET /v1/users

Scope
users:read
Auth
Secret key (sk_…)
Since
1.0
  • limit integer

    min 1 · max 100 · default 20

  • after string

    Cursor from next_cursor.

  • before string

  • email string

    Case-insensitive email prefix to search for.

    min length 1 · max length 320

  • organization string

    Only members of this organization (an org_ ID).

    min length 1 · max length 320

  • OhAuthCat-Version string

    Minor version; defaults to the environment’s pin.

Errors share one shape; see the error code catalogue.

curl -X GET \
"https://api.ohauthcat.com/v1/users" \
-H "Authorization: Bearer $OHAUTHCAT_API_KEY"
Response 200
{
"object": "list",
"data": [
{
"id": "usr_01J9Z3K5V7W8X9Y0Z1A2B3C4D5",
"object": "user",
"email": "jane@acme.com",
"email_verified": true,
"first_name": "Jane",
"last_name": "Doe",
"locale": "en-US",
"external_id": "acme-123",
"metadata": {
"plan": "enterprise"
},
"state": "active",
"last_sign_in_at": "2026-01-15T09:30:00Z",
"created_at": "2026-01-15T09:30:00Z",
"updated_at": "2026-01-15T09:30:00Z"
}
],
"has_more": true,
"next_cursor": "cur_01J9Z3K5V7W8X9Y0Z1A2B3C4D5"
}