List an agent's contacts
list_contactsList an agent's contacts
The people behind the agent's conversations and leads, newest first. Mojeeb creates contacts from incoming messages and new leads, so there is no endpoint to create one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Page size, 1 to 100 (values outside are clamped). Default 20. | |
| cursor | No | Opaque cursor from the previous page's `next_cursor`. Omit for the first page. A cursor the API didn't return is `422 invalid_request`. | |
| search | No | Matches the name, mobile or email. | |
| channel | No | Only contacts who carry this channel's id (a WhatsApp number, or a Facebook or Instagram id). Case-insensitive; another value returns an empty page. | |
| date_to | No | Only those created on or before this date (UTC), the whole day included. Send a date such as `2026-10-11`; a date-time is read as its date. | |
| agent_id | Yes | The agent the resource belongs to. Another company's agent, or the nil UUID, is `404 agent_not_found`; an agent outside the key's agent list is `403 agent_not_authorized`. | |
| date_from | No | Only those created on or after this date (UTC). Send a date such as `2026-10-01`; a date-time is read as its date. |