id | integer | — | No | Unique contact identifier. | 1001 |
pms_ref | string | — | Yes | Practice-management-system reference. | "C-4451" |
active | boolean | — | No | Whether the contact is active. | true |
contact_info_id | integer | — | No | Associated contact-info identifier. | 7001 |
office_id | integer | — | Yes | Associated office identifier. | 3 |
staff_id | integer | — | Yes | Associated staff identifier. | 53 |
type | string | — | Yes | Contact classification. | "Billing" |
fwd_email_confirmation | boolean | — | Yes | Whether email confirmations are forwarded to the contact. | false |
inactivated_at | string | date-time (ISO 8601, no offset) | Yes | When the contact was inactivated. | — |
created_at | string | date-time (ISO 8601) | No | Record creation timestamp. | "2024-03-01T15:20:11.104223+00:00" |
updated_at | string | date-time (ISO 8601) | No | Last modification timestamp. | "2024-09-14T08:02:47.551092+00:00" |
is_managed_by_aiwyn | boolean | — | No | Whether Aiwyn manages the record's lifecycle. | false |
is_created_by_aiwyn | boolean | — | No | Whether the record was created in Aiwyn. | false |
username | string | — | Yes | Client portal username of the contact. Null when the contact has no portal account. | "jane.smith@acme.com" |
custom_field_values | object | map | Yes | Firm-defined custom fields, keyed by custom field code. | — |
contact_info | object | Contact info | Yes | Identity, communication, and address details. | — |
contact_clients | array | ContactClient | Yes | Relationships linking the contact to clients. | — |