curl --request PUT \
--url https://api.example.com/api/contacto/:id \
--header 'Content-Type: application/json' \
--data '
{
"asunto": "<string>",
"mensaje": "<string>"
}
'{
"message": "<string>",
"contacto": {
"contacto.id": 123,
"contacto.cliente_id": 123,
"contacto.asunto": "<string>",
"contacto.mensaje": "<string>",
"contacto.created_at": "<string>"
},
"400 Bad Request": {},
"500 Internal Server Error": {}
}Update the subject or message content of a contact message
curl --request PUT \
--url https://api.example.com/api/contacto/:id \
--header 'Content-Type: application/json' \
--data '
{
"asunto": "<string>",
"mensaje": "<string>"
}
'{
"message": "<string>",
"contacto": {
"contacto.id": 123,
"contacto.cliente_id": 123,
"contacto.asunto": "<string>",
"contacto.mensaje": "<string>",
"contacto.created_at": "<string>"
},
"400 Bad Request": {},
"500 Internal Server Error": {}
}This endpoint allows updating the subject (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.
asunto) or message content (mensaje) of an existing contact message. At least one field must be provided.
asunto or mensaje must be provided in the request body.{
"message": "ID inválido"
}
{
"message": "Debe enviar asunto o mensaje para actualizar"
}
{
"message": "Error al actualizar mensaje"
}
curl -X PUT https://api.example.com/api/contacto/78 \
-H "Content-Type: application/json" \
-d '{
"asunto": "Consulta urgente sobre horarios",
"mensaje": "Buenos días, necesito saber urgentemente si atienden los sábados. Gracias."
}'
{
"message": "Mensaje actualizado correctamente",
"contacto": {
"id": 78,
"cliente_id": 45,
"asunto": "Consulta urgente sobre horarios",
"mensaje": "Buenos días, necesito saber urgentemente si atienden los sábados. Gracias.",
"created_at": "2026-03-05T14:45:00.000Z"
}
}
asunto and mensaje fields can be updatedcliente_id cannot be changed