Track a lead
Called by your server when a customer signs up. The Tracking ID names the directory, so one API key reports for each of your directories. A new customer needs the click ID your site kept in its pp_click cookie and becomes a Partner lead for the partner whose link was clicked, awaiting your approval. One customer ID gives one lead per directory: reporting it again, with or without the click, returns it. A lead the pasted script reported, still awaiting approval, moves to this report’s click. Every call is real: try it on a test directory.
Authentication
Your API key, sent as Authorization: Token <your API key>
Request
Your own ID for the customer; one lead per customer ID.
The directory’s Tracking ID, from Settings › Partner links (pp_trk_…).
The click ID the script kept in its pp_click cookie. Required for a customer PartnerPage does not know yet.
Response
submitted- Submittedapproved- Approveddeclined- Declinedwon- Wonlost- Lost