Authentication
This endpoint is currently public and does not require authentication.While this endpoint is currently public, it may be protected with admin/assistant role requirements in future versions.
Key Information
- Public clients are created when users book appointments through the public booking system
- These are separate from the Personas and Usuarios tables
- Results are ordered by creation date (newest first)
- Clients have simpler information compared to full persona records
Response
Returns an array of client objects:id(integer): Auto-incremented client identifiernombre(string): Client nameemail(string): Client emailtelefono(string): Client phone numbercreated_at(datetime): Timestamp of client creation- Additional fields as defined in the schema
Use Cases
Clientes_publicos are automatically created when:- Public users book appointments through the public booking interface
- No authentication is required for the booking process
- The system needs to store basic contact information for appointment notifications
Relationship with Other Entities
Public clients (clientes_publicos) are separate from:- Personas: Used for detailed personal records of patients and staff
- Usuarios: Used for authenticated system users with roles