Do you want to collect your leads quickly and without restriction? To display them on any interface or tools? Choose to use the API.
First, we will present the steps that will allow you to obtain a secured access to our API. This API will allow you to retrieve the leads that have been registered on Appvizer from your different campaigns.
The steps in the process of obtaining access are as follows:
Request method: POST
URL: https://rocket-lead.netlify.app/.netlify/functions/getAll
Body:
In this part, the body of the HTTP requests will be sent in JSON format. This following section details examples of these bodies.
{
"email": "<your_registration_email>",
"password": "<your_password>"
}
//Get all your leads from 1st of march to 30st april 2022
{
"email": "<your_registration_email>",
"password": "<your_password>",
"filter": {
"startDate": "2022-03-01",
"endDate": "2022-04-30"
}
}
//Get all your leads from the 1st of march 2022
{
"email": "<your_registration_email>",
"password": "<your_password>",
"filter": {
"startDate": "2022-03-01"
}
}
//Get all your leads until 30st of april 2022
{
"email": "<your_registration_email>",
"password": "<your_password>",
"filter": {
"endDate": "2022-04-30"
}
}
Your can order your leads using the columns "lastname" or "email" from A to Z (ascending: true) and from Z to A (ascending: false), then by date of creation from newest to oldest (ascending: true) and from oldest to newest (ascending: false).
//Get all your leads from 1rst of march to 30st of april 2022 order by date from oldest to newest!
{
"email": "<your_registration_email>",
"password": "<your_password>",
"filter": {
"startDate": "2022-03-01",
"endDate": "2022-04-30"
},
"order": {
"column": "date",
"ascending": false
}
}
//Get all your leads order by email from A to Z
{
"email": "<your_registration_email>",
"password": "<your_password>",
"order": {
"column": "email",
"ascending": true
}
}