cURL
curl --request GET \ --url https://api.example.com/api/profiles/ \ --header 'Authorization: <authorization>'
List all user profiles (admin only)
Bearer <admin_token>
curl https://api.sari-platform.com/api/profiles/ \ -H "Authorization: Bearer <admin_token>"
[ { "id": "550e8400-e29b-41d4-a716-446655440000", "email": "user@example.com", "full_name": "John Doe", "company_name": "Acme Corp", "role": "client", "registration_status": "approved", "client_id": "client_abc123", "created_at": "2024-01-15T10:30:00Z" }, { "id": "550e8400-e29b-41d4-a716-446655440001", "email": "pending@example.com", "full_name": "Jane Smith", "company_name": "New Startup", "role": "client", "registration_status": "pending", "client_id": null, "created_at": "2024-01-16T08:00:00Z" } ]