Skip to main content
GET
/
get_targets
List campaign targets
curl --request GET \
  --url https://yourdomain.com/get_targets \
  --cookie admin_cookie=
[
  {
    "target_id": "<string>",
    "address": "<string>",
    "campaign": "<string>",
    "first_name": "<string>",
    "last_name": "<string>",
    "position": "<string>",
    "custom": "<string>",
    "phished": 123
  }
]

Authorizations

Admin cookie authentication (configurable in config.json)

Query Parameters

campaign
string
required

Campaign name

Response

Successful response

target_id
string

Unique target identifier

address
string

Target email address

campaign
string

Associated campaign name

first_name
string

Target first name

last_name
string

Target last name

position
string

Target job title/position

custom
string

Custom field (phone number, etc.)

phished
integer

Email sent status (0 = not sent, 1 = sent)