In All Leads, set the filters you want, then click Export CSV. You get one row per lead with:
Open it in Excel, Google Sheets or Numbers. Values that a spreadsheet could run as a formula (anything starting with =, +, - or @) get a leading apostrophe, so a malicious submission can’t run code on your computer.
For pulling leads into another tool. It can read, never change.
| Endpoint | Returns |
|---|---|
GET /wp-json/dxleda/v1/leads |
A list of leads. Accepts the same filters as All Leads. |
GET /wp-json/dxleda/v1/leads/{source}/{id} |
One lead. source is forminator or cf7. |
GET /wp-json/dxleda/v1/stats |
The numbers from the Dashboard. |
Use a WordPress application password:
curl -u "username:xxxx xxxx xxxx xxxx xxxx xxxx" \
https://example.com/wp-json/dxleda/v1/stats
Requests without valid credentials get a 401.