Represents a business client or customer organization that engages with a company for services or products. Contains contact information, business details, and relationship status.
https://api.mockly.codes/clients?page=1&limit=10&count=10Configure your request and click Send Request to see the response here.
/clientsGet a collection of clients
/business/clients/clients/:idGet a single client by ID
/business/clients/:id/clients/metaGet resource metadata and schema
/business/clients/metaThe search feature allows you to filter results by searching for text across all or specific fields. Choose between ?q= or ?search= parameter names.
Search across all text fields:
GET https://api.mockly.codes/clients?q=laptopGET https://api.mockly.codes/clients?q=laptop&search_fields=name,descriptionsearch_fields, all text fields are searched// Get 10 clients
fetch('https://api.mockly.codes/clients?count=10')
.then(res => res.json())
.then(data => console.log(data));import requests
response = requests.get(
'https://api.mockly.codes/clients?count=10'
)
data = response.json()curl "https://api.mockly.codes/clients?count=10"fetch('https://api.mockly.codes/clients?nocache=true')idintegerUnique identifier for the client record
random_intnamestringOfficial company or organization name of the client
companycontact_personstringFull name of the primary contact person representing the client
nameemailstringPrimary business email address for client communications
emailemailphonestringPrimary business phone number including country and area codes
phoneaddressstringStreet address and building number of the client's primary business location
addresscitystringCity where the client's primary business is located
citycountrystringCountry where the client's business operates
countryindustrystringPrimary industry sector or business category the client operates in (e.g., Technology, Healthcare, Finance)
industrystatusstringCurrent relationship status with the client (e.g., active, inactive, prospect, terminated)
statuscontract_valuenumberTotal monetary value of contracts or agreements with this client
pricesincestringDate when the business relationship with this client was established
past_datedatecountintegerNumber of items to return (default: 10, max: 100)
seedintegerSeed for reproducible data generation
nocachebooleanBypass cache and generate fresh data on every request