api/leads/dates/{from_date}/{to_date}
Header
Field | Type | Description |
---|---|---|
Authtoken | String |
Basic Access Authentication token. |
Parameter
Field | Type | Description |
---|---|---|
from_date | String |
format: 2021-01-31 |
to_date | String |
format: 2021-01-31 |
Success 200
Field | Type | Description |
---|---|---|
Lead | Object |
information. |
HTTP/1.1 200 OK
{
"id": "17",
"hash": "c6e938f8b7a40b1bcfd98dc04f6eeee0-60d9c039da373a685fc0f74d4bfae631",
"name": "Lead name",
"contact": "",
"title": "",
"company": "Gap Trade",
"description": "",
"country": "243",
"zip": null,
"city": "London",
"state": "London",
"address": "1a The Alexander Suite Silk Point",
"assigned": "5",
"dateadded": "2019-07-18 08:59:28",
"from_form_id": "0",
"status": "0",
"source": "4",
...
}
Error 4xx
Name | Type | Description |
---|---|---|
status | Boolean |
Request status. |
message | String |
No data were found. |
HTTP/1.1 404 Not Found
{
"status": false,
"message": "No Data Found."
}
Lead statuses definition
ID | Status Name |
---|---|
1 | FTD Success |
2 | Busy |
3 | Failed to connect |
4 | Call Back General |
5 | System Check Number |
6 | Language Barrier |
7 | New Lead |
8 | No Answer |
9 | Not Interested |
10 | Call Back Personal |
11 | System Answer Dropped |
12 | VoiceMail |
13 | Potential High |
14 | Potential |
15 | Insufficient data |
17 | Closed not interested |
Please FOLLOW "status" field from our API for updated lead statuses.