GET
/
v1
/
leads
curl --request GET \
  --url https://api.eqho.ai/v1/leads \
  --header 'X-API-KEY: <api-key>'
{
  "leads": [
    {
      "_id": "<string>",
      "account_id": "<string>",
      "first_name": "<string>",
      "last_name": "<string>",
      "email": "<string>",
      "phone": "<string>",
      "phone_extension": "<string>",
      "call_now": true,
      "list_ids": [
        "<string>"
      ],
      "timezone": "<string>",
      "extracted_data": {},
      "custom_fields": {},
      "enabled": true,
      "created_at": "2023-11-07T05:31:56Z",
      "created_by": "<string>",
      "campaign_info": [
        {
          "list_id": "<string>",
          "campaign_id": "<string>",
          "call_count": 123,
          "locked": true
        }
      ],
      "search_score": 123
    }
  ],
  "meta": {
    "per_page": 123,
    "last_page": 123,
    "current_page": 123,
    "next_page": 123,
    "prev_page": 123,
    "total": 123
  }
}

Authorizations

X-API-KEY
string
header
required

Query Parameters

list_id
string | null
q
string | null
offset
integer
default:1
Required range: x >= 1
limit
integer
default:10
Required range: 1 <= x <= 1000
sort_by
string
default:last_name
order_by
string
default:asc
start_time
string | null
end_time
string | null
campaign_id
string | null

Response

200
application/json
Successful Response

The response is of type object.