Skip to main content
GET
/
api
/
users
/
search
cURL
curl --request GET \
  --url https://app.cotool.ai/api/users/search \
  --header 'Authorization: Bearer <token>'
{
  "users": [
    {
      "id": "<string>",
      "email": "<string>",
      "createdAt": "2025-06-17T12:34:56.789Z",
      "updatedAt": "2025-06-17T12:34:56.789Z",
      "lastLogin": "2025-06-17T12:34:56.789Z",
      "organization": "<string>"
    }
  ],
  "count": 123
}

Authorizations

Authorization
string
header
required

API Key authentication for programmatic access. Include your API key in the Authorization header as: Bearer your_api_key_here

Query Parameters

email
string
required

Email address to search for (partial matches supported)

Minimum length: 1

Response

200 - application/json

Successful response

Response containing users and count information

users
object[]
required

Array of user records

count
number
required

Total number of users returned