Contact entry in an address book or CRM system with personal information, company details, job title, location, notes, and tags. Used for contact management, CRM systems, and address books.
https://api.mockly.codes/contacts?page=1&limit=10&count=10Configure your request and click Send Request to see the response here.
/contactsGet a collection of contacts
/people/contacts/contacts/:idGet a single contact by ID
/people/contacts/:id/contacts/metaGet resource metadata and schema
/people/contacts/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/contacts?q=laptopGET https://api.mockly.codes/contacts?q=laptop&search_fields=name,descriptionsearch_fields, all text fields are searched// Get 10 contacts
fetch('https://api.mockly.codes/contacts?count=10')
.then(res => res.json())
.then(data => console.log(data));import requests
response = requests.get(
'https://api.mockly.codes/contacts?count=10'
)
data = response.json()curl "https://api.mockly.codes/contacts?count=10"fetch('https://api.mockly.codes/contacts?nocache=true')idintegerUnique identifier for the contact
random_intfirst_namestringContact's first name
first_namelast_namestringContact's last name
last_nameemailstringContact's email address
emailemailphonestringContact's phone number
phonecompanystringCompany or organization the contact works for
companyjob_titlestringJob title or position of the contact
jobaddressstringStreet address of the contact
addresscitystringCity where the contact is located
citycountrystringCountry where the contact is located
countrynotesstringAdditional notes or information about the contact
sentencetagsarrayArray of tags for categorization (e.g., client, friend, colleague)
tagscreated_atstringTimestamp when the contact was added
past_datedate-timecountintegerNumber of items to return (default: 10, max: 100)
seedintegerSeed for reproducible data generation
nocachebooleanBypass cache and generate fresh data on every request