---
title: "Registro de votación de un congresista"
method: GET
path: "/v1/congreso/congresistas/{slug}/votos"
tags: ["Congreso"]
---

# Registro de votación de un congresista

`GET /v1/congreso/congresistas/{slug}/votos`

## Request

- Base URL: `https://api.alfil.co`
- URL: `https://api.alfil.co/v1/congreso/congresistas/{slug}/votos`
- Auth: OAuth 2 (authorization code, authorization URL `https://api.alfil.co/oauth/authorize`, token URL `https://api.alfil.co/oauth/token`, scopes: `buscar:read`)

Historial de votos de un congresista, con el proyecto referenciado en cada uno.

## Path parameters

- `slug` string, required

## Response `200`

Registro de votación

- CongresistaVotosResponse: Registro de votación de un congresista (atribución Congreso Visible — Uniandes)
  - `congresista` CongresistaPerfil, required
    - `id` string, required
    - `nombre` string, required
    - `slug` string, required
    - `politico_id` string
  - `data` CongresistaVoto[], required
    - `votacion_id` string, required
    - `fecha` string, nullable, required
    - `respuesta` 'favor' | 'contra' | 'abstencion' | 'ausente' | 'presente' | 'no_aplica', required
    - `proyecto` CongresistaProyectoReferenciado, required
      - `id` string, required
      - `titulo` string, required
      - `slug` string, nullable, required
  - `truncado` boolean, required: true si el historial de votos se cortó al límite de lectura
  - `fuente` Fuente, required: Proveniencia: fuente oficial y fecha de corte (atribución Ley 1712)
    - `nombre` string, required: Fuente oficial del dato
    - `url` string: URL de la fuente oficial
    - `corte` string, required: Fecha de corte del dato (ISO 8601)
    - `licencia` string: Licencia de la fuente
  - `referencias` Referencia[], required
    - `tipo` 'pagina_alfil' | 'registro_oficial' | 'documento_oficial' | 'coleccion_oficial', required
    - `titulo` string, required
    - `url` string, uri, required
    - `proveedor` string, required
    - `id_externo` string

## Other responses

- `401`: Token faltante, expirado o de emisor inesperado
- `403`: Scope insuficiente
- `429`: Cuota agotada o rate limit

---

[API](https://skmtc.dev/alfil/apis/alfil-api.md) · [All operations](https://skmtc.dev/alfil/apis/alfil-api/llms.txt) · [OpenAPI document](https://skmtc.dev/alfil/apis/alfil-api/revisions/e2545a4c45a5?raw)
