Skip to main content

Clients & Sites Endpoints (cont.)

Clients & Sites (continued)

Area (Client) — continued

GET /Client — List Clients (continued)

ParameterTypeDescription
idonlybooleanReturn only Area IDs (not compatible with pagination)
includeactivebooleanInclude active clients
includeazuretenantsbooleanInclude Azure tenant info
includeinactivebooleanInclude inactive clients
includeinvoicetemplatenamebooleanInclude invoice template names
includenotesbooleanInclude client notes
include_custom_fieldsstringComma-separated Custom Field IDs to include
integration_tenantidsarray(integer)Filter by integration tenant IDs
integration_typestringFilter by integration type
issentinelbooleanOnly Sentinel clients
lastupdatefromdatebooleanInclude lastupdatefromdate field
lastupdatetodatebooleanInclude lastupdatetodate field
orderorder5stringSort fields
orderdescorderdesc5booleanDescending sort per field
page_nointegerPage number
page_sizeintegerPage size
pageinatebooleanEnable pagination
searchstringFilter clients matching search string
search_name_onlystringSearch client name only
sentinelidintegerFilter by Sentinel ID
sitefieldsstringSite field IDs to include
snowclientsbooleanOnly Snow clients
ticketarea_idintegerFilter by ticket area
toplevel_idintegerFilter by top level
view_idintegerView configuration ID

Response: Area_View

POST /Client — Create Client

Creates one or more client (Area) records.

Request Body: Array of Area objects.

Response: Area (201 Created)

GET /Client/{id} — Get Client

Returns a single client by ID.

ParameterTypeDescription
idinteger (path)Client ID (required)
domainstringPermission domain filter (e.g. opps)
getavailablertsbooleanInclude list of ticket types the client can log
includeactivitybooleanInclude ticket activity
includedetailsbooleanInclude extra detail objects
includeperiodsbooleanInclude pre-pay periods
includeprepaybooleanInclude pre-pay balance info
tickettype_idintegerTicket type context

Response: Area

DELETE /Client/{id} — Delete Client

Deletes a client by ID.

ParameterTypeDescription
idinteger (path)Client ID (required)

GET /Client/me — Get Current Client

Returns the client record for the currently authenticated end-user. Useful for portal contexts.

Response: Area

POST /Client/NewAccountsId — Assign New Accounts ID

Updates a client with a new accounts integration ID.

Request Body: Array of Area objects.

POST /Client/PaymentMethodUpdate — Update Payment Method

Updates payment method on a client record.

Request Body: Array of Area objects.

Area (Client) schema key fields:

FieldTypeDescription
idintegerClient ID
namestringClient name
toplevel_idintegerTop-level group ID
toplevel_namestringTop-level group name
inactivebooleanWhether client is inactive
colourstringDisplay colour
main_site_idintegerPrimary site ID
main_site_namestringPrimary site name
datecreateddatetimeClient creation date
notesstringClient notes
websitestringClient website
accountsemailaddressstringAccounts email
accountsfirstname / accountslastnamestringAccounts contact name
accountsccemailaddress / accountsbccemailaddressstringCC/BCC email for accounts
pritechintegerPrimary technician ID
pritech_namestringPrimary technician name
sectechintegerSecondary technician ID
accountmanagertechintegerAccount manager technician ID
accountmanagertech_namestringAccount manager name
open_ticket_countintegerOpen ticket count
onhold_ticket_countintegerOn-hold ticket count
total_ticket_countintegerTotal ticket count
opened_thismonth_countintegerTickets opened this month
chargehoursnumberCharge hours (billing)
hourlyratenumberHourly rate
periodchargenumberPeriod charge amount
chargeperiodintegerCharge period type
invoiceyesbooleanWhether to invoice
dontinvoicebooleanSuppress invoicing
invoicetemplatestringInvoice template
paymenttermsintegerPayment terms (days)
prepaytotalnumberTotal pre-pay amount
prepayusednumberUsed pre-pay amount
prepaybalancenumberRemaining pre-pay balance
billingtemplate_idintegerBilling template ID
item_tax_codeintegerItem tax code
service_tax_codeintegerService tax code
contract_tax_codeintegerContract tax code
prepay_tax_codeintegerPre-pay tax code
surchargeidintegerSurcharge ID
discountpercnumberDiscount percentage
customfieldsarrayCustom fields
site_fieldsarraySite-level fields
custombuttonsarrayCustom action buttons
attachmentsarrayClient attachments
popup_notesarrayPopup alert notes
faqlistsarrayAssociated FAQ lists
allowall_tickettypesbooleanAllow all ticket types
allowed_tickettypesarrayRestricted ticket type list
billingplansarrayBilling plan details
periodsarrayPre-pay periods
areaitemsarrayRecurring items
site_updatearraySites to create/update with client
domainstringClient domain
tax_numberstringTax/VAT number
xeroidstringXero integration ID
connectwiseidintegerConnectWise integration ID
autotaskidintegerAutotask integration ID
datto_idstringDatto integration ID
hubspot_idstringHubSpot integration ID
auvik_idstringAuvik integration ID
passportal_idintegerPassportal integration ID
ninjarmmidintegerNinjaRMM integration ID
stripe_customer_idstringStripe customer ID
stripe_payment_method_idstringStripe payment method ID
liongardidintegerLiongard integration ID
kaseyaidstringKaseya integration ID
trading_namestringTrading name
portalcolourstringPortal brand colour override
portal_logostringPortal logo override
newclient_sitenamestringSite name when creating new client
newclient_phonenumberstringSite phone when creating new client
newclient_domainstringDomain when creating new client
newclient_contactnamestringContact name when creating new client
newclient_contactemailstringContact email when creating new client
newclient_delivery_addressAddressStoreDelivery address when creating new client

AreaAzureTenant

GET /AreaAzureTenant — List Azure Tenant Links

Returns Azure tenant link records.

ParameterTypeDescription
azure_tenant_idstringFilter by Azure tenant GUID
client_idintegerFilter by client ID
details_idintegerFilter by details ID
ignore_decryptbooleanSkip credential decryption
notsetbooleanReturn only unlinked records
returnalliflinkedbooleanReturn all if already linked
site_idintegerFilter by site ID

Response: 200 OK


AreaItem (Recurring Items)

Represents recurring billing items attached to a client.

GET /RecurringItem — List Recurring Items

Returns recurring item records for a client.

ParameterTypeDescription
client_idintegerFilter by client ID
pending_recurring_invoicebooleanOnly items pending recurring invoice

Response: 200 OK


AreaNote (CRM Notes)

Represents CRM notes attached to clients.

GET /CRMNote — List CRM Notes

Returns CRM notes.

ParameterTypeDescription
client_idintegerFilter by client ID
countintegerNumber of results
supplier_idintegerFilter by supplier ID
toplevel_idintegerFilter by top level

Response: 200 OK

POST /CRMNote — Create CRM Note

Creates one or more CRM notes.

Request Body: Array of AreaNote objects.

GET /CRMNote/{id} — Get CRM Note

Returns a single CRM note by ID.

ParameterTypeDescription
idinteger (path)CRM Note ID (required)
includedetailsbooleanInclude extra details

DELETE /CRMNote/{id} — Delete CRM Note

Deletes a CRM note by ID.

ParameterTypeDescription
idinteger (path)CRM Note ID (required)

AreaPopup (Popup Notes)

Alert notes that display as popups when viewing a client or site.

GET /PopupNote — List Popup Notes

Returns popup notes.

ParameterTypeDescription
client_idintegerFilter by client ID
showallbooleanShow all notes including read
site_idintegerFilter by site ID
user_idintegerFilter by user ID

Response: 200 OK

POST /PopupNote/read — Mark Popup Note as Read

Marks a popup note as read.

Request Body: Array of AreaPopup objects.

AreaPopup schema:

FieldTypeDescription
idintegerPopup note ID
client_idintegerAssociated client ID
site_idintegerAssociated site ID
user_idintegerAssociated user ID
date_createddatetimeCreation timestamp
notestringNote content
dismissablebooleanWhether user can dismiss
read_statusintegerRead status flag
displaymodalbooleanShow as modal dialog
displayhtmlbooleanRender as HTML
limitdaterangebooleanApply date range restriction
startdatedatetimeDisplay start date
enddatedatetimeDisplay end date

AreaRequestType

Defines which request/ticket types are available to a client.

GET /AreaRequestType — List Area Request Types

Returns all area request type records. No documented query parameters.

GET /AreaRequestType/{id} — Get Area Request Type

Returns a single area request type by ID.

ParameterTypeDescription
idinteger (path)AreaRequestType ID (required)
includedetailsbooleanInclude extra details

Response Wrapper Schemas

Company_View

Paginated list response for companies.

FieldTypeDescription
page_nointegerCurrent page number
page_sizeintegerPage size
record_countintegerTotal record count
suppliersarray(Company_List)Company records
columns_idintegerColumn configuration ID
columnsarrayColumn definitions

Site_List (lightweight Site)

Lightweight site record used in list responses.

FieldTypeDescription
idintegerSite ID
namestringSite name
client_idnumberParent client ID
client_namestringParent client name
clientsite_namestringCombined client+site name
inactivebooleanWhether inactive
sla_idintegerAssigned SLA
phonenumberstringPhone number
colourstringDisplay colour
timezonestringTimezone
notesstringSite notes
isstocklocationbooleanStock location flag
isinvoicesitebooleanInvoice site flag
maincontact_idintegerMain contact ID
maincontact_namestringMain contact name
delivery_address_line1_5stringDelivery address
invoice_address_line1_5stringInvoice address
geocoord1 / geocoord2numberCoordinates
itglue_id / client_itglue_idstringIT Glue IDs
customfieldsarrayCustom fields
site_fieldsarraySite fields
stockbinsarrayStock bins at this site
default_currency_codeintegerCurrency code
client_to_invoiceintegerClient ID to invoice
client_to_invoice_recurringintegerClient ID for recurring invoices