Skip to main content

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
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)