Queries
NAF by DNI/NIF/NIE

Query the affiliation number by DNI/NIF/NIE

Parameters

  • dni (string) : National identity document.
  • apellido1 (string) : First surname.
  • apellido2 (string) : Second surname. Optional.
GET /nss-by-ipf
{
  "dni": "12345678B",
  "apellido1": "apellido1",
  "apellido2": "apellido2"
}

Response

Respuesta
{
  "success": true,
  "message": "OK",
  "data": {
    "name": "NOMBRE",
    "nss": "123456789012",
    "dni": "012323132X",
    "identificacion": "1"
  }
}