List contacts

Contacts of your Mautic with email, points and segments, newest first.

GET https://cotlet.dev/api/v1/mautic/contacts

read

Lists contacts the way the Contacts page does. search takes the same text as the Contacts search bar, for example segment:newsletter to list one segment. Each contact has its ID, name, email, points and segment aliases. Pass next_cursor back as cursor for the next page. What you see depends on your Mautic user.

Parameters

Parameters: list_contacts
NameTypeDescription
search string string Text as typed in the Contacts search bar, e.g. segment:newsletter.
limit integer integer Maximum contacts per page.
cursor string string Next page cursor from the previous call.

Request

cURL
curl https://cotlet.dev/api/v1/mautic/contacts \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("mautic", "list_contacts")
Node.js
const result = await cotlet.call('mautic', 'list_contacts');
CLI
cotlet call mautic list_contacts

Example response

JSON

{
  "contacts": [
    {
      "contact_id": 1042,
      "name": "Ana Lopez",
      "email": "ana@example.com",
      "points": 42,
      "segments": [
        "newsletter",
        "webinar-leads"
      ],
      "last_active": "2026-10-21T09:14:00Z"
    },
    {
      "contact_id": 2217,
      "name": "Ana Lopez",
      "email": "ana.lopez@example.org",
      "points": 6,
      "segments": [
        "newsletter"
      ],
      "last_active": "2026-09-30T16:02:00Z"
    }
  ],
  "next_cursor": "2"
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.