> For the complete documentation index, see [llms.txt](https://help.leadcombo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.leadcombo.com/master.md).

# GET LEADS

```
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
```

## Company Leads

<mark style="color:green;">`POST`</mark> `https://leadcombo.com/api/v1/company/leads`

This endpoint allows you to get leads. body send parameter type "application/x-www-form-urlencoded".

#### Headers

| Name          | Type   | Description                                         |
| ------------- | ------ | --------------------------------------------------- |
| Authorization | string | Authentication token to checking access management. |

#### Request Body

| Name        | Type   | Description                                                                 |
| ----------- | ------ | --------------------------------------------------------------------------- |
| limit       | number | <p>Default leads per page<br><strong>25</strong></p>                        |
| page        | number | <p>Default first pages<br><strong>1</strong></p>                            |
| start\_date | string | <p>Default Timestamp   beginning of day<br><strong>2020-01-01</strong> </p> |
| end\_date   | string | <p>Default Timestamp <br>current time <br><strong>2020-01-01</strong></p>   |

{% tabs %}
{% tab title="200 Leads successfully retrieved." %}

```ruby
{
    "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": ""
}
```

{% endtab %}

{% tab title="404 Authentication Token Invalid." %}

```ruby
{
    "success": false,
    "error": "Token is invalid",
    "response": null
}
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.leadcombo.com/master.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
