# 📚 Servicio de Estudios con CĂ©dula (CĂ©dulas SEP)

# Headers (solo en caso de tener API Key)

{
  "X-API-KEY": "1a2b3c4d5e6f1a2b3c4d5e6f1a2b3c4d5e6f1a2b3c4d5e6f"
}

# ParĂĄmetros en URL

cedula = 1418552

# Ejemplo

https://consultaunica.mx/api/v2/studies?cedula=1418552

# Respuesta exitosa. HTTP 200

{
    "title": "LICENCIATURA EN CIENCIAS POLÍTICAS Y ADMINISTRACIÓN PÚBLICA",
    "name": "ANDRÉS MANUEL",
    "sex": "Hombre",
    "registrationEntity": "",
    "cedulaType": "C1",
    "institution": "UNIVERSIDAD NACIONAL AUTÓNOMA DE MÉXICO",
    "fullName": "ANDRÉS MANUEL LÓPEZ OBRADOR",
    "paternalName": "LÓPEZ",
    "maternalName": "OBRADOR",
    "cedula": "1418552",
    "registrationYear": 1989
}

# ⚠ No se encontrĂł el telĂ©fono. HTTP 204

// vacio

# ❌ Error de cĂ©dula. HTTP 400

La cédula debe tener entre 1 y 8 caracteres.

{
    "message": "{'cedula': ['Length must be between 1 and 8.']}"
}

# ❌ Error desconocido. HTTP 500

{
    "message": "Mensaje describiendo el error"
}