Skip to content

Contact

A contact record with contact information and client relationships.

Fields

NameTypeFormatNullableDescriptionExample
idinteger—NoUnique contact identifier.1001
pms_refstring—YesPractice-management-system reference."C-4451"
activeboolean—NoWhether the contact is active.true
contact_info_idinteger—NoAssociated contact-info identifier.7001
office_idinteger—YesAssociated office identifier.3
staff_idinteger—YesAssociated staff identifier.53
typestring—YesContact classification."Billing"
fwd_email_confirmationboolean—YesWhether email confirmations are forwarded to the contact.false
inactivated_atstringdate-time (ISO 8601, no offset)YesWhen the contact was inactivated.—
created_atstringdate-time (ISO 8601)NoRecord creation timestamp."2024-03-01T15:20:11.104223+00:00"
updated_atstringdate-time (ISO 8601)NoLast modification timestamp."2024-09-14T08:02:47.551092+00:00"
is_managed_by_aiwynboolean—NoWhether Aiwyn manages the record's lifecycle.false
is_created_by_aiwynboolean—NoWhether the record was created in Aiwyn.false
usernamestring—YesClient portal username of the contact. Null when the contact has no portal account."jane.smith@acme.com"
custom_field_valuesobjectmapYesFirm-defined custom fields, keyed by custom field code.—
contact_infoobjectContact infoYesIdentity, communication, and address details.—
contact_clientsarrayContactClientYesRelationships linking the contact to clients.—

ContactClient

NameTypeFormatNullableDescriptionExample
client_idinteger—YesClient identifier.2180
contact_idinteger—YesContact identifier.1001
pms_refstring—YesPractice-management-system relationship reference."LL-9981"
activeboolean—YesWhether the relationship is active.true
clientobjectClientSummaryYesAssociated client summary.—