Skip to content

Client

A client record with its contact information and assigned staff.

Fields

NameTypeFormatNullableDescriptionExample
idinteger—NoUnique client identifier.1001
pmsRefstring—YesPractice-management-system reference. Opaque string."8842"
clientRefstring—YesExternal client reference number."45123"
namestring—NoClient full name or company name."Sarah Johnson"
activeboolean—NoWhether the client is active.true
partnerStaffIdinteger—YesId of the assigned partner staff member.101
managerStaffIdinteger—YesId of the assigned manager staff member.102
createdAtstringdate-time (ISO 8601)NoRecord creation timestamp."2024-03-15T10:30:22.488054+00:00"
updatedAtstringdate-time (ISO 8601)NoLast modification timestamp."2024-07-20T14:22:10.817274+00:00"
clientKeystring—YesUnique business key for the client."AARON-FAHEY"
updateByStaffIdinteger—YesId of the staff member who last updated the client.53
exclusionStatusUpdatedAtstringdate-time (ISO 8601)YesWhen the collections exclusion setting was last changed."2024-03-15T10:30:22.488054+00:00"
isManagedByAiwynboolean—NoWhether Aiwyn manages the record's lifecycle.false
isCreatedByAiwynboolean—NoWhether the record was created in Aiwyn.false
originatingPartnerStaffIdinteger—YesId of the client's originating partner staff member.101
billingNotesstring—YesNotes about the client's billing.—
descriptionstring—YesDescription of the client.—
notesstring—YesNotes about the client.—
noticePeriodinteger—YesNotice period, in days, for ending work with the client.30
secondaryContactIdinteger—YesId of the secondary contact.602
feinstring—YesFederal Employer Identification Number."12-3456789"
statusstringenumNoClient status, for example ACTIVE, INACTIVE, PROSPECT or CLOSED."ACTIVE"
invoiceDeliveryMethodstringenumYesDefault delivery method for the client's invoices: EMAIL, DOWNLOAD, EMAIL_AND_DOWNLOAD or POST_ONLY."EMAIL"
mergedIntointeger—YesFor a client merged into another as a duplicate, the id of the client it was merged into. A merged client is always inactive.—
inactivateMergedRecordboolean—NoFor a merged client, whether the merge also made the client it was merged into inactive. Not an indicator that the client was merged; use mergedInto for that.false
clientContactInfoobjectClientContactInfoYesPrimary contact and address details. Returned only by GET /gql/v1/client/{id}; list and search responses carry clientContactInfoId instead.—
partnerStaffobjectStaffMemberYesAssigned partner staff member.—
managerStaffobjectStaffMemberYesAssigned manager staff member.—

ClientContactInfo

The address, city, state, and zip_code fields carry the standard postal-address shape.

NameTypeFormatNullableDescriptionExample
idinteger—NoUnique contact-info identifier.7001
firstNamestring—YesContact first name."Sarah"
lastNamestring—YesContact last name."Johnson"
emailstringemailYesContact email address."sarah.johnson@techcorp.com"
phonestring—YesContact phone number."555-0123"
addressstring—YesStreet address."123 Business Plaza"
citystring—YesCity."San Francisco"
statestring—YesState or province code."CA"
zip_codestring—YesPostal / ZIP code."94105"

StaffMember

NameTypeFormatNullableDescriptionExample
idinteger—NoStaff identifier.101
firstNamestring—YesStaff first name."Michael"
lastNamestring—YesStaff last name."Chen"
emailstringemailYesStaff email address."m.chen@company.com"