← Home
Get Phone Views
Get Phone Views
Retrieves View leads received through Phone related to listing.The is_lead parameter determines whether to fetch actual leads or view (non-lead) inquiries within the specified date range.
🔐 Bearer Token: Provide your bearer token in the Authorization header when making requests to protected resources.
Query Parameters
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
| channel | string | Optional | The source channel of the lead (e.g., sms). | phone |
| target | string | Optional | Lead target type (e.g., agent). | listing |
| is_lead | boolean | Optional | 1 = Fetch actual leads, 0 = Fetch view (non-lead) inquiries. | 0 |
| agency_ids[] | string | Optional | List of agency IDs to filter leads by specific agencies. | |
| created_from | string | Optional | Start date for filtering leads (YYYY-MM-DD). | 2025-10-01 |
| created_to | string | Optional | End date for filtering leads (YYYY-MM-DD). | 2025-10-08 |
| page | string | Optional | Page number for pagination. Default: 1. | 1 |
| per_page | string | Optional | Number of items per page. max: 100. | 50 |
Response Schema
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
| data | array[object] | Optional | ||
| lead | object | Optional | ||
| agent_details | object | Optional | ||
| listing_details | object | Optional | ||
| meta | object | Optional | ||
| current_page | integer | Optional | ||
| from | integer | Optional | ||
| to | integer | Optional | ||
| total | integer | Optional |
Responses
200✅
422⚠️
Code Examples
curl --location --globoff 'https://api.bayut.com/v1/leads?channel=phone&target=listing&is_lead=0&agency_ids[]=&created_from=2025-10-01&created_to=2025-10-08&page=1&per_page=50' \
--header 'Authorization: Bearer <token>'{
"data": [
{
"lead": {
"id": "phone|olx|mea|ae|phone|8e4ad130-4709-40b8-8e70-e4c7d282a8b3",
"source": "bayut",
"target": "listing",
"channel": "phone",
"date_time": "2025-10-06 17:49:43"
},
"agent_details": {
"url": "https://www.bayut.com/brokers/jane-ee-912642.html",
"name": "Jane Doe",
"email": "jane@example.com",
"phone": "+972222222222",
"proxy_number": "+97122221111"
},
"listing_details": {
"id": 9702631,
"reference": "Ref ID B-Aug-Nineteen-PS-112022",
"category": "Commercial Plot"
}
}
],
"meta": {
"current_page": 1,
"from": 1,
"to": 22,
"per_page": 50,
"total": 50
}
}