Retrieves a specific public client by their ID.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Bran258/api_centro_medico/llms.txt
Use this file to discover all available pages before exploring further.
Authentication
This endpoint is currently public and does not require authentication.While this endpoint is currently public, consider the security implications of exposing client data without authentication.
URL Parameters
id(integer, required): The client ID to retrieve
Response
Returns a single client object: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
Error Responses
404: Client not found
Use Cases
This endpoint is useful for:- Retrieving client information for appointment confirmations
- Looking up booking details by client ID
- Verifying client information before processing appointments
Public Appointment Flow
Clientes_publicos are created automatically when public users book appointments:- User visits the public booking page
- User fills in their contact information (name, email, phone)
- System creates a clientes_publicos record
- Client ID is linked to the appointment record
- Confirmation emails are sent using the stored contact information