Get catalog
GET/api/v1/catalog
Returns template, landing, SMTP, and group names and IDs for your org. Call this before launching a campaign.
Headers
| Name | Type | Description |
|---|
X-API-Keyrequired | string | Org API key |
Responses
{
"templates": [{ "id": "…", "name": "Microsoft 365" }],
"landings": [{ "id": "…", "name": "Microsoft login" }],
"smtp": [{ "id": "…", "name": "Corporate" }],
"groups": [{ "id": "…", "name": "All staff" }]
}
Example
curl -s -X GET \
-H "X-API-Key: YOUR_KEY" \
https://app-fish.pandaone.dev/api/v1/catalog
Bootstrap resources
POST/api/v1/setup/bootstrap
Create an SMTP profile and/or import a recipient group in one request. Useful for first-time org setup via API.
Headers
| Name | Type | Description |
|---|
X-API-Keyrequired | string | Org API key |
Request body
| Name | Type | Description |
|---|
smtp.name | string | Sending profile name |
smtp.host | string | SMTP host:port |
smtp.from_email | string | From address |
group.name | string | Group name |
group.csv | string | Gophish-format CSV |
Responses
{ "catalog": { "smtp": [...], "groups": [...] } }
Example
curl -s -X POST \
-H "X-API-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
https://app-fish.pandaone.dev/api/v1/setup/bootstrap
-d ''{"smtp":{"name":"Corporate","host":"smtp.example.com:587","from_email":"security@example.com"},"group":{"name":"All staff","csv":"First Name,Last Name,Email,Position\nAda,Lovelace,ada@example.com,Engineer"}}''