Skip to content

Instantly share code, notes, and snippets.

@activeprospect-support
Last active August 29, 2015 14:07
Show Gist options
  • Save activeprospect-support/41f8eead020022cc586e to your computer and use it in GitHub Desktop.
Save activeprospect-support/41f8eead020022cc586e to your computer and use it in GitHub Desktop.
LC - How to work with your leads via the API
curl -v -X GET https://api.leadconduit.com/stats/leads?campaign_id=000qxm169&start=2009-03-04&end=2009-03-04&api_key=fullapikey
HTTP/1.1 200 OK
Connection: close
Content-Type: application/json; charset=utf-8
{"id":"011c5g8ch",
"campaign_id":"000qxm169",
"campaign_name":"Widgets Offer",
"recipient_id":"e55369",
"source_id":"000e7hs65",
"created_at":"2009/03/04 15:42:19 +0000",
"good":false,
"bad":true,
"returned":true,
"invalid":false,
"rejected":false,
"delivered":true,
"delivery_summary_id":1234567890,
"error_delivery_summary_id":null,
"values":{ "lname":"Doe",
"fname":"John",
"email":"[email protected]" }
"purchase_price":0.5,
"sale_price":1.0,
"profit":0.40,
"margin":100,
"source_lead_id":null,
"wiped_at":null,
"pickled_at":null,
"profile_id":null,
"converted":false,
"marked_for_wipe_at":null},
{...},
{...}, ...
],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment