curl -X GET "https://api.example.com/api/comunicados/1" \
-H "Authorization: Bearer YOUR_TOKEN"
{
"id_comunicado": 1,
"titulo": "Welcome to the Portal",
"contenido": "We are excited to announce the launch of our new self-service portal. This platform will enable you to manage your account, submit requests, and access important company information.",
"fecha_publicacion": "2026-03-01T10:00:00Z",
"activo": true,
"media_url": "https://example.com/media/welcome.jpg",
"fecha_creacion": "2026-02-28T15:30:00Z",
"fecha_actualizacion": "2026-02-28T15:30:00Z"
}
Retrieve a specific active announcement by its unique identifier
curl -X GET "https://api.example.com/api/comunicados/1" \
-H "Authorization: Bearer YOUR_TOKEN"
{
"id_comunicado": 1,
"titulo": "Welcome to the Portal",
"contenido": "We are excited to announce the launch of our new self-service portal. This platform will enable you to manage your account, submit requests, and access important company information.",
"fecha_publicacion": "2026-03-01T10:00:00Z",
"activo": true,
"media_url": "https://example.com/media/welcome.jpg",
"fecha_creacion": "2026-02-28T15:30:00Z",
"fecha_actualizacion": "2026-02-28T15:30:00Z"
}
curl -X GET "https://api.example.com/api/comunicados/1" \
-H "Authorization: Bearer YOUR_TOKEN"
{
"id_comunicado": 1,
"titulo": "Welcome to the Portal",
"contenido": "We are excited to announce the launch of our new self-service portal. This platform will enable you to manage your account, submit requests, and access important company information.",
"fecha_publicacion": "2026-03-01T10:00:00Z",
"activo": true,
"media_url": "https://example.com/media/welcome.jpg",
"fecha_creacion": "2026-02-28T15:30:00Z",
"fecha_actualizacion": "2026-02-28T15:30:00Z"
}