Developer API
Ship custom workflows on top of our versioned REST API. Authenticate with bearer tokens to sync leads, launch landing pages, or pull metrics into your stack.
Explore our lead magnet examples to see it in action.
Prefer a ready-made connector? Explore the integration catalog .
Versioned endpoints to power your integrations
All requests use bearer token authentication scoped to your workspace.
-
Leads
GET /api/v1/leadsRetrieve a paginated feed of leads captured from your landing pages with filters for tags, dates, and contact details.
-
Leads
POST /api/v1/leadsCreate a new lead for one of your landing pages by sending first-party consent, contact info, and optional tags.
-
Landing Pages
GET /api/v1/landing-pagesList every landing page tied to your account with locale and title filters to orchestrate campaigns programmatically.
-
Landing Pages
POST /api/v1/landing-pagesLaunch a landing page with content, template, and lead magnet assignments without touching the UI.
-
Metrics
GET /api/v1/landing-pages/{slug}/metricsPull aggregated performance metrics including summary counts, trends, and device breakdowns for a landing page.
Quick code example
cURL request to list leads
curl -H 'Authorization: Bearer YOUR_TOKEN' https://leadmagnetmarketing.eu/api/v1/leads