curl --request GET \
--url https://api.example.com/api/contacto{
"contactos": [
{
"id": 123,
"cliente_id": 123,
"asunto": "<string>",
"mensaje": "<string>",
"created_at": "<string>",
"cliente": {
"cliente.nombres": "<string>",
"cliente.apellidos": "<string>",
"cliente.telefono": "<string>",
"cliente.email": "<string>"
}
}
],
"500 Internal Server Error": {}
}Retrieve all contact messages with client information
curl --request GET \
--url https://api.example.com/api/contacto{
"contactos": [
{
"id": 123,
"cliente_id": 123,
"asunto": "<string>",
"mensaje": "<string>",
"created_at": "<string>",
"cliente": {
"cliente.nombres": "<string>",
"cliente.apellidos": "<string>",
"cliente.telefono": "<string>",
"cliente.email": "<string>"
}
}
],
"500 Internal Server Error": {}
}This endpoint retrieves all contact messages submitted by public clients, ordered by creation date (newest first). Each message includes the associated client’s information.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.
{
"message": "Error al listar contactos"
}
curl -X GET https://api.example.com/api/contacto \
-H "Content-Type: application/json"
[
{
"id": 78,
"cliente_id": 45,
"asunto": "Consulta sobre horarios de atención",
"mensaje": "Buenos días, quisiera saber si atienden los días sábados y cuál es el horario. Gracias.",
"created_at": "2026-03-05T14:45:00.000Z",
"cliente": {
"nombres": "Juan",
"apellidos": "Pérez",
"telefono": "+502 5555-1234",
"email": "[email protected]"
}
},
{
"id": 77,
"cliente_id": 42,
"asunto": "Solicitud de información sobre especialidades",
"mensaje": "Me gustaría saber qué especialidades médicas ofrecen.",
"created_at": "2026-03-04T10:20:00.000Z",
"cliente": {
"nombres": "María",
"apellidos": "González",
"telefono": "+502 5555-5678",
"email": "[email protected]"
}
}
]
created_at in descending order (newest first)