> ## Documentation Index
> Fetch the complete documentation index at: https://jancontrerasdev-gestor-contrasenas.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# List Passwords

> Retrieve all active password entries

## GET /api/listPassword

Retrieves all password entries where status is 1 (active). Deleted passwords (status = 0) are not included in the response.

### Request

No parameters required.

```bash theme={null}
curl -X GET http://your-domain.com/api/listPassword
```

### Response

**Array** `array`

Returns an array of password objects.

**id** `integer`

Unique identifier for the password entry

**password** `string`

The password value

**sistema** `string`

System or application name

**usuario** `string`

Username associated with the password

**status** `integer`

Status flag (1 = active, 0 = deleted)

### Response Codes

* **200** - Success - Returns array of password objects
* **404** - No passwords found

### Example Response (200 OK)

```json theme={null}
[
  {
    "id": 1,
    "password": "securePass123",
    "sistema": "Production Database",
    "usuario": "admin",
    "status": 1
  },
  {
    "id": 2,
    "password": "myPassword456",
    "sistema": "Email Server",
    "usuario": "user@example.com",
    "status": 1
  }
]
```

### Example Response (404 Not Found)

```json theme={null}
{
  "message": "No passwords found"
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.