Führt
GET
https://funnels.qreq.com/api/forms/leads
curl --request GET \
--url 'https://funnels.qreq.com/api/forms/leads' \
--header 'Authorization: Bearer {api_key}'
{
"status": true,
"message": "Leads fetched successfully",
"data": [
{
"id": 1,
"name": "Ali Khan",
"email": "[email protected]",
"phone": "+92 300 1234567",
"message": "Interested in your service",
"page_id": 12,
"created_at": "2025-10-21 10:30:00"
},
{
"id": 2,
"name": "Sara Ahmed",
"email": "[email protected]",
"phone": "+92 321 9876543",
"message": "Need pricing details",
"page_id": 8,
"created_at": "2025-10-20 15:45:00"
}
],
"meta": {
"page": 1,
"results_per_page": 25,
"total": 2,
"total_pages": 1
},
"links": {
"first": "https://funnels.qreq.com/api/forms/leads?page=1",
"last": "https://funnels.qreq.com/api/forms/leads?page=1",
"next": null,
"prev": null,
"self": "https://funnels.qreq.com/api/forms/leads?page=1"
}
}
| Field | Type | Description |
|---|---|---|
| id | integer | Unique lead ID |
| name | string | Full name of the lead |
| string | Lead's email address | |
| phone | string | Contact number (optional) |
| message | string | Submitted message |
| page_id | integer | Origin page ID |
| created_at | datetime | Datetime of submission |