Documentation Index
Fetch the complete documentation index at: https://docs.seleqt.ai/llms.txt
Use this file to discover all available pages before exploring further.
POST /api/v1/public/campaigns/:id/export/
Export leads from a campaign as JSON.
- Auth:
X-API-Key
- Query params (form fields or JSON body fields)
page_size (default 100, max 100): number of leads per page
start_page (optional): first page index (1-based)
end_page (optional): last page index (inclusive)
Example response item
{
"first_name": "Alex",
"last_name": "Doe",
"linkedin_profile_url": "https://www.linkedin.com/in/alex-doe/",
"profile_picture_url": "https://example.com/alex.jpg",
"job_title": "Head of Sales",
"industry": "SaaS",
"email": "alex@example.com",
"phone_number": "+1 555 0100",
"location": "Amsterdam, NL",
"custom_fields": { "plan": "pro" },
"company": {
"name": "Acme Inc",
"industry": "Software",
"linkedin_url": "https://www.linkedin.com/company/acme/",
"website_url": "https://acme.com",
"location": "Amsterdam, NL",
"revenue": "$10M-$50M",
"amount_of_employees": "51-200"
},
"messages": [
{
"sender": "Jane Smith",
"sender_id": 42,
"sent_by_lead": false,
"subject_line": "Re: Quick question",
"message": "Hi Alex, thanks for reaching out...",
"sent_at": "2025-06-09T11:22:33Z",
"read": true
}
],
"enrichment_columns": [
{ "column": "tech_stack", "value": "React, Node.js", "sources": ["BuiltWith"] },
{ "column": "funding_round", "value": "Series A" }
],
"actions": [
{
"step_type": "EMAIL",
"executed_at": "2025-06-08T10:00:00Z",
"message": "Hi Alex...",
"subject_line": "Alex, quick question",
"sender": "Jane Smith",
"sender_id": 42,
"completed": true
}
]
}
Fields
- lead info:
first_name, last_name, linkedin_profile_url, profile_picture_url, job_title, industry, email, phone_number, location, custom_fields
- company:
name, industry, linkedin_url, website_url, location, revenue, amount_of_employees
- messages[]:
sender, sender_id, sent_by_lead (boolean), subject_line, message, sent_at (ISO8601), read (boolean)
- enrichment_columns[]:
column, value, sources (optional array)
- actions[]:
step_type, executed_at (ISO8601), message (optional), subject_line (optional), sender, sender_id, completed (boolean)