cURL
curl -X GET "https://app.cotool.ai/api/users" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json"
{ "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>", "roleId": "<string>" } ], "count": 123 }
Retrieve all users within the current organization.
API Key authentication for programmatic access. Include your API key in the Authorization header as: Bearer your_api_key_here
Bearer your_api_key_here
Successful response
Response containing users and count information
Array of user records
Show child attributes
Total number of users returned
Was this page helpful?