---
title: "Get Modalidad Config"
method: GET
path: "/api/copilot/modalidades/{nombre}"
tags: ["copilot_frontend", "copilot"]
---

# Get Modalidad Config

`GET /api/copilot/modalidades/{nombre}`

Obtiene la configuración de una modalidad desde la BD.

Args:
    nombre: Nombre de la modalidad ('visita', 'llamada', 'mantenimiento', etc.)

Examples:
    - `/modalidades/llamada` → Config de llamadas
    - `/modalidades/visita` → Config de visitas

**🔒 Endpoint Protegido:** Requiere autenticación JWT y rol 'ui_mantenimiento' o 'admin'

## Path parameters

- `nombre` string, required

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/hogarsolar/apis/hogarsolar-backend-api.md) · [All operations](https://skmtc.dev/hogarsolar/apis/hogarsolar-backend-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hogarsolar/hogarsolar-backend-api/revisions/d9861e46bef8/schema)
