curl -H "Authorization: <Token-Key>" -X POST -d "start_date=<start_date>&end_date=<end_date>&page=<page>" https://leadcombo.com/api/v1/company/leads
This endpoint allows you to get leads. body send parameter type "application/x-www-form-urlencoded".
{
"success": true,
"data": [
{
"id": "FBLEAD_03_828865677557533_2020-01-03T11:33:09+0000",
"full_name": "Steve Roger",
"mobile_number": "+66199999999",
"email": "steve@marvel.com",
"line": "line_id",
"signed_up_at": "2020-01-01T09:00:00.235+07:00",
"source": "recommedation_from_customer",
"properties": {
"series": "Captain America"
}
}
],
"page": 1,
"total": 60,
"message": ""
}
{
"success": false,
"error": "Token is invalid",
"response": null
}