Contacts
List contacts
Returns the contacts (customers and suppliers) visible to the key, cursor-paginated.
contacts:readcontacts:read- 120/min
- Server annotation: Read-only
- Server annotation: Idempotent
Result
generated from the schema
Tenancy inherited from the parent account: a billing account also sees the contacts of its parent account.
Arguments
Page size (1-500). Defaults to 50.
Limits: min 1, max 500
Opaque cursor of the page to return. Pass the value of pagination. from the previous response; treat it as opaque.
Limits: max length 200
Sort order: up to 3 comma-separated fields, each with a leading "-" for descending (e.g. "-updatedAt,name"). Sortable fields: createdAt, updatedAt, name, contactType, role, status, email. Defaults to "-createdAt". Ties are broken by id, so the order is stable across pages, and a cursor is bound to the sort it was issued with.
Limits: max length 200
Filter by contact type: person (individual) or company (business).
Available options: person, company
Filter by contact role: client, provider, lead, debtor, creditor, student, teacher or unspecified.
Available options: client, provider, lead, debtor, creditor, student, teacher, unspecified
Filter by email: matches against the email addresses of the contact.
Limits: max length 200
Filter by phone: matches against the phone numbers of the contact.
Limits: max length 200
Filter by whether the contact has access to the app: "true" returns only app users, "false" only those who are not. Omit it to skip the filter.
Set it to true to include pagination., the number of results that match the filters across all pages. Off by default.
Date filters by field. A bare day (YYYY-MM-DD) is read in the business timezone; an ISO 8601 instant with offset is applied as is by gte, lte, gt and lt, while on widens it to the whole business day that contains it. Fields: created, updated.
Show child attributesHide child attributes
Show child attributesHide child attributes
From this day or instant, inclusive.
Up to this day or instant, inclusive.
Strictly after; a bare day means after the end of that day.
Strictly before; a bare day means before the start of that day.
Exactly that day; an instant means the whole business day that contains it.
Show child attributesHide child attributes
From this day or instant, inclusive.
Up to this day or instant, inclusive.
Strictly after; a bare day means after the end of that day.
Strictly before; a bare day means before the start of that day.
Exactly that day; an instant means the whole business day that contains it.
Result
On success the result carries structuredContent with data and meta. These are the attributes of data.
Show the attributes of data
Unique identifier of the contact.
Contact name (person or company).
Contact type: person (individual) or company (business).
Available options: person, company
Contact role: client, provider, lead, debtor, creditor, student, teacher or unspecified.
Available options: client, provider, lead, debtor, creditor, student, teacher, unspecified
Contact status: active (operational), inactive (deactivated) or archived (closed, kept for historical records).
Available options: active, inactive, archived
NIF/CIF or tax identification number; null if not recorded.
Trade name; null if it matches the name or is not recorded.
Job title or position of the contact person; null if not recorded.
Contact number assigned by the account (internal reference); null if not recorded.
List of email addresses of the contact.
Show child attributesHide child attributes
Internal identifier of the email within the contact.
Descriptive label of the email; null if it has none.
Email address.
Whether this is the primary email of the contact.
Dedicated billing email; null means the primary email is used.
List of phone numbers of the contact.
Show child attributesHide child attributes
Internal identifier of the phone number within the contact.
Descriptive label of the phone number; null if it has none.
Phone number.
International country calling code (e.g. "+34"); null if not recorded.
Whether this is the primary phone number of the contact.
List of websites of the contact.
Show child attributesHide child attributes
Internal identifier of the website within the contact.
Descriptive label of the website; null if it has none.
Website URL.
List of addresses of the contact.
Show child attributesHide child attributes
Internal identifier of the address within the contact.
Descriptive label of the address; null if it has none.
First line of the address; null if not recorded.
Second line of the address; null if not recorded.
City; null if not recorded.
Province or region; null if not recorded.
Postcode; null if not recorded.
Country; null if not recorded.
Whether this is the main address of the contact.
Folder or organizational grouping; null if the contact is not classified.
General discount percentage of the contact (0-100); null if no discount is configured.
Preferred language of the contact; null if not recorded.
Default currency of the contact as an ISO 4217 code; null if not recorded.
Preferred payment method of the contact; null if not configured.
Show child attributesHide child attributes
Payment method type: bank_transfer, card, cash, sepa_direct_debit or other.
Available options: bank_transfer, card, cash, other, sepa_direct_debit
Free-text detail when the type is "other" (for example a method recorded before it was configured); null otherwise.
Days of the month on which the contact makes payments; null if not configured.
Default due days for the invoices of the contact; null if not configured.
Whether the contact is subscribed to marketing communications.
Whether the contact has access to the app.
Custom field values by custom field identifier; the definitions are in /api.
Creation date in ISO 8601 with offset.
Last update date in ISO 8601 with offset.
An error is a result with isError: true and the problem in content[0].; there is no structuredContent. See Errors.
Sample prompts
List my customers whose name starts with “Northwind”.
The same operation by REST
This tool runs GET /api/v1/contacts.
Related pages
Link to this section: Related pagesContacts
List contacts
Returns the contacts (customers and suppliers) visible to the key, cursor-paginated.
Guides
Safe writes
An assistant that can write can also write the wrong thing. Decide which tools need a person, retry without duplicating, and know what a write sets in motion.
Guides
Errors
A tool error is a result with
isError: trueand the problem in the first text block. Branch on itscode.
Was this page helpful?