Skip to main content
GET
/
api
/
access
/
collections
/
{collection_id}
/
clients
List Collection's Clients
curl --request GET \
  --url https://api.example.com/api/access/collections/{collection_id}/clients \
  --header 'Authorization: <authorization>'

Authentication

Authorization
string
required
Bearer token: Bearer <admin_token>

Path Parameters

collection_id
string
required
The collection ID (UUID)

Example Request

curl https://api.sari-platform.com/api/access/collections/550e8400-e29b-41d4-a716-446655440000/clients \
  -H "Authorization: Bearer <admin_token>"

Response

Returns all clients with access to the specified collection.
[
  {
    "client_id": "client-uuid-1",
    "email": "user@example.com",
    "full_name": "John Doe",
    "company_name": "Acme Corp",
    "granted_at": "2024-01-15T10:00:00Z"
  },
  {
    "client_id": "client-uuid-2",
    "email": "jane@company.com",
    "full_name": "Jane Smith",
    "company_name": "Tech Inc",
    "granted_at": "2024-01-16T14:00:00Z"
  }
]

Errors

StatusDescription
401Invalid or expired token
403Admin access required
404Collection not found