LemuAIDocs

Contacts · 1 min read

List Contacts in a List

Page through, sort, and search the contacts in one contact list

Open in ChatGPTOpen in ClaudeMarkdown

Returns the contacts in one list. Unlike List contacts, you can sort the results and fetch up to 1,000 contacts per page.

GET/api/v1/contacts/lists/{list_id}/contacts

Path parameters#

NameTypeRequiredDescription
list_idintegerYesThe list's id from List contact lists.

Query parameters#

NameTypeRequiredDescription
pageintegerNoPage number, starting at 1. Default 1.
limitintegerNoContacts per page, 1 to 1000. Default 25.
sort_bystringNoColumn to sort by. Default added_at (when the contact joined the list).
sort_dirstringNodesc (default) or asc.
searchstringNoText to look for in name, phone, email, and company.

Example request:

cURL
curl -G https://app.lemuai.com/api/v1/contacts/lists/55/contacts \
  -H "X-API-Key: lemu_your_api_key" \
  --data-urlencode "limit=500" \
  --data-urlencode "sort_dir=asc"

Response#

200: the same shape as List contacts: contacts, total_count, page, limit, and total_pages.

Errors#

StatusWhen
404No list with this id in your organization