Skip to main content
All CollectionsGeneral
Trackbox API Documentation

Trackbox API Documentation

Affiliate API Documentation to send or get data to/from Trackbox

Updated over 11 months ago

Push Leads (Registration method)

Method:

POST

Headers:

x-trackbox-username: username
x-trackbox-password: password
x-api-key: 2643889w34df345676ssdas323tgc738
Content-Type: application/json

Body:

{
"ai": "ask from your trackbox partner",
"ci": "1",
"gi": "ask from your trackbox partner",
"userip": "29.249.50.83",
"firstname": "Gnanapiasam",
"lastname": "Johnsasdhan",
"email": "tesfaf321@gmail.com",
"password": "Aa12345!",
"phone": "4407012259886",
"so":"funnelname (visible in reports for statistical calculations)",
"sub":"FreeParam",
"MPC_1":"FreeParam",
"MPC_2":"FreeParam",
"MPC_3":"FreeParam",
"MPC_4":"FreeParam",
"MPC_5":"FreeParam",
"MPC_6":"FreeParam",
"MPC_7":"FreeParam",
"MPC_8":"FreeParam",
"MPC_9":"FreeParam",
"MPC_10":"FreeParam",
"MPC_11":"FreeParam",
"MPC_12":"FreeParam",
"ad":"FreeParam (visible in reports for statistical calculations)",
"term":"FreeParam (visible in reports for statistical calculations)",
"campaign":"FreeParam (visible in reports for statistical calculations)",
"medium":"FreeParam (visible in reports for statistical calculations)",
"lg":"EN"
}

CURL EXAMPLE:

curl --location 'https://platform.yourdomain.com/api/signup/procform' \
--header 'x-trackbox-username: username' \
--header 'x-trackbox-password: password' \
--header 'x-api-key: 2643889w34df345676ssdas323tgc738' \
--header 'Content-Type: application/json' \
--data-raw '{
"ai": "ask from your trackbox partner",
"ci": "1",
"gi": "ask from your trackbox partner",
"userip": "29.249.50.83",
"firstname": "Gnanapiasam",
"lastname": "Johnsasdhan",
"email": "tesfaf321@gmail.com",
"password": "Aa12345!",
"phone": "4407012259886",
"so":"funnelname (visible in reports for statistical calculations)",
"sub":"FreeParam",
"MPC_1":"FreeParam",
"MPC_2":"FreeParam",
"MPC_3":"FreeParam",
"MPC_4":"FreeParam",
"MPC_5":"FreeParam",
"MPC_6":"FreeParam",
"MPC_7":"FreeParam",
"MPC_8":"FreeParam",
"MPC_9":"FreeParam",
"MPC_10":"FreeParam",
"MPC_11":"FreeParam",
"MPC_12":"FreeParam",
"ad":"FreeParam (visible in reports for statistical calculations)",
"term":"FreeParam (visible in reports for statistical calculations)",
"campaign":"FreeParam (visible in reports for statistical calculations)",
"medium":"FreeParam (visible in reports for statistical calculations)",
"lg":"EN"
}

Pull method (GET info about Statuses and Deposits)

Method:

POST

Headers:

x-trackbox-username: username
x-trackbox-password: password
x-api-key: 264388973aaa9b2f9eb2aa84a9c7382e
Content-Type: application/json

BODY:

{
"from": "2020-09-01 00:00:00",
"to": "2020-09-30 23:59:59",
"type": "3",
"page":"0"
}

Notes:

type 2 = Only Leads

type 3 = Leads + Deposits

type 4= Only Deposits

CURL EXAMPLE:

curl --location 'https://platform.yourdomain.com/api/pull/customers' \
--header 'x-trackbox-username: username' \
--header 'x-trackbox-password: password' \
--header 'x-api-key: 264388973aaa9b2f9eb2aa84a9c7382e' \
--header 'Content-Type: application/json' \
--data '{
"from": "2020-09-01 00:00:00",
"to": "2020-09-30 23:59:59",
"type": "3",
"page":"0"
}

Did this answer your question?