<!-- Copyright (c) 2026 defconxt. All rights reserved. -->
<!-- Licensed under AGPL-3.0 — see LICENSE file for details. -->

# API Reference — Conducting Phishing Simulations

## Tools

### GoPhish API

| Command | Description |
|---|---|
| `GET /api/campaigns/` | List campaigns |
| `POST /api/campaigns/` | Create campaign |
| `GET /api/campaigns/{id}/results` | Get results |
| `POST /api/templates/` | Create template |

### Agent Script

```bash
node agent.js launch --template <value> --targets <value>
node agent.js report --campaign-id <value>
node agent.js analyze --campaign-id <value>
node agent.js create-template --name <value> --subject <value>
```
