Skip to main content

List the contacts.

GET/api/v1/contactscontacts:read

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.

Scopecontacts:read
AsynchronousNo
MCP toollist_contacts
Portal permissionsview_contacts
Pagingkeyset
Default ordercontact_id
Sort fieldscontact_id
Filtersorganisation_id

Parameters​

NameInTypeRequiredDescription
searchquerystring or nullOptionalContacts whose name, email or organisation contains this text (case-insensitive).
limitqueryintegerOptionalDefault: 50; ≥ 1
cursorquerystringOptional
sortquerystringOptionalComma-separated sort fields, - for descending.
organisation_idqueryarray of stringOptional
Docwize-Versionheaderstring (date)Optional
If-None-MatchheaderstringOptionalAnswers 304 when the representation is unchanged (resources that publish an ETag).

Responses​

StatusDescriptionBody
200Success.application/json object
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
410cursor_expiredapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422invalid_cursor, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

200 body​

FieldTypeRequiredDescription
itemsarray of ContactRequired
next_cursorstring or nullRequired
warningsarray of objectRequired

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

Contact​

FieldTypeRequiredDescription
contact_idstringRequired
created_atstring (date-time) or nullRequiredWhen the contact was entered.
created_by_usernamestring or nullRequiredThe username of whoever entered the contact (the Portal's Entered By); null when none was recorded.
detailsContactDetailsRequired
namestring or nullRequired
organisation_idstringRequired
updated_atstring (date-time) or nullRequiredWhen the contact was last changed; null when it never was.

ContactDetails​

FieldTypeRequiredDescription
business_typestring or nullRequired
categorystring or nullRequired
category_statusstring or nullRequired
date_of_birthstring (date) or nullRequired
designationstring or nullRequired
emailstring or nullRequired
f1string or nullRequired
f10string or nullRequired
f11string or nullRequired
f12string or nullRequired
f13string or nullRequired
f14string or nullRequired
f15string or nullRequired
f2string or nullRequired
f3string or nullRequired
f4string or nullRequired
f5string or nullRequired
f6string or nullRequired
f7string or nullRequired
f8string or nullRequired
f9string or nullRequired
faxstring or nullRequired
genderstring or nullRequired
id_numberstring or nullRequired
initialsstring or nullRequired
mobilestring or nullRequired
mobile_2string or nullRequired
notesstring or nullRequired
phonestring or nullRequired
phone_homestring or nullRequired
physical_addressstring or nullRequired
physical_codestring or nullRequired
physical_countrystring or nullRequired
postal_address_1string or nullRequired
postal_address_2string or nullRequired
postal_address_3string or nullRequired
postal_codestring or nullRequired
postal_countrystring or nullRequired
websitestring or nullRequired