Contacts
List the contacts related to a contact
Returns the contacts tied to this one, in both directions of the relationship, each with the role of the relationship.
contacts:readcontacts:read- 120/min
- Server annotation: Read-only
- Server annotation: Idempotent
Result
generated from the schema
The contact detail returns the same list under relatedContacts; this is the sub-resource for reading it on its own.
Arguments
Contact identifier.
Limits: min length 1
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 related contact.
Name of the related contact.
Trade name of the related contact; null if not recorded.
Type of the related contact: person or company.
Available options: person, company
Role of the related contact.
Available options: client, provider, lead, debtor, creditor, student, teacher, unspecified
Status of the related contact: active, inactive or archived.
Available options: active, inactive, archived
Role of the relationship between the two contacts (e.g. "employee of"); null if not recorded.
An error is a result with isError: true and the problem in content[0].; there is no structuredContent. See Errors.
The same operation by REST
This tool runs GET /api/v1/contacts/{contactId}/related-contacts.
Related pages
Link to this section: Related pagesContacts
List the contacts related to a contact
Returns the contacts tied to this one, in both directions of the relationship, each with the role of the relationship.
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?