Get Deposited Leads by Dates [code]

GET
api/leads/deposit/{from_date}/{to_date}

Header

Field Type Description
authtoken String

Basic Access Authentication token.



Parameter Segments

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": "5108",
        "hash": "4e2c75a010a4d88cb9b3a0c902ece4ff-551db57ec960784382b3de5b76d02c4a",
        "name": "test testov",
        "title": "",
        "company": "",
        "description": "",
        "country": "0",
        "zip": "",
        "city": "",
        "state": "",
        "address": "",
        "assigned": "0",
        "dateadded": "2022-02-17 07:32:23",
        "from_form_id": "0",
        "status": "1",
        "source": "10",
        "lastcontact": "2022-02-17 07:32:23",
        "dateassigned": null,
        "last_status_change": null,
        "addedfrom": "0",
        "email": "newtest239856@gmail.com",
        "website": "",
        "leadorder": "1",
        "phonenumber": null,
        "date_converted": "2022-02-17 07:46:14",
        "lost": "0",
        "junk": "0",
        "last_lead_status": "0",
        "is_imported_from_email_integration": "0",
        "email_integration_uid": null,
        "is_public": "0",
        "default_language": "",
        "client_id": "0",
        "converted_by_lead_manager": "0",
        "lead_value": null,
        "lm_follow_up": "0"
    }

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
Request to fetch statuses

Please FOLLOW "status" field from our API for updated lead statuses.



Did you find this article useful?