DevXpert Lead Dashboard

Export and API

CSV export

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.

REST API (read-only)

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.

Authentication

Use a WordPress application password:

  1. Go to Users → Profile for an account that has Lead Dashboard access (an administrator or Sales Admin).
  2. Under Application Passwords, create one.
  3. Send it with HTTP Basic auth:
curl -u "username:xxxx xxxx xxxx xxxx xxxx xxxx" \
  https://example.com/wp-json/dxleda/v1/stats

Requests without valid credentials get a 401.