Files
Anthropic-Cybersecurity-Skills/skills/conducting-spearphishing-simulation-campaign/references/api-reference.md
T
mukul975 c21af3347e Complete folder anatomy for all 649 cybersecurity skills + update LICENSE to Mahipal
- Add scripts/agent.py and references/api-reference.md to all remaining skills
- Update all 648 LICENSE files: copyright now reads 'Mahipal'
- Add implementing-security-monitoring-with-datadog (new skill with full anatomy)
- All 649 skills now have: SKILL.md, LICENSE, scripts/agent.py, references/api-reference.md
2026-03-11 00:22:12 +01:00

1.6 KiB

Spearphishing Simulation Campaign — API Reference

Libraries

Library Install Purpose
requests pip install requests GoPhish REST API client
gophish pip install gophish Official GoPhish Python SDK
jinja2 pip install Jinja2 Email template rendering

GoPhish API Endpoints

Method Endpoint Description
POST /api/campaigns/ Launch new phishing campaign
GET /api/campaigns/{id}/summary Campaign results summary
GET /api/campaigns/{id}/results Detailed per-target results
POST /api/templates/ Create email template
POST /api/pages/ Create credential capture landing page
POST /api/groups/ Create target recipient group

GoPhish Template Variables

Variable Description
{{.FirstName}} Target's first name
{{.LastName}} Target's last name
{{.Email}} Target's email address
{{.Position}} Target's job title
{{.From}} Sender display name
{{.URL}} Tracking/phishing link

Campaign Metrics

Metric Description Industry Avg
Open Rate Percentage who opened email 30-40%
Click Rate Percentage who clicked link 10-20%
Submit Rate Percentage who entered data 5-10%
Report Rate Percentage who reported to IT 5-15%

External References