Skip to main content
GET
/
api
/
v1
/
clientes
List All Clients
curl --request GET \
  --url https://api.example.com/api/v1/clientes
{
  "[]": [
    {
      "id": 123,
      "dni": "<string>",
      "nombreCompleto": "<string>",
      "correo": "<string>",
      "telefono": "<string>"
    }
  ]
}

Endpoint

GET /api/v1/clientes
Retrieve a complete list of all registered clients in the system.

Response

Returns an array of client objects:
[]
array
Array of client objects
id
number
Unique client identifier
dni
string
National ID number (DNI) - 8 digits
nombreCompleto
string
Client’s full name
correo
string
Client’s email address
telefono
string
Client’s phone number - 9 digits

Example Request

curl -X GET http://localhost:8080/api/v1/clientes

Example Response

[
  {
    "id": 1,
    "dni": "12345678",
    "nombreCompleto": "María García",
    "correo": "[email protected]",
    "telefono": "987654321"
  },
  {
    "id": 2,
    "dni": "87654321",
    "nombreCompleto": "Juan Pérez",
    "correo": "[email protected]",
    "telefono": "912345678"
  },
  {
    "id": 3,
    "dni": "11223344",
    "nombreCompleto": "Ana Torres",
    "correo": "[email protected]",
    "telefono": "998877665"
  }
]
This endpoint returns all clients without pagination. For searching specific clients, use the search endpoint.

Use Cases

  • Populate client dropdown lists in admin interfaces
  • Export client data for reporting
  • Synchronize with external CRM systems
  • Administrative client management

Build docs developers (and LLMs) love