PixelDance
V1UsersSearch

Search users by name

GET
/v1/users/search

Authorization

cookieAuth
better-auth.session_token<token>

Session cookie set by Better Auth. Login via the app to obtain.

In: cookie

Query Parameters

q*string
Length1 <= length

Response Body

application/json

curl -X GET "http://localhost:3002/v1/users/search?q=john"
{
  "data": [
    "string"
  ]
}