{
  "info": {
    "name": "Face ID API",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "_postman_id": "3e7e76f7-6bbc-424b-95f3-6022a5bb3a78",
    "description": "Colección Postman Face ID v70. Acompaña documentación docs/api.php con detalle por acción."
  },
  "variable": [
    {
      "key": "base_url",
      "value": "https://biometrics.com.ar/api/faceid_dev/v1"
    },
    {
      "key": "api_user",
      "value": "admin@cliente.com"
    },
    {
      "key": "api_password",
      "value": "password_dashboard"
    },
    {
      "key": "tenant_user",
      "value": "nombre_usuario"
    },
    {
      "key": "lista_id",
      "value": "15"
    },
    {
      "key": "persona_id",
      "value": "20"
    },
    {
      "key": "persona_lista_id",
      "value": "26"
    },
    {
      "key": "punto_id",
      "value": "23"
    },
    {
      "key": "punto_token",
      "value": "TOKEN_PUBLICO_PUNTO"
    },
    {
      "key": "nominal_id",
      "value": "1"
    },
    {
      "key": "nominal_token",
      "value": "TOKEN_NOMINAL"
    },
    {
      "key": "punto_fijo_grupo",
      "value": "fijo_1"
    }
  ],
  "item": [
    {
      "name": "Health / Config pública",
      "item": [
        {
          "name": "Health",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/endpoints/health.php",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "endpoints",
                "health.php"
              ]
            },
            "description": ""
          }
        },
        {
          "name": "Config pública punto",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/endpoints/puntos/config_publica.php?punto_token={{punto_token}}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "endpoints",
                "puntos",
                "config_publica.php"
              ],
              "query": [
                {
                  "key": "punto_token",
                  "value": "{{punto_token}}"
                }
              ]
            },
            "description": ""
          }
        },
        {
          "name": "Config pública nominal",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/endpoints/personas/config_nominal_publica.php?nominal_token={{nominal_token}}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "endpoints",
                "personas",
                "config_nominal_publica.php"
              ],
              "query": [
                {
                  "key": "nominal_token",
                  "value": "{{nominal_token}}"
                }
              ]
            },
            "description": ""
          }
        },
        {
          "name": "Config pública punto fijo",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/endpoints/puntos/config_fijo_publica.php?user={{tenant_user}}&punto_fijo_grupo={{punto_fijo_grupo}}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "endpoints",
                "puntos",
                "config_fijo_publica.php"
              ],
              "query": [
                {
                  "key": "user",
                  "value": "{{tenant_user}}"
                },
                {
                  "key": "punto_fijo_grupo",
                  "value": "{{punto_fijo_grupo}}"
                }
              ]
            },
            "description": ""
          }
        }
      ]
    },
    {
      "name": "Listas CRUD",
      "item": [
        {
          "name": "Listar listas",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-FaceID-User",
                "value": "{{api_user}}",
                "type": "text"
              },
              {
                "key": "X-FaceID-Password",
                "value": "{{api_password}}",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{base_url}}/endpoints/api/listas.php?user={{tenant_user}}&estado=Activo",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "endpoints",
                "api",
                "listas.php"
              ],
              "query": [
                {
                  "key": "user",
                  "value": "{{tenant_user}}"
                },
                {
                  "key": "estado",
                  "value": "Activo"
                }
              ]
            },
            "description": ""
          }
        },
        {
          "name": "Ver lista",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-FaceID-User",
                "value": "{{api_user}}",
                "type": "text"
              },
              {
                "key": "X-FaceID-Password",
                "value": "{{api_password}}",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{base_url}}/endpoints/api/listas.php?id={{lista_id}}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "endpoints",
                "api",
                "listas.php"
              ],
              "query": [
                {
                  "key": "id",
                  "value": "{{lista_id}}"
                }
              ]
            },
            "description": ""
          }
        },
        {
          "name": "Crear lista",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-FaceID-User",
                "value": "{{api_user}}",
                "type": "text"
              },
              {
                "key": "X-FaceID-Password",
                "value": "{{api_password}}",
                "type": "text"
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{base_url}}/endpoints/api/listas.php",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "endpoints",
                "api",
                "listas.php"
              ]
            },
            "description": "",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"user\": \"{{tenant_user}}\",\n  \"nombre\": \"Empleados API\",\n  \"estado\": \"Activo\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Actualizar lista",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "X-FaceID-User",
                "value": "{{api_user}}",
                "type": "text"
              },
              {
                "key": "X-FaceID-Password",
                "value": "{{api_password}}",
                "type": "text"
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{base_url}}/endpoints/api/listas.php?id={{lista_id}}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "endpoints",
                "api",
                "listas.php"
              ],
              "query": [
                {
                  "key": "id",
                  "value": "{{lista_id}}"
                }
              ]
            },
            "description": "",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"nombre\": \"Empleados API editada\",\n  \"estado\": \"Activo\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Borrar lista",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "X-FaceID-User",
                "value": "{{api_user}}",
                "type": "text"
              },
              {
                "key": "X-FaceID-Password",
                "value": "{{api_password}}",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{base_url}}/endpoints/api/listas.php?id={{lista_id}}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "endpoints",
                "api",
                "listas.php"
              ],
              "query": [
                {
                  "key": "id",
                  "value": "{{lista_id}}"
                }
              ]
            },
            "description": ""
          }
        }
      ]
    },
    {
      "name": "Personas CRUD",
      "item": [
        {
          "name": "Listar personas",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-FaceID-User",
                "value": "{{api_user}}",
                "type": "text"
              },
              {
                "key": "X-FaceID-Password",
                "value": "{{api_password}}",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{base_url}}/endpoints/api/personas.php?user={{tenant_user}}&limit=100",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "endpoints",
                "api",
                "personas.php"
              ],
              "query": [
                {
                  "key": "user",
                  "value": "{{tenant_user}}"
                },
                {
                  "key": "limit",
                  "value": "100"
                }
              ]
            },
            "description": ""
          }
        },
        {
          "name": "Ver persona/asociación",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-FaceID-User",
                "value": "{{api_user}}",
                "type": "text"
              },
              {
                "key": "X-FaceID-Password",
                "value": "{{api_password}}",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{base_url}}/endpoints/api/personas.php?persona_lista_id={{persona_lista_id}}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "endpoints",
                "api",
                "personas.php"
              ],
              "query": [
                {
                  "key": "persona_lista_id",
                  "value": "{{persona_lista_id}}"
                }
              ]
            },
            "description": ""
          }
        },
        {
          "name": "Crear persona con imagen",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-FaceID-User",
                "value": "{{api_user}}",
                "type": "text"
              },
              {
                "key": "X-FaceID-Password",
                "value": "{{api_password}}",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{base_url}}/endpoints/api/personas.php",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "endpoints",
                "api",
                "personas.php"
              ]
            },
            "description": "",
            "body": {
              "mode": "formdata",
              "formdata": [
                {
                  "key": "user",
                  "value": "{{tenant_user}}",
                  "type": "text"
                },
                {
                  "key": "nombre",
                  "value": "nombre_prueba",
                  "type": "text"
                },
                {
                  "key": "apellido",
                  "value": "apellido_prueba",
                  "type": "text"
                },
                {
                  "key": "identificador",
                  "value": "12345678",
                  "type": "text"
                },
                {
                  "key": "lista_id",
                  "value": "{{lista_id}}",
                  "type": "text"
                },
                {
                  "key": "estado",
                  "value": "Activo",
                  "type": "text"
                },
                {
                  "key": "imagen",
                  "type": "file",
                  "src": ""
                }
              ]
            }
          }
        },
        {
          "name": "Actualizar persona",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "X-FaceID-User",
                "value": "{{api_user}}",
                "type": "text"
              },
              {
                "key": "X-FaceID-Password",
                "value": "{{api_password}}",
                "type": "text"
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{base_url}}/endpoints/api/personas.php?persona_id={{persona_id}}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "endpoints",
                "api",
                "personas.php"
              ],
              "query": [
                {
                  "key": "persona_id",
                  "value": "{{persona_id}}"
                }
              ]
            },
            "description": "",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"nombre\": \"nombre_prueba\",\n  \"apellido\": \"apellido_prueba\",\n  \"identificador\": \"12345678\",\n  \"estado\": \"Activo\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Borrar persona/asociación",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "X-FaceID-User",
                "value": "{{api_user}}",
                "type": "text"
              },
              {
                "key": "X-FaceID-Password",
                "value": "{{api_password}}",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{base_url}}/endpoints/api/personas.php?persona_lista_id={{persona_lista_id}}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "endpoints",
                "api",
                "personas.php"
              ],
              "query": [
                {
                  "key": "persona_lista_id",
                  "value": "{{persona_lista_id}}"
                }
              ]
            },
            "description": ""
          }
        }
      ]
    },
    {
      "name": "Puntos CRUD",
      "item": [
        {
          "name": "Listar puntos",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-FaceID-User",
                "value": "{{api_user}}",
                "type": "text"
              },
              {
                "key": "X-FaceID-Password",
                "value": "{{api_password}}",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{base_url}}/endpoints/api/puntos.php?user={{tenant_user}}&estado=Activo",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "endpoints",
                "api",
                "puntos.php"
              ],
              "query": [
                {
                  "key": "user",
                  "value": "{{tenant_user}}"
                },
                {
                  "key": "estado",
                  "value": "Activo"
                }
              ]
            },
            "description": ""
          }
        },
        {
          "name": "Ver punto",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-FaceID-User",
                "value": "{{api_user}}",
                "type": "text"
              },
              {
                "key": "X-FaceID-Password",
                "value": "{{api_password}}",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{base_url}}/endpoints/api/puntos.php?id={{punto_id}}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "endpoints",
                "api",
                "puntos.php"
              ],
              "query": [
                {
                  "key": "id",
                  "value": "{{punto_id}}"
                }
              ]
            },
            "description": ""
          }
        },
        {
          "name": "Crear punto checkin geo",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-FaceID-User",
                "value": "{{api_user}}",
                "type": "text"
              },
              {
                "key": "X-FaceID-Password",
                "value": "{{api_password}}",
                "type": "text"
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{base_url}}/endpoints/api/puntos.php",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "endpoints",
                "api",
                "puntos.php"
              ]
            },
            "description": "",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"user\": \"{{tenant_user}}\",\n  \"nombre\": \"Sucursal API\",\n  \"lista_id\": \"{{lista_id}}\",\n  \"tipo_servicio\": \"checkin_geo\",\n  \"threshold\": 90,\n  \"max_faces\": 1,\n  \"requiere_geo\": 1,\n  \"geo_lat\": -34.54652,\n  \"geo_lng\": -58.47,\n  \"radio_m\": 100,\n  \"estado\": \"Activo\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Crear punto fijo",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-FaceID-User",
                "value": "{{api_user}}",
                "type": "text"
              },
              {
                "key": "X-FaceID-Password",
                "value": "{{api_password}}",
                "type": "text"
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{base_url}}/endpoints/api/puntos.php",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "endpoints",
                "api",
                "puntos.php"
              ]
            },
            "description": "",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"user\": \"{{tenant_user}}\",\n  \"nombre\": \"Fijo API\",\n  \"lista_id\": \"{{lista_id}}\",\n  \"tipo_servicio\": \"punto_fijo\",\n  \"punto_fijo_grupo\": \"{{punto_fijo_grupo}}\",\n  \"threshold\": 90,\n  \"max_faces\": 1,\n  \"punto_fijo_capacidad_tecnica\": \"alta\",\n  \"estado\": \"Activo\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Actualizar punto",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "X-FaceID-User",
                "value": "{{api_user}}",
                "type": "text"
              },
              {
                "key": "X-FaceID-Password",
                "value": "{{api_password}}",
                "type": "text"
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{base_url}}/endpoints/api/puntos.php?id={{punto_id}}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "endpoints",
                "api",
                "puntos.php"
              ],
              "query": [
                {
                  "key": "id",
                  "value": "{{punto_id}}"
                }
              ]
            },
            "description": "",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"nombre\": \"Sucursal API editada\",\n  \"threshold\": 90,\n  \"estado\": \"Activo\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Borrar punto",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "X-FaceID-User",
                "value": "{{api_user}}",
                "type": "text"
              },
              {
                "key": "X-FaceID-Password",
                "value": "{{api_password}}",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{base_url}}/endpoints/api/puntos.php?id={{punto_id}}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "endpoints",
                "api",
                "puntos.php"
              ],
              "query": [
                {
                  "key": "id",
                  "value": "{{punto_id}}"
                }
              ]
            },
            "description": ""
          }
        }
      ]
    },
    {
      "name": "Nominales CRUD",
      "item": [
        {
          "name": "Listar nominales",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-FaceID-User",
                "value": "{{api_user}}",
                "type": "text"
              },
              {
                "key": "X-FaceID-Password",
                "value": "{{api_password}}",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{base_url}}/endpoints/api/nominales.php?user={{tenant_user}}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "endpoints",
                "api",
                "nominales.php"
              ],
              "query": [
                {
                  "key": "user",
                  "value": "{{tenant_user}}"
                }
              ]
            },
            "description": ""
          }
        },
        {
          "name": "Ver nominal",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-FaceID-User",
                "value": "{{api_user}}",
                "type": "text"
              },
              {
                "key": "X-FaceID-Password",
                "value": "{{api_password}}",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{base_url}}/endpoints/api/nominales.php?id={{nominal_id}}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "endpoints",
                "api",
                "nominales.php"
              ],
              "query": [
                {
                  "key": "id",
                  "value": "{{nominal_id}}"
                }
              ]
            },
            "description": ""
          }
        },
        {
          "name": "Crear nominal",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-FaceID-User",
                "value": "{{api_user}}",
                "type": "text"
              },
              {
                "key": "X-FaceID-Password",
                "value": "{{api_password}}",
                "type": "text"
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{base_url}}/endpoints/api/nominales.php",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "endpoints",
                "api",
                "nominales.php"
              ]
            },
            "description": "",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"user\": \"{{tenant_user}}\",\n  \"persona_id\": \"{{persona_id}}\",\n  \"punto_id\": \"{{punto_id}}\",\n  \"temporalidad\": \"permanente\",\n  \"estado\": \"Activo\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Actualizar nominal",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "X-FaceID-User",
                "value": "{{api_user}}",
                "type": "text"
              },
              {
                "key": "X-FaceID-Password",
                "value": "{{api_password}}",
                "type": "text"
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{base_url}}/endpoints/api/nominales.php?id={{nominal_id}}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "endpoints",
                "api",
                "nominales.php"
              ],
              "query": [
                {
                  "key": "id",
                  "value": "{{nominal_id}}"
                }
              ]
            },
            "description": "",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"temporalidad\": \"invitacion\",\n  \"invitacion_modo\": \"usos\",\n  \"max_usos\": 5,\n  \"estado\": \"Activo\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Borrar nominal",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "X-FaceID-User",
                "value": "{{api_user}}",
                "type": "text"
              },
              {
                "key": "X-FaceID-Password",
                "value": "{{api_password}}",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{base_url}}/endpoints/api/nominales.php?id={{nominal_id}}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "endpoints",
                "api",
                "nominales.php"
              ],
              "query": [
                {
                  "key": "id",
                  "value": "{{nominal_id}}"
                }
              ]
            },
            "description": ""
          }
        }
      ]
    },
    {
      "name": "Eventos / Online",
      "item": [
        {
          "name": "Listar eventos",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-FaceID-User",
                "value": "{{api_user}}",
                "type": "text"
              },
              {
                "key": "X-FaceID-Password",
                "value": "{{api_password}}",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{base_url}}/endpoints/api/eventos.php?user={{tenant_user}}&limit=100",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "endpoints",
                "api",
                "eventos.php"
              ],
              "query": [
                {
                  "key": "user",
                  "value": "{{tenant_user}}"
                },
                {
                  "key": "limit",
                  "value": "100"
                }
              ]
            },
            "description": ""
          }
        },
        {
          "name": "Eventos por punto",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-FaceID-User",
                "value": "{{api_user}}",
                "type": "text"
              },
              {
                "key": "X-FaceID-Password",
                "value": "{{api_password}}",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{base_url}}/endpoints/api/eventos.php?punto_id={{punto_id}}&limit=100",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "endpoints",
                "api",
                "eventos.php"
              ],
              "query": [
                {
                  "key": "punto_id",
                  "value": "{{punto_id}}"
                },
                {
                  "key": "limit",
                  "value": "100"
                }
              ]
            },
            "description": ""
          }
        },
        {
          "name": "Eventos por nominal",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "X-FaceID-User",
                "value": "{{api_user}}",
                "type": "text"
              },
              {
                "key": "X-FaceID-Password",
                "value": "{{api_password}}",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{base_url}}/endpoints/api/eventos.php?nominal_id={{nominal_id}}&limit=100",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "endpoints",
                "api",
                "eventos.php"
              ],
              "query": [
                {
                  "key": "nominal_id",
                  "value": "{{nominal_id}}"
                },
                {
                  "key": "limit",
                  "value": "100"
                }
              ]
            },
            "description": ""
          }
        },
        {
          "name": "Eventos live dashboard",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/dashboard/eventos_live.php?last_id=0&limit=100",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "dashboard",
                "eventos_live.php"
              ],
              "query": [
                {
                  "key": "last_id",
                  "value": "0"
                },
                {
                  "key": "limit",
                  "value": "100"
                }
              ]
            },
            "description": ""
          }
        }
      ],
      "description": "Consulta de eventos registrados y feed live del dashboard. Eventos devuelve datos enriquecidos como Detalle: persona, asociación, créditos, estado de lista/asociación, dispositivo e imagen_url segura."
    },
    {
      "name": "Validaciones operativas / Registrar evento",
      "item": [
        {
          "name": "Simular checkin simple/geo por punto_token",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{base_url}}/endpoints/eventos/registrar_checkin.php",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "endpoints",
                "eventos",
                "registrar_checkin.php"
              ]
            },
            "description": "Simula el POST que hace checkin.html/checkin_geo.html. Requiere imagen multipart y punto_token. Registra evento real, consume crédito y dispara callback si está activo.",
            "body": {
              "mode": "formdata",
              "formdata": [
                {
                  "key": "punto_token",
                  "value": "{{punto_token}}",
                  "type": "text"
                },
                {
                  "key": "tipo_servicio",
                  "value": "checkin_geo",
                  "type": "text"
                },
                {
                  "key": "request_id",
                  "value": "postman_{{$timestamp}}",
                  "type": "text"
                },
                {
                  "key": "lat",
                  "value": "-34.54652",
                  "type": "text"
                },
                {
                  "key": "lng",
                  "value": "-58.47",
                  "type": "text"
                },
                {
                  "key": "accuracy_metros",
                  "value": "20",
                  "type": "text"
                },
                {
                  "key": "imagen",
                  "type": "file",
                  "src": ""
                }
              ]
            }
          }
        },
        {
          "name": "Simular checkin nominal por nominal_token",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{base_url}}/endpoints/eventos/registrar_checkin.php",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "endpoints",
                "eventos",
                "registrar_checkin.php"
              ]
            },
            "description": "Simula el POST que hace checkin_nominal.html/checkin_nominal_geo.html. Requiere imagen multipart y nominal_token. Registra evento real, consume crédito y dispara callback si está activo.",
            "body": {
              "mode": "formdata",
              "formdata": [
                {
                  "key": "nominal_token",
                  "value": "{{nominal_token}}",
                  "type": "text"
                },
                {
                  "key": "tipo_servicio",
                  "value": "checkin_nominal",
                  "type": "text"
                },
                {
                  "key": "request_id",
                  "value": "postman_nominal_{{$timestamp}}",
                  "type": "text"
                },
                {
                  "key": "imagen",
                  "type": "file",
                  "src": ""
                }
              ]
            }
          }
        },
        {
          "name": "Simular punto fijo por grupo",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{base_url}}/endpoints/eventos/registrar_checkin.php",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "endpoints",
                "eventos",
                "registrar_checkin.php"
              ]
            },
            "description": "Simula el POST que hace fijo.html con fixed_group_search=1, user y punto_fijo_grupo. El backend busca en todas las listas activas del grupo y registra un único evento final.",
            "body": {
              "mode": "formdata",
              "formdata": [
                {
                  "key": "user",
                  "value": "{{tenant_user}}",
                  "type": "text"
                },
                {
                  "key": "punto_fijo_grupo",
                  "value": "{{punto_fijo_grupo}}",
                  "type": "text"
                },
                {
                  "key": "fixed_group_search",
                  "value": "1",
                  "type": "text"
                },
                {
                  "key": "tipo_servicio",
                  "value": "punto_fijo",
                  "type": "text"
                },
                {
                  "key": "request_id",
                  "value": "postman_fijo_{{$timestamp}}",
                  "type": "text"
                },
                {
                  "key": "imagen",
                  "type": "file",
                  "src": ""
                }
              ]
            }
          }
        }
      ],
      "description": "Requests de prueba técnica contra endpoints/eventos/registrar_checkin.php. No son CRUD administrativo: simulan lo que hacen los fronts productivos al enviar una imagen para registrar un checkin. Usar principalmente para QA/integraciones controladas con multipart/form-data. En producción normal, los usuarios usan las URLs públicas de front y este endpoint registra el evento, consume crédito, guarda imagen, log y callback."
    }
  ]
}