curl --location 'http://fssportal.com/api/v1/client/search' \
--header 'X-API-Token: YOUR_API_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"keyword": "john"
}'
const response = await fetch('http://fssportal.com/api/v1/client/search', {
method: 'POST',
headers: {
'X-API-Token': 'YOUR_API_TOKEN',
'Content-Type': 'application/json'
},
body: JSON.stringify({
"keyword": "john"
})
});
const data = await response.json();
{
"message": "Client get successfully.",
"data": {
"current_page": 1,
"data": [
{
"id": 1475,
"user_id": 68,
"lead_source_id": 75,
"end_client_known": 1,
"quote_no": "",
"project_name": null,
"name": "Test",
"surname": "Convert Wuick Quote",
"email": "test@gmail.com",
"phone_no": "8460008773",
"location": "Quiuuu",
"address": "",
"state": "",
"city": "",
"zip_code": "",
"billing_address": "",
"billing_city": "",
"billing_state": "",
"billing_zip_code": "",
"created_at": "2025-12-16T05:33:32.000000Z",
"lead_source_name": "Snv Rtr",
"lead_source_email": "ddddnv@gmail.com"
},
{
"id": 1472,
"user_id": 68,
"lead_source_id": 76,
"end_client_known": 0,
"quote_no": "",
"project_name": "Test2",
"name": "Sn",
"surname": "Aa",
"email": "vjjv@gmail.com",
"phone_no": "12345678",
"location": "Hccjkv",
"address": "",
"state": "",
"city": "",
"zip_code": "",
"billing_address": "",
"billing_city": "",
"billing_state": "",
"billing_zip_code": "",
"created_at": "2025-12-16T05:18:22.000000Z",
"lead_source_name": "Sn Aa",
"lead_source_email": "ae@gmail.cm"
},
{
"id": 1471,
"user_id": 68,
"lead_source_id": null,
"end_client_known": 1,
"quote_no": "",
"project_name": "Test",
"name": "QuickQuote",
"surname": "QuickQuote",
"email": "fss_1765862270@unknown.com",
"phone_no": "",
"location": "QuickQuoteLocation",
"address": "",
"state": "",
"city": "",
"zip_code": "",
"billing_address": "",
"billing_city": "",
"billing_state": "",
"billing_zip_code": "",
"created_at": "2025-12-16T05:17:51.000000Z",
"lead_source_name": null,
"lead_source_email": null
}
],
"first_page_url": "http://localhost/fss/public/api/v1/client/search?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://localhost/fss/public/api/v1/client/search?page=1",
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "http://localhost/fss/public/api/v1/client/search?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"next_page_url": null,
"path": "http://localhost/fss/public/api/v1/client/search",
"per_page": 20,
"prev_page_url": null,
"to": 3,
"total": 3
}
}
Client Management
Search Client
Search for clients
POST
/
api
/
v1
/
client
/
search
curl --location 'http://fssportal.com/api/v1/client/search' \
--header 'X-API-Token: YOUR_API_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"keyword": "john"
}'
const response = await fetch('http://fssportal.com/api/v1/client/search', {
method: 'POST',
headers: {
'X-API-Token': 'YOUR_API_TOKEN',
'Content-Type': 'application/json'
},
body: JSON.stringify({
"keyword": "john"
})
});
const data = await response.json();
{
"message": "Client get successfully.",
"data": {
"current_page": 1,
"data": [
{
"id": 1475,
"user_id": 68,
"lead_source_id": 75,
"end_client_known": 1,
"quote_no": "",
"project_name": null,
"name": "Test",
"surname": "Convert Wuick Quote",
"email": "test@gmail.com",
"phone_no": "8460008773",
"location": "Quiuuu",
"address": "",
"state": "",
"city": "",
"zip_code": "",
"billing_address": "",
"billing_city": "",
"billing_state": "",
"billing_zip_code": "",
"created_at": "2025-12-16T05:33:32.000000Z",
"lead_source_name": "Snv Rtr",
"lead_source_email": "ddddnv@gmail.com"
},
{
"id": 1472,
"user_id": 68,
"lead_source_id": 76,
"end_client_known": 0,
"quote_no": "",
"project_name": "Test2",
"name": "Sn",
"surname": "Aa",
"email": "vjjv@gmail.com",
"phone_no": "12345678",
"location": "Hccjkv",
"address": "",
"state": "",
"city": "",
"zip_code": "",
"billing_address": "",
"billing_city": "",
"billing_state": "",
"billing_zip_code": "",
"created_at": "2025-12-16T05:18:22.000000Z",
"lead_source_name": "Sn Aa",
"lead_source_email": "ae@gmail.cm"
},
{
"id": 1471,
"user_id": 68,
"lead_source_id": null,
"end_client_known": 1,
"quote_no": "",
"project_name": "Test",
"name": "QuickQuote",
"surname": "QuickQuote",
"email": "fss_1765862270@unknown.com",
"phone_no": "",
"location": "QuickQuoteLocation",
"address": "",
"state": "",
"city": "",
"zip_code": "",
"billing_address": "",
"billing_city": "",
"billing_state": "",
"billing_zip_code": "",
"created_at": "2025-12-16T05:17:51.000000Z",
"lead_source_name": null,
"lead_source_email": null
}
],
"first_page_url": "http://localhost/fss/public/api/v1/client/search?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://localhost/fss/public/api/v1/client/search?page=1",
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "http://localhost/fss/public/api/v1/client/search?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"next_page_url": null,
"path": "http://localhost/fss/public/api/v1/client/search",
"per_page": 20,
"prev_page_url": null,
"to": 3,
"total": 3
}
}
Endpoint
POST /api/v1/client/search
This endpoint requires authentication
Headers
string
required
Your API access token. You can also set this globally in the API playground.
string
required
The platform making the request:
WEB, IOS, or ANDROID.Request Body
string
keyword
Response
string
message
object
data
Show data
Show data
integer
current page
array
data
Show data item
Show data item
integer
id
integer
user id
integer
lead source id
integer
end client known
string
quote no
object
project name
string
name
string
surname
string
email
string
phone no
string
location
string
address
string
state
string
city
string
zip code
string
billing address
string
billing city
string
billing state
string
billing zip code
string
created at
string
lead source name
string
lead source email
string
first page url
integer
from
integer
last page
string
last page url
object
next page url
string
path
integer
per page
object
prev page url
integer
to
integer
total
curl --location 'http://fssportal.com/api/v1/client/search' \
--header 'X-API-Token: YOUR_API_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"keyword": "john"
}'
const response = await fetch('http://fssportal.com/api/v1/client/search', {
method: 'POST',
headers: {
'X-API-Token': 'YOUR_API_TOKEN',
'Content-Type': 'application/json'
},
body: JSON.stringify({
"keyword": "john"
})
});
const data = await response.json();
{
"message": "Client get successfully.",
"data": {
"current_page": 1,
"data": [
{
"id": 1475,
"user_id": 68,
"lead_source_id": 75,
"end_client_known": 1,
"quote_no": "",
"project_name": null,
"name": "Test",
"surname": "Convert Wuick Quote",
"email": "test@gmail.com",
"phone_no": "8460008773",
"location": "Quiuuu",
"address": "",
"state": "",
"city": "",
"zip_code": "",
"billing_address": "",
"billing_city": "",
"billing_state": "",
"billing_zip_code": "",
"created_at": "2025-12-16T05:33:32.000000Z",
"lead_source_name": "Snv Rtr",
"lead_source_email": "ddddnv@gmail.com"
},
{
"id": 1472,
"user_id": 68,
"lead_source_id": 76,
"end_client_known": 0,
"quote_no": "",
"project_name": "Test2",
"name": "Sn",
"surname": "Aa",
"email": "vjjv@gmail.com",
"phone_no": "12345678",
"location": "Hccjkv",
"address": "",
"state": "",
"city": "",
"zip_code": "",
"billing_address": "",
"billing_city": "",
"billing_state": "",
"billing_zip_code": "",
"created_at": "2025-12-16T05:18:22.000000Z",
"lead_source_name": "Sn Aa",
"lead_source_email": "ae@gmail.cm"
},
{
"id": 1471,
"user_id": 68,
"lead_source_id": null,
"end_client_known": 1,
"quote_no": "",
"project_name": "Test",
"name": "QuickQuote",
"surname": "QuickQuote",
"email": "fss_1765862270@unknown.com",
"phone_no": "",
"location": "QuickQuoteLocation",
"address": "",
"state": "",
"city": "",
"zip_code": "",
"billing_address": "",
"billing_city": "",
"billing_state": "",
"billing_zip_code": "",
"created_at": "2025-12-16T05:17:51.000000Z",
"lead_source_name": null,
"lead_source_email": null
}
],
"first_page_url": "http://localhost/fss/public/api/v1/client/search?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://localhost/fss/public/api/v1/client/search?page=1",
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "http://localhost/fss/public/api/v1/client/search?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"next_page_url": null,
"path": "http://localhost/fss/public/api/v1/client/search",
"per_page": 20,
"prev_page_url": null,
"to": 3,
"total": 3
}
}
Notes
- Authentication is required
⌘I
