Submitting leads via the Classic API

Follow

The Classic API is our simplest form of submitting leads to LeadByte as you don't require an API key or any knowledge in JSON to get it set up.

 

 

Start by heading to Campaigns > Integration Guide and ensure "Basic GET API" is chosen in the dropdown - 

19c1091e-824f-431b-8ac0-d364ad54ef60.png

 

Follow the rest of the steps detailed in this guide if you need help generating an integration guide - 

Introduction to Integration guides - 🎥

 

Our Classic API uses a Form POST which looks something like the below - 

https://[DOMAIN].leadbyte.com/api/submit.php?returnjson=yes&campid=[CAMPAIGN ID]

 

When submitting the lead you'll see either a success response - 

{"code":1,"response":"OK","info":[],"leadId":678450,"processTime":0.12,"timestamp":"2023-07-20T13:23:41Z","payout":"Pending"}

or a rejection response with a rejection reason included - 

{"response":"Email is required","timestamp":"2023-07-20T13:24:19Z","code":-5,"info":[],"leadId":null,"processTime":0.09}

 

Because we accept GET requests, you can even test by running these requests in your browser!

d741ff53-0281-4ead-bb85-c8e687a820e5.gif

Was this article helpful?
0 out of 0 found this helpful

Comments