List the organisations.
GET/api/v1/organisationscontacts:read
Needs View Organisations. search matches the name, ignoring case.
| Scope | contacts:read |
| Asynchronous | No |
| MCP tool | list_organisations |
| Portal permissions | view_organisations |
| Paging | keyset |
| Default order | organisation_id |
| Sort fields | organisation_id |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
search | query | string or null | Optional | Organisations whose name 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. |
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
| Status | Description | Body |
|---|---|---|
200 | Success. | application/json object |
304 | Not modified (If-None-Match matched the ETag). | |
400 | invalid_version | application/problem+json Problem |
401 | token_expired, unauthenticated | application/problem+json Problem |
403 | forbidden, insufficient_scope, token_owner_inactive | application/problem+json Problem |
405 | method_not_allowed | application/problem+json Problem |
406 | not_acceptable | application/problem+json Problem |
410 | cursor_expired | application/problem+json Problem |
421 | wrong_region | application/problem+json Problem |
422 | invalid_cursor, validation_failed | application/problem+json Problem |
500 | internal_error | application/problem+json Problem |
503 | tenant_unavailable, unavailable | application/problem+json Problem |
504 | timeout | application/problem+json Problem |
200 body
| Field | Type | Required | Description |
|---|---|---|---|
items | array of Organisation | 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.
| Code | Status |
|---|---|
invalid_version | 400 |
token_expired | 401 |
unauthenticated | 401 |
forbidden | 403 |
insufficient_scope | 403 |
token_owner_inactive | 403 |
method_not_allowed | 405 |
not_acceptable | 406 |
cursor_expired | 410 |
wrong_region | 421 |
invalid_cursor | 422 |
validation_failed | 422 |
internal_error | 500 |
tenant_unavailable | 503 |
unavailable | 503 |
timeout | 504 |
Schemas
ContactDetails
| 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 |
Organisation
| Field | Type | Required | Description |
|---|---|---|---|
allows_projects | boolean | Required | Whether the organisation may own projects (client_flag). |
created_at | string (date-time) or null | Required | When the organisation was entered. |
created_by_username | string or null | Required | The username of whoever entered the organisation (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 organisation was last changed; null when it never was. |