Deliver Leads
Posting Instructions
Posting instructions should be entered in a valid JSON format and should include:
- Request URL (API Endpoint)
- Request Method: either GET or POST
- Request Headers
- Request Body
Example 1
{
"url": "https://api.server.com/lead/create",
"method": "POST",
"request_headers": [
{
"Content-Type": "application/x-www-form-urlencoded"
}
],
"request_body": {
"pubID": "1000",
"apiKey": "nrf43f74tgcg92cg",
"offerID": "12",
"email": "{email}",
"firstName": "{firstname}",
"lastName": "{lastname}",
"phone": "{phone}",
"language": "EN",
"country": "{country}",
"ip": "{ip}",
"password": "{custom1}",
"click_id": "{click_id}"
}
}
Example 2
{
"url":"https://api.leadreceive.com/api/v2/integration?api_key=f97h497cg7c4f",
"method":"POST",
"request_headers": [
{
"Content-Type": "application/json"
}
],
"request_body": {
"fname": "{firstname}",
"lname": "{lastname}",
"country": "{country}",
"email": "{email}",
"pass": "vn479fg6f",
"fullphone": "+{phone}",
"ip": "{ip}",
"source": "network1",
"link_id": "3412324",
"click_id": "{click_id}"
}
}
Example 3 (Leadvertex)
{
"url": "https://xxx.leadvertex.ru/api/webmaster/v2/addOrder.html?webmasterID=XXXXX&token=XXXXXXX",
"method": "POST",
"request_headers": [
{"Content-Type": "multipart/form-data"}
],
"request_body": {
"phone": "{phone}",
"fio": "{firstname} {lastname}",
"externalWebmaster": "{affiliate_id}",
"domain": "{custom1}",
"comment": "{custom2}",
"additional5": "{lead_id}",
"additional1": "uh39dg3",
"goal_id": "{goal_id}",
"goods[0][goodID]" : "1111111",
"goods[0][price]" : "3000",
"goods[0][quantity]" : "1",
"ip": "{ip}",
"utm_source": "{aff_param1}",
"utm_medium": "{aff_param2}",
"utm_campaign": "{aff_param3}",
"utm_term": "{aff_param4}",
"utm_content": "{aff_param5}"
}
}