Push Leads (Registration method)
Use this endpoint to push new lead / registration data to LeadXChanger.
Method
POSTURL
https://data.<partner-user-name>.leadxchanger.comHeaders
Username: <username>
Password: <password>
Token: <token>
Content-Type: application/json
Body (JSON)
{
"firstname": "John",
"lastname": "Doe",
"email": "john.doe@gmail.com",
"password": "Aa12345!@",
"phone": "4407012251234",
"ucountry": "JP", //ISO2 (for example JP for Japan)
"pcode": "81", //Country code
"userip": "<IP>",
"ai": "ask from your LeadXChanger partner",
"gi": "ask from your LeadXChanger partner",
"oi": "1", // optional
"so": "funnelname (visible in reports for statistical calculations)", // optional
"sub": "FreeParam",
"campaign": "FreeParam (visible in reports for statistical calculations)", // optional
"lg": "EN" // optional
}
Replace placeholder strings with actual values provided by your LeadXChanger partner.
Pull Method (Get Statuses & Deposits)
Retrieve leads, deposits, or both using this endpoint.
Method
POSTURL
https://data.<partner-user-name>.leadxchanger.com/pull/Headers
Username: <username>
Password: <password>
Token: <token>
Content-Type: application/json
Body (JSON)
{
"type": "1",
"page": "1",
"from": "2025-10-10 00:00:00",
"to": "2025-11-11 23:59:59"
}
Notes
Meaning of type field in pull requests:
- type = 1 — Leads + Deposits
- type = 2 — Only Leads
- type = 3 — Only Deposits