Needs View, Edit or Create Contacts. organisation_id lists one organisation's contacts (repeat for several); search matches the name, email or organisation, ignoring case.
| |
|---|
| Scope | contacts:read |
| Asynchronous | No |
| MCP tool | list_contacts |
| Portal permissions | view_contacts |
| Paging | keyset |
| Default order | contact_id |
| Sort fields | contact_id |
| Filters | organisation_id |
Parameters
| Name | In | Type | Required | Description |
|---|
search | query | string or null | Optional | Contacts whose name, email or organisation contains this text (case-insensitive). |
limit | query | integer | Optional | Default: 50; ≥ 1 |
cursor | query | string | Optional | |
sort | query | string | Optional | Comma-separated sort fields, - for descending. |
organisation_id | query | array of string | Optional | |
Docwize-Version | header | string (date) | Optional | |
If-None-Match | header | string | Optional | Answers 304 when the representation is unchanged (resources that publish an ETag). |
Responses
200 body
| Field | Type | Required | Description |
|---|
items | array of Contact | Required | |
next_cursor | string or null | Required | |
warnings | array of object | Required | |
Errors
The problem codes this operation can answer with. Each code links to its page.
Schemas
| Field | Type | Required | Description |
|---|
contact_id | string | Required | |
created_at | string (date-time) or null | Required | When the contact was entered. |
created_by_username | string or null | Required | The username of whoever entered the contact (the Portal's Entered By); null when none was recorded. |
details | ContactDetails | Required | |
name | string or null | Required | |
organisation_id | string | Required | |
updated_at | string (date-time) or null | Required | When the contact was last changed; null when it never was. |
| Field | Type | Required | Description |
|---|
business_type | string or null | Required | |
category | string or null | Required | |
category_status | string or null | Required | |
date_of_birth | string (date) or null | Required | |
designation | string or null | Required | |
email | string or null | Required | |
f1 | string or null | Required | |
f10 | string or null | Required | |
f11 | string or null | Required | |
f12 | string or null | Required | |
f13 | string or null | Required | |
f14 | string or null | Required | |
f15 | string or null | Required | |
f2 | string or null | Required | |
f3 | string or null | Required | |
f4 | string or null | Required | |
f5 | string or null | Required | |
f6 | string or null | Required | |
f7 | string or null | Required | |
f8 | string or null | Required | |
f9 | string or null | Required | |
fax | string or null | Required | |
gender | string or null | Required | |
id_number | string or null | Required | |
initials | string or null | Required | |
mobile | string or null | Required | |
mobile_2 | string or null | Required | |
notes | string or null | Required | |
phone | string or null | Required | |
phone_home | string or null | Required | |
physical_address | string or null | Required | |
physical_code | string or null | Required | |
physical_country | string or null | Required | |
postal_address_1 | string or null | Required | |
postal_address_2 | string or null | Required | |
postal_address_3 | string or null | Required | |
postal_code | string or null | Required | |
postal_country | string or null | Required | |
website | string or null | Required | |