LemuAIDocs

Contacts · 1 min read

List Contacts

List and search the contacts in your organization

Open in ChatGPTOpen in ClaudeMarkdown

Returns your contacts a page at a time, newest first, with optional search and filters.

GET/api/v1/contacts

Query parameters#

NameTypeRequiredDescription
pageintegerNoPage number, starting at 1. Default 1.
limitintegerNoContacts per page, 1 to 500. Default 50.
searchstringNoText to look for in first, last or full name, email, company, external ID and phone. A phone-like value also matches the last 4 digits, and the full number with or without the country code (9876543210, +919876543210).
tagsstringNoComma-separated tags. Returns contacts with any of them.
has_emailbooleanNotrue for contacts with an email, false for contacts without one.
has_phonebooleanNotrue for contacts with a phone number, false for contacts without one.
list_idintegerNoOnly contacts in this list.
sort_bystringNocreated_at (default), first_name, last_name, phone, email, company, title, opted_out or id.
sort_dirstringNodesc (default) or asc.

Example request:

cURL
curl -G https://app.lemuai.com/api/v1/contacts \
  -H "X-API-Key: lemu_your_api_key" \
  --data-urlencode "search=Priya" \
  --data-urlencode "tags=renewal,gold" \
  --data-urlencode "limit=25"

Response#

200

JSON
{
  "contacts": [
    {
      "id": 901,
      "organization_id": 7,
      "external_id": "crm-58213",
      "phone": "+919876543210",
      "phone_last4": "3210",
      "phone_masked": false,
      "email": "priya@example.com",
      "first_name": "Priya",
      "last_name": "Sharma",
      "company": "Sharma Traders",
      "title": "Owner",
      "tags": ["renewal", "gold"],
      "custom_fields": { "plan": "Gold" },
      "created_at": "2026-10-20T10:00:00Z",
      "updated_at": "2026-10-24T09:12:40Z"
    }
  ],
  "total_count": 1,
  "page": 1,
  "limit": 25,
  "total_pages": 1
}
FieldTypeDescription
contactsarrayThe contacts on this page. See contact fields.
total_countintegerContacts matching your filters across all pages.
pageintegerThe page returned.
limitintegerContacts per page.
total_pagesintegerNumber of pages at this limit.