Skip to main content

Users & Agents Schema

Schemas

Uname (Agent)

Core agent object returned from /Agent endpoints.

PropertyTypeDescription
idintegerAgent ID
namestringDisplay name
firstnamestringFirst name
surnamestringSurname
initialsstringInitials
emailstringEmail address
jobtitlestringJob title
teamstringPrimary team name
teamsarray[UnameSection]All team memberships
departmentsarray[UnameDepartment]Department memberships
tickettypesarray[UnameRequestType]Accessible ticket types
qualificationsarray[UnameQualification]Agent qualifications
rolesarray[NHD_Roles]Assigned roles
sitesarray[UnameSite]Associated sites
onlinestatusintegerOnline status code
onlinestatus_actualintegerActual online status code
is_onlinebooleanWhether agent is currently online
lastonlinestringLast online timestamp (string)
lastlogindatestring (date-time)Last login date
isdisabledbooleanWhether agent is disabled
is_agentbooleanWhether this record is an agent
is_adminbooleanWhether agent has admin rights
is_salesbooleanWhether agent is in sales
licence_typeintegerLicence type (named/concurrent)
named_licences_in_useintegerNumber of named licences in use
concurrent_licences_in_useintegerNumber of concurrent licences in use
ticket_countintegerNumber of tickets assigned
smsstringSMS/mobile number
extensionnumberstringPhone extension
colourstringAgent display colour
agentphotopathstringProfile photo path
agentphotodatastringProfile photo base64 data
signaturestringEmail signature
departmentstringPrimary department
linemanagerintegerLine manager agent ID
linemanager_namestringLine manager display name
twofactor_enabledbooleanTwo-factor authentication enabled
exchange_authorizedbooleanExchange calendar authorized
exchange_accountstringExchange account
workhour_startnumberWork start hour
workhour_endnumberWork end hour
workday_idintegerWork day schedule ID
workday_namestringWork day schedule name
workday_timezonestringTimezone for work day
timezonestringAgent timezone
costpricenumberAgent cost price
chargerateintegerAgent charge rate ID
holiday_allowancenumberAnnual holiday allowance
remaining_holiday_allowancenumberRemaining holiday allowance
delegation_activatedbooleanDelegation currently active
delegation_timebasedbooleanDelegation is time-based
delegation_startstring (date-time)Delegation start time
delegation_endstring (date-time)Delegation end time
delegation_user_idintegerDelegated-to user ID
delegation_user_namestringDelegated-to user name
can_approve_purchaseorderbooleanCan approve purchase orders
can_approve_quotebooleanCan approve quotes
can_approve_invoicebooleanCan approve invoices
isapiagentbooleanWhether this is an API-only agent
customfieldsarray[CustomField]Custom field values
notificationsarray[UnameNotification]Agent notifications
access_controlarray[AccessControl]Access control entries
oktaidstringOkta integration ID
third_party_guidstringThird-party GUID
guidstring (uuid)Agent GUID
last_modifiedstring (date-time)Last modified timestamp
datecreatedstring (date-time)Date created

Users (End User / Contact)

Core end-user/contact object returned from /Users endpoints.

PropertyTypeDescription
idintegerUser ID
namestringDisplay name
firstnamestringFirst name
surnamestringSurname
initialsstringInitials
titlestringTitle/salutation
emailaddressstringPrimary email address
email2stringSecondary email address
email3stringTertiary email address
phonenumberstringPhone number
mobilenumberstringMobile number
mobilenumber2stringSecondary mobile number
homenumberstringHome number
faxstringFax number
sitephonenumberstringSite phone number
phonenumber_preferredstringPreferred phone number
site_idnumberSite ID
site_id_intintegerSite ID (integer)
site_namestringSite name
client_namestringClient name
organisation_idintegerOrganisation ID
departmentstringDepartment
departmentsarray[UserDepartment]Department memberships
loginstringLogin/username
inactivebooleanWhether user is inactive
isserviceaccountbooleanWhether this is a service account
isimportantcontactbooleanWhether marked as important contact
ismaincontactbooleanWhether this is the main contact
ischangeapproverbooleanWhether user is a change approver
ispoapproverbooleanWhether user can approve purchase orders
canaddbooleanWhether user can add tickets
cancreateuserbooleanWhether user can create other users
caneditwebdetailsbooleanWhether user can edit their web details
canaccesscatalogbooleanWhether user can access the service catalog
canviewcontractsbooleanWhether user can view contracts
allowviewsitedocsbooleanWhether user can view site documents
web_access_levelintegerPortal access level
showmeonlyintegerShow only own tickets setting
neversendemailsbooleanNever send emails to this user
dontackemailsbooleanDo not send acknowledgement emails
notesstringUser notes
colourstringDisplay colour
linked_agent_idintegerLinked agent ID (if agent is also a user)
priority_idintegerDefault priority ID
slaidintegerSLA ID
covered_by_contractbooleanWhether covered by contract
contract_valuenumberContract value
messagegroup_idintegerMessage group ID
role_liststringComma-separated role list
datecreatedstring (date-time)Date created
lastlogindatestring (date-time)Last login date
customfieldsarray[CustomField]Custom field values
attachmentsarray[Attachment]Attached files
primary_addressAddressStorePrimary address
addressesarray[AddressStore]All addresses
delegation_activatedbooleanDelegation currently active
delegation_timebasedbooleanDelegation is time-based
delegation_startstring (date-time)Delegation start time
delegation_endstring (date-time)Delegation end time
delegation_user_idintegerDelegated-to user ID
delegation_user_namestringDelegated-to user name
open_ticket_countintegerOpen ticket count
onhold_ticket_countintegerOn-hold ticket count
total_ticket_countintegerTotal ticket count
third_party_guidstringThird-party GUID
azure_connectionidintegerAzure connection ID
jira_idstringJira integration ID
autotaskidintegerAutotask integration ID
connectwiseidintegerConnectWise integration ID
sendwelcomeemailbooleanSend welcome email on creation
resetpasswordbooleanForce password reset

LoginToken

Token used for authentication flows.

PropertyTypeDescription
idintegerToken ID
typestringToken type
timestampstring (date-time)Token creation timestamp
verifierstringToken verifier string
tokenstringToken value
enc_idintegerEncoded ID
token_usedbooleanWhether token has been used
used_timestampstring (date-time)When token was used
used_useridstringUser ID that used the token
jwtstringJWT string
_warningstringWarning message