Objects
Object types are the most common type within GraphQL, they represent an object that can be fetched from the Worksome GraphQL API.
Address
An address.
| Fields |
|---|
addressString |
postCodeString |
cityString |
stateString |
countryCountry |
formattedAddressString |
Related Types
References: Country
Referenced by: Company, ComplianceDataAddress, Contract, Job, Partner, Worker
Approval
An approval flow that defines a review process triggered by specific events on hires.
Approvals are configured by companies to require sign-off before certain actions take effect. Currently, approval flows can only be applied to hires. The supported automatic triggers are:
- HIRE_CREATED — require approval when a new hire is created (e.g. rate exceeds a budget threshold). - HIRE_CHANGED — require approval when an existing hire’s contract is modified (e.g. rate or end date changes). - CLASSIFICATION_CREATED — require approval when a worker classification (e.g. IR35, US worker classification) is completed on a hire.
A trigger of NONE means the approval flow will not be automatically evaluated.
Approval flows cannot currently be applied to jobs, payment requests, or other entities.
Each approval has a trigger (the event that starts the flow), one or more rules (conditions that determine when approval is needed), and approvers (user groups who must review and approve). When a matching event occurs, an approval request is created and the action is blocked until all required approvers have acted. The outcome of rejection depends on the trigger: for HIRE_CREATED, the hire is cancelled; for HIRE_CHANGED, the pending contract change is reverted; for CLASSIFICATION_CREATED, the classification result is discarded.
Use the Workflow type and its mutations (createWorkflow, updateWorkflow) to manage approvals as a complete tree structure (root + rules + approvers) in a single operation.
| Fields |
|---|
idID! |
nameString! |
versionInt! |
statusApprovalStatus!Only ACTIVE approvals are evaluated when triggering events occur. |
triggerApprovalTrigger!Possible values: - HIRE_CREATED — evaluated when a new hire is created. - HIRE_CHANGED — evaluated when a hire’s contract terms are modified. - CLASSIFICATION_CREATED — evaluated when a worker classification completes on a hire.Approval flows for jobs, payment requests, or other entities are not currently supported. |
descriptionString |
companyCompany! |
approvalRules[ApprovalRule!]!Each rule specifies conditions (e.g. “rate > 100”) and a sequence of approver groups. When the trigger fires, the system evaluates rules to determine which approval path applies. |
createdAtDateTime! |
updatedAtDateTime! |
latestVersionIdString!Approvals are versioned — when updated, a new version is created. Use this to navigate to the most recent version. |
Related Types
References: ApprovalRule, ApprovalStatus, ApprovalTrigger, Company, DateTime
Referenced by: ApprovalApprovable, ApprovalPaginator, ApprovalRule
ApprovalApprovable
An approval request — a runtime instance created when a triggering event on a hire matches an approval rule.
Approval requests are currently only created for hires. The supported triggering events are: - A hire is created (HIRE_CREATED) - A hire’s contract is changed (HIRE_CHANGED) - A worker classification is completed on a hire (CLASSIFICATION_CREATED)
Jobs, payment requests, and other entities do not go through approval workflows.
When a trigger fires and an active approval rule’s conditions match, the system creates an ApprovalApprovable linking the hire to the matched rule. The outcome of rejection depends on the trigger: for HIRE_CREATED, the hire is cancelled; for HIRE_CHANGED, the pending contract change is reverted; for CLASSIFICATION_CREATED, the classification result is discarded.
Each approval request tracks its history of actions through approvalStates — showing who approved, rejected, or requested changes and when.
| Fields |
|---|
idID! |
approvalApproval! |
approvalRuleApprovalRule! |
approvalStates[ApprovalState!]!States are recorded in chronological order as each approver acts. |
approvableApprovable |
viewerCanActionBoolean!Returns true when the user is a member of the next approver group in the sequence and the request is still pending their review. |
Related Types
References: Approvable, Approval, ApprovalRule, ApprovalState
Referenced by: ApprovalApprovablePaginator, ApprovalState
ApprovalApprovablePaginator
A paginated list of ApprovalApprovable items.
| Fields |
|---|
paginatorInfoPaginatorInfo! |
data[ApprovalApprovable!]! |
Related Types
References: ApprovalApprovable, PaginatorInfo
ApprovalPaginator
A paginated list of Approval items.
| Fields |
|---|
paginatorInfoPaginatorInfo! |
data[Approval!]! |
Related Types
References: Approval, PaginatorInfo
Referenced by: Hire
ApprovalRule
A rule within an approval flow that defines when approval is required and who must approve.
Each rule belongs to an approval and contains two key parts: 1. Conditions (rules): Variable comparisons that determine whether this rule applies. For example, “hourly rate > 100” or “budget >= 50000”. Conditions use workflow variables (system fields like rate/budget, or custom fields configured on the company). 2. Approvers: An ordered sequence of user groups who must review and approve items that match this rule’s conditions. Approvers are processed in position order.
When a triggering event occurs (e.g. a hire is created), the system evaluates each active rule’s conditions against the item. If a rule matches, approval requests are sent to its approvers.
| Fields |
|---|
idID! |
approvalApproval! |
fields[CustomField!]!These are the company-configured fields used as variables in the rule’s conditions. |
rules[WorkflowVariableRule!]!Each condition compares a workflow variable (e.g. hourly rate, budget, or a custom field) against a value using an operator (e.g. greater than, equals). All conditions must be met for the rule to trigger. |
approvers[Approver!]! |
approverCountInt! |
createdAtDate! |
updatedAtDate! |
Related Types
References: Approval, Approver, CustomField, Date, WorkflowVariableRule
Referenced by: Approval, ApprovalApprovable, ApprovalRulePaginator, Approver, WorkflowVariableRule
ApprovalRulePaginator
A paginated list of ApprovalRule items.
| Fields |
|---|
paginatorInfoPaginatorInfo! |
data[ApprovalRule!]! |
Related Types
References: ApprovalRule, PaginatorInfo
ApprovalState
A recorded action on an approval request — an entry in the approval audit trail.
Each time an approver acts on an approval request (approves, rejects, or requests changes), an ApprovalState is created to record the decision, the user who made it, and any message. The system also creates states when an approval is automatically cancelled (e.g. the hire was cancelled or the job was closed).
| Fields |
|---|
idID! |
stateApprovalApprovableState!REQUESTED, APPROVED, REJECTED, NEEDS_CHANGE, or CANCELLED. |
actionedByUser! |
messageString |
cancellationReasonApprovalCancellationReasonOnly present when state is CANCELLED. For example, the hire may have been cancelled or the associated job closed before the approval was completed. |
approverApprover! |
approvalApprovableApprovalApprovable! |
createdAtDateTime |
Related Types
References: ApprovalApprovable, ApprovalApprovableState, ApprovalCancellationReason, Approver, DateTime, User
Referenced by: ApprovalApprovable, ApprovalStatePaginator, Classification, Hire
ApprovalStatePaginator
A paginated list of ApprovalState items.
| Fields |
|---|
paginatorInfoPaginatorInfo! |
data[ApprovalState!]! |
Related Types
References: ApprovalState, PaginatorInfo
Approver
An approver assignment — a user group assigned to review items that match an approval rule.
Approvers are ordered by position within a rule. When an approval request is created, the system notifies the first approver group (position 1). Once they approve, the next group (position 2) is notified, and so on. All approvers in the sequence must approve for the overall request to be approved.
| Fields |
|---|
idID! |
approvalRuleApprovalRule! |
userGroupUserGroup! |
positionInt! |
createdAtDate! |
updatedAtDate! |
Related Types
References: ApprovalRule, Date, UserGroup
Referenced by: ApprovalRule, ApprovalState, ApproverPaginator
ApproverPaginator
A paginated list of Approver items.
| Fields |
|---|
paginatorInfoPaginatorInfo! |
data[Approver!]! |
Related Types
References: Approver, PaginatorInfo
AvailableMarket
A market that an account is available to work in, including the specific regions within that market.
| Fields |
|---|
marketMarket! |
regions[AvailableRegion!]! |
Related Types
References: AvailableRegion, Market
Referenced by: Recruiter
AvailableRegion
A specific region within a market that an account is available to work in.
| Fields |
|---|
idInt! |
nameString! |
isOnSiteBoolean! |
isRemoteBoolean! |
Related Types
Referenced by: AvailableMarket
BankDetail
Bank account details.
| Fields |
|---|
idID! |
nameString! |
bankAddressString! |
bankCountryString! |
bankNameString! |
beneficiaryNameString! |
bbanBban |
ibanString |
swiftString |
Related Types
References: Bban
Referenced by: ComplianceDataBankDetail
Batch
A batch of items for processing.
Batches are a way to group multiple items (such as payment requests) together so that you can perform bulk actions on them. They’re mainly intended for operational workflows inside the platform (e.g., approving or processing large sets of items at once). For most external integrations, batches are not usually needed – you’ll likely want to work directly with the individual items instead.
| Fields |
|---|
idID! |
nameString! |
typeBatchType! |
accountAccount! |
itemsCountByStatusInt! |
createdAtDateTime! |
updatedAtDateTime! |
deletedAtDateTime |
itemsBatchItemPaginator! |
Related Types
References: Account, BatchItemPaginator, BatchType, DateTime
Referenced by: BatchPaginator, RunBatchActionResponse
BatchItemPaginator
A paginated list of BatchItem items.
| Fields |
|---|
paginatorInfoPaginatorInfo! |
data[BatchItem!]! |
Related Types
References: BatchItem, PaginatorInfo
Referenced by: Batch
BatchPaginator
A paginated list of Batch items.
| Fields |
|---|
paginatorInfoPaginatorInfo! |
data[Batch!]! |
Related Types
References: Batch, PaginatorInfo
Referenced by: PaymentRequest
Bban
The BBAN type details.
| Fields |
|---|
bsbString |
bankIdString |
bankCodeString |
branchIdString |
branchCodeString |
accountNumberString |
accountSuffixString |
institutionNumberString |
transitNumberString |
registrationNumberString |
routingCodeString |
sortCodeString |
purposeOfPaymentString |
Related Types
Referenced by: BankDetail
Bid
Represents a bid sent on a job.
| Fields |
|---|
idID! |
statusBidStatus! |
jobJob! |
conversationConversation! |
messageMessage! |
workerWorker! |
supplierAccount |
rateFloat |
rateTypeRateType |
currencyString! |
briefString |
links[String!]! |
files[File!]! |
fees[Fee!]! |
workerTypeCandidateSubmissionType |
Related Types
References: Account, BidStatus, CandidateSubmissionType, Conversation, Fee, File, Job, Message, RateType, Worker
Referenced by: BidPaginator, JobCandidate
BidPaginator
A paginated list of Bid items.
| Fields |
|---|
paginatorInfoPaginatorInfo! |
data[Bid!]! |
Related Types
References: Bid, PaginatorInfo
Referenced by: Job
BusinessEntity
A business entity.
| Fields |
|---|
idID! |
typeBusinessEntityType! |
nameString! |
localisedNameString! |
companyNameString |
companyNumberString |
taxNumberString |
nationalIdentifierString |
companyNumberValidationStatusCompanyNumberValidationStatus |
Related Types
References: BusinessEntityType, CompanyNumberValidationStatus
Referenced by: BusinessEntityPaginator, ComplianceDataBusinessEntity, Contract, Invoice, Partner, Worker
BusinessEntityPaginator
A paginated list of BusinessEntity items.
| Fields |
|---|
paginatorInfoPaginatorInfo! |
data[BusinessEntity!]! |
Related Types
References: BusinessEntity, PaginatorInfo
Referenced by: Worker
Classification
A classification represents a worker classification (SDS/WCR) for a hire. This can be various types of classifications like IR35, US Worker Classification, etc.
| Fields |
|---|
idID! |
userUser! |
hireHire! |
companyCompany! |
freelancerWorker! |
typeClassificationType! |
descriptionString |
complianceNameString! |
statusClassificationStatus! |
acceptedStatusBoolean! |
resultClassificationResultDetails! |
pdfUrlString! |
overridesAnotherBoolean! |
overrideReasonString |
overrideUserUser |
disputesAnotherBoolean! |
hasUnknownAnswersBoolean! |
hasUpdatedAnswersBoolean! |
hasWorkerCompletedAnswersBoolean! |
canChangeBoolean! |
canOverrideBoolean! |
hasHireBlockingConditionBoolean! |
currentApprovalStateApprovalState |
hasPendingApprovalBoolean! |
titleString! |
wcrTermString! |
hasUpdatedHireBoolean! Deprecated |
isReclassificationRequiredBoolean! |
isClassificationActionRequiredBoolean! |
endClientInputCompleteBoolean! |
createdAtDateTime |
updatedAtDateTime |
Related Types
References: ApprovalState, ClassificationResultDetails, ClassificationStatus, ClassificationType, Company, DateTime, Hire, User, Worker
Referenced by: ClassificationPaginator, Hire
ClassificationPaginator
A paginated list of Classification items.
| Fields |
|---|
paginatorInfoPaginatorInfo! |
data[Classification!]! |
Related Types
References: Classification, PaginatorInfo
ClassificationResultDetails
Detailed information about a classification result including outcome, label, and title.
| Fields |
|---|
outcomeClassificationResult! |
labelString! |
titleString! |
Related Types
References: ClassificationResult
Referenced by: Classification
Client
The relationship between a worker and a company as seen from the workers perspective.
An equivalent relationship can be found for companies called TrustedContacts.
| Fields |
|---|
idID! |
companyCompany! |
statusContactStatus! |
statusUpdatedAtDate! |
invitedAtDate! |
tokenString! |
originTrustedContactOrigin! |
originChannelTrustedContactOriginChannel! |
requiresOnboardingBoolean! |
canLeaveClientBoolean! |
onboardingDocuments[OnboardingDocument!]! |
onboardingStatusTrustedContactOnboardingStatus |
requiredCustomFieldsCompleteBoolean! |
customFieldValues[CustomFieldValue!]! |
Related Types
References: Company, ContactStatus, CustomFieldValue, Date, OnboardingDocument, TrustedContactOnboardingStatus, TrustedContactOrigin, TrustedContactOriginChannel
Referenced by: Worker
Company
A company account — the primary hiring entity on Worksome.
Companies create jobs, manage a Talent Pool of trusted contacts, make hires, and process payments. A company may belong to one or more organisations and can work with staffing agencies and partners.
| Fields |
|---|
idID! |
nameString! |
currencyString! |
marketMarketCode! |
avatarURL |
profileProfile |
contactInviteUrlString |
personalInviteUrlStringThis link allows auto-approval to the company’s Talent Pool. |
settingsCompanySettings |
addressAddress |
hasActiveWebhooksBoolean! |
hasMultipleBusinessEntitiesBoolean! |
usedEngagementTypeSetups[EngagementTypeSetup!]! |
externalIdentifierString |
recruiterManagesMixedModeBoolean!When true, each SA relationship can override the company default (staffingAgencyManagesWorker). When false, the company default applies uniformly to all SA relationships. |
trustedContactsTrustedContactPaginator! |
teamMembersUserPaginator! |
teamMembersAndOwnersUserPaginator! |
organisationsOrganisationPaginator! |
customFieldsCustomFieldPaginator! |
staffingAgenciesCompanyRecruiterPaginator! |
Related Types
References: Address, CompanyRecruiterPaginator, CompanySettings, CustomFieldPaginator, EngagementTypeSetup, MarketCode, OrganisationPaginator, Profile, TrustedContactPaginator, URL, UserPaginator
Referenced by: Approval, Classification, Client, CompanyPaginator, CompanyRecruiter, CompanySupplier, Contract, Hire, Invoice, Job, PaymentRequest, Project, TrustedContact, UserGroup
CompanyPaginator
A paginated list of Company items.
| Fields |
|---|
paginatorInfoPaginatorInfo! |
data[Company!]! |
Related Types
References: Company, PaginatorInfo
Referenced by: Organisation
CompanyRecruiter
A company recruiter relationship.
| Fields |
|---|
idID! |
emailString |
statusContactStatus! |
tokenString |
messageString |
recruiterFeeFloat Deprecated |
recruiterOwnershipDaysInt |
recruiterOwnershipDaysLeftInt |
recruiterManagesWorkersBoolean!Resolved from the per-relationship override if set, otherwise falls back to the company-level default. |
hasHiresBoolean! |
recruiterRecruiter! |
companyCompany! |
tags[Tag!]! |
externalIdentifierString |
customFieldValues[CustomFieldValue!]! |
requiresOnboardingBoolean! |
requiredCustomFieldsCompleteBoolean! |
onboardingDocuments[OnboardingDocument!]! |
onboardingStatusRecruiterOnboardingStatus |
invitedAtDate! |
fees[Fee!]! |
compliances[Compliance!]!When names is omitted, the curated review-modal subset is returned. Pass explicit names to filter to a specific compliance. |
notesNotePaginator! |
Related Types
References: Company, Compliance, ContactStatus, CustomFieldValue, Date, Fee, NotePaginator, OnboardingDocument, Recruiter, RecruiterOnboardingStatus, Tag
Referenced by: CompanyRecruiterPaginator, Recruiter
CompanyRecruiterPaginator
A paginated list of CompanyRecruiter items.
| Fields |
|---|
paginatorInfoPaginatorInfo! |
data[CompanyRecruiter!]! |
Related Types
References: CompanyRecruiter, PaginatorInfo
Referenced by: Company
CompanySettings
Company settings.
| Fields |
|---|
projectTrackingBoolean |
requiredJobBudgetBoolean |
requiredJobRateBoolean |
multiCurrencyContractsDisabledBoolean |
staffingAgencyManagesWorkerBooleanThis can be overridden per staffing agency relationship and per hire. |
defaultMessageRemindWorkerToBillString |
Related Types
Referenced by: Company
CompanySupplier
A link between a client company and a supplier account (Company acting as a staffing agency).
| Fields |
|---|
idID! |
companyCompany! |
supplierAccount |
Related Types
References: Account, Company
Referenced by: CompanySupplierPaginator
CompanySupplierPaginator
A paginated list of CompanySupplier items.
| Fields |
|---|
paginatorInfoPaginatorInfo! |
data[CompanySupplier!]! |
Related Types
References: CompanySupplier, PaginatorInfo
Compliance
A compliance requirement that must be met for business processes to proceed.
| Fields |
|---|
actorComplianceActorTypes! |
nameComplianceName! |
applicableBoolean! |
completedBoolean! |
completedAtDateTime |
typeString |
titleString! |
descriptionString! |
actionComplianceAction |
validationDetailsComplianceValidationDetails |
data[ComplianceData!]! |
Related Types
References: ComplianceAction, ComplianceActorTypes, ComplianceData, ComplianceName, ComplianceValidationDetails, DateTime
Referenced by: CompanyRecruiter, Gate, Hire, TrustedContact
ComplianceAction
A compliance action represents an action that can be taken to complete a compliance requirement.
| Fields |
|---|
actionString! |
titleString! |
descriptionString! |
buttonTextString |
tooltipString |
inputIdentifierString |
Related Types
Referenced by: Compliance
ComplianceClassificationQuestion
A single question/answer pair within a classification.
| Fields |
|---|
textString! |
helpTextString |
answerComplianceClassificationAnswer |
Related Types
References: ComplianceClassificationAnswer
Referenced by: ComplianceDataClassification
ComplianceDataAddress
An address associated with a compliance (residential address, work location, etc.). Wraps the existing Address type so the frontend can query any field.
| Fields |
|---|
titleString |
addressAddress! |
Related Types
References: Address
ComplianceDataBankDetail
Bank account details associated with a compliance. Wraps the existing BankDetail type so the same fragment can be reused across owner-facing and reviewer-facing flows. The wrapper always resolves so the frontend can render “Bank details on file” rows; bankDetail is null for viewers who aren’t authorised to read the underlying fields (everyone except the account owner and companies on external payments with visibility to the worker), avoiding the @passes field guards bubbling up and nulling out the entire compliance row.
| Fields |
|---|
titleString |
bankDetailBankDetail |
Related Types
References: BankDetail
ComplianceDataBusinessEntity
A business entity associated with a compliance, typically the freelancer’s primary business entity (company details, tax numbers, etc.).
| Fields |
|---|
businessEntityBusinessEntity!BusinessEntity type so any field on it can be queried. |
Related Types
References: BusinessEntity
ComplianceDataClassification
A determination-style questionnaire result (IR35, NL/Global/US worker classification). Each question carries its text, optional help text, and the recorded answer (if any).
| Fields |
|---|
questions[ComplianceClassificationQuestion!]! |
Related Types
References: ComplianceClassificationQuestion
ComplianceDataField
A single label/value pair. Null value is preserved so the UI can render semantically-empty fields (e.g. “Not subject to VAT”) rather than hiding them.
| Fields |
|---|
labelString! |
valueString |
Related Types
Referenced by: ComplianceDataGroup
ComplianceDataFile
A file associated with a compliance (certificate, proof document, etc.).
| Fields |
|---|
titleString |
fileFile! |
Related Types
References: File
ComplianceDataGroup
Titled collection of label/value fields. Use when a compliance emits multiple semantically-distinct groups (e.g. “Primary contact” + “Emergency contact”). For a single flat list of fields, skip the wrapper and emit top-level ComplianceDataField entries instead.
| Fields |
|---|
titleString |
fields[ComplianceDataField!]! |
Related Types
References: ComplianceDataField
ComplianceDataUser
A user associated with a compliance, typically an attribution such as ‘Reviewed by’. Wraps the existing User type so the frontend can query avatar, name, etc.
| Fields |
|---|
titleString |
userUser! |
Related Types
References: User
ComplianceValidationDetails
Validation details for a compliance requirement.
| Fields |
|---|
isValidBoolean! |
issues[String!]! |
Related Types
Referenced by: Compliance
Contract
A legal agreement between a company and a worker within a hire.
A hire may have multiple contracts over its lifetime (e.g. an initial draft, an active contract, and amended versions). The activeContract on a hire is the currently accepted agreement between the parties.
| Fields |
|---|
idID! |
jobNameString! |
jobDescriptionString! |
locationPreferenceLocationPreference |
statusContractStatus! |
startDateDate |
endDateDate |
locationAddress |
addressString |
currencyCurrency! |
rateTypeRateType |
rateFloat |
purchaseOrderNumberString |
companyCvrStringFor more information, visit: https://datacvr.virk.dk |
pdfUrlURLThis URL will link to a PDF for the contract. This URL cannot be used for saving in external systems as it might change over time or be regenerated. If a permanent URL is needed for the contract, it should be stored in the clients own system. |
paymentTermMethodPaymentTermMethod! |
paymentTermInt!Example paymentTerm: 10 means Worksome will pay the worker’s approved payment requests within 10 days. |
termsAcceptedBoolean! |
termsAcceptedAtDateTime |
workerAcceptedAtDateTime |
effectiveAtDateTime |
workerSignatureString |
jobJob! |
workerWorker |
companyCompany! |
companyContactUser |
businessEntityBusinessEntity |
companyNameString |
companyLocationAddress |
files[File!]! |
contractDocuments[ContractDocument!]! |
milestoneDetailsMilestoneDetailPaginator! |
Related Types
References: Address, BusinessEntity, Company, ContractDocument, ContractStatus, Currency, Date, DateTime, File, Job, LocationPreference, MilestoneDetailPaginator, PaymentTermMethod, RateType, URL, User, Worker
Referenced by: ContractPaginator, Hire
ContractDocument
A document associated with a contract (e.g. KID, onboarding document).
| Fields |
|---|
idID! |
docTypeString |
pdfUrlString |
createdAtDateTime |
updatedAtDateTime |
Related Types
References: DateTime
Referenced by: Contract
ContractPaginator
A paginated list of Contract items.
| Fields |
|---|
paginatorInfoPaginatorInfo! |
data[Contract!]! |
Related Types
References: Contract, PaginatorInfo
Referenced by: Hire, MilestoneDetail
Conversation
A conversation between a company and a worker.
| Fields |
|---|
idID! |
subjectString! |
jobJob |
latestMessageMessage |
urlURL! |
viewerCanAccessBoolean!Mirrors the check behind url, so do not render a link to url when this is false — the viewer would land on a “No access” page. |
createdAtDate! |
isClosedBoolean! |
isUnreadBoolean! |
closedAtDate |
messagesMessagePaginator! |
participantsParticipantPaginator! |
Related Types
References: Date, Job, Message, MessagePaginator, ParticipantPaginator, URL
Referenced by: Bid, ConversationPaginator, Hire, Participant
ConversationPaginator
A paginated list of Conversation items.
| Fields |
|---|
paginatorInfoPaginatorInfo! |
data[Conversation!]! |
Related Types
References: Conversation, PaginatorInfo
Referenced by: Job
Country
A country.
| Fields |
|---|
isoCodeCountryCode!This is a two-letter country identifier (e.g. US). |
nameString |
Related Types
References: CountryCode
Referenced by: Address
CreateCustomTimeSheetResponse
The response from creating a custom timesheet.
| Fields |
|---|
providedRegistrationsInt! |
successfulRegistrationsInt! |
rejectedRegistrations[RejectedCustomTimesheetRegistration!]! |
Related Types
References: RejectedCustomTimesheetRegistration
CreateExportResponse
A response with data from the export creation.
| Fields |
|---|
statusExportResponseStatus! |
messageString! |
Related Types
References: ExportResponseStatus
CustomField
A custom field.
| Fields |
|---|
idID! |
userUserThe user may have been deleted in which case we return null. |
accountAccount! |
titleString! |
slugString |
descriptionString |
fieldTypeCustomFieldType! |
appliesToTypeSupportingCustomFieldValues! |
customFieldOptions[CustomFieldOption!]! |
settingsCustomFieldSettings!For example, validation rules. |
visibilityCustomFieldVisibility! |
customFieldValues[CustomFieldValue!]! |
isUsedInFieldValuesBoolean! |
ruleWorkflowVariableRule |
approvalBoolean! |
viewerCanUpdateBoolean! |
viewerOwnsFieldBoolean! |
apiOnlyBoolean! |
workerInputAllowedBoolean! |
recruiterInputAllowedBoolean! |
showOnInvoiceBoolean! |
sharedWithClientsBoolean! |
sharedWithStaffingAgenciesBoolean! |
viewerCanManageFieldValuesBoolean! |
createdAtDateTime! |
updatedAtDateTime |
deletedAtDateTime |
Related Types
References: Account, CustomFieldOption, CustomFieldSettings, CustomFieldType, CustomFieldValue, CustomFieldVisibility, DateTime, TypeSupportingCustomFieldValues, User, WorkflowVariableRule
Referenced by: ApprovalRule, CustomFieldOption, CustomFieldPaginator, CustomFieldValue
CustomFieldOption
A custom field option.
| Fields |
|---|
idID! |
customFieldCustomField! |
displayOrderInt!This is an unsigned integer. |
valueString! |
Related Types
References: CustomField
Referenced by: CustomField, CustomFieldValue
CustomFieldPaginator
A paginated list of CustomField items.
| Fields |
|---|
paginatorInfoPaginatorInfo! |
data[CustomField!]! |
Related Types
References: CustomField, PaginatorInfo
Referenced by: Company
CustomFieldSettings
The settings for a custom field.
| Fields |
|---|
validation[CustomFieldValidationRules!]! |
Related Types
References: CustomFieldValidationRules
Referenced by: CustomField
CustomFieldValue
A custom field value.
Those represents the custom fields value filled for an entity supporting custom fields.
e.g: You’ve defined a free-text “sector” custom field applying to Job entities. Say you have a job which is in the “IT” sector. You’d need to create a custom field value with field_id = <sector field id>, and content = "IT".
| Fields |
|---|
idID! |
accountAccount! |
userUser! |
appliesToSupportsCustomFieldValue! |
customFieldCustomField! |
customFieldOptionCustomFieldOptionThis will be present for a single-select field type. |
contentStringThis will be present for a free-text field type. |
displayValueStringThis gives a “human” representation of the custom field value no matter the field type. For example, this will return content for a free-text value, will return the custom field option value for a single-select value, or the file name for a file-upload value. |
fileFilePresent for FILE_UPLOAD field-values; null for every other field type. |
Related Types
References: Account, CustomField, CustomFieldOption, File, SupportsCustomFieldValue, User
Referenced by: Client, CompanyRecruiter, CustomField, Job, TimesheetRegistration, TrustedContact, UpdateWorkerCustomFieldValuesPayload
Employment
An employment record for a worker engaged on payroll through Worksome or an Employer of Record (EoR) partner.
Employment records track the formal payroll relationship when a worker is employed rather than operating as an independent contractor. A hire may have an associated employment when the engagement uses a payroll arrangement; not all hires have one.
| Fields |
|---|
idID! |
workerWorker! |
employerOfRecordAccount |
hiringManagers[User!]! |
statusEmploymentStatus! |
onboardingStatusEmployerRecordStatus! |
startDateDate |
endDateDate |
firstPayrolledAtDateTime |
previouslyHiredBoolean |
createdAtDateTime |
updatedAtDateTime |
isOnboardedBoolean |
onboardedAtDateTime |
hiresHirePaginator! |
employmentCostsEmploymentCostPaginator! |
Related Types
References: Account, Date, DateTime, EmployerRecordStatus, EmploymentCostPaginator, EmploymentStatus, HirePaginator, User, Worker
Referenced by: EmploymentPaginator, Hire
EmploymentCost
An employment cost.
| Fields |
|---|
idID! |
categoryEmploymentCostCategory! |
typeEmploymentCostType! |
frequencyEmploymentCostFrequency! |
amountFloat! |
currencyString |
createdAtDateTime |
updatedAtDateTime |
Related Types
References: DateTime, EmploymentCostCategory, EmploymentCostFrequency, EmploymentCostType
Referenced by: EmploymentCostPaginator
EmploymentCostPaginator
A paginated list of EmploymentCost items.
| Fields |
|---|
paginatorInfoPaginatorInfo! |
data[EmploymentCost!]! |
Related Types
References: EmploymentCost, PaginatorInfo
Referenced by: Employment
EmploymentPaginator
A paginated list of Employment items.
| Fields |
|---|
paginatorInfoPaginatorInfo! |
data[Employment!]! |
Related Types
References: Employment, PaginatorInfo
Expense
An expense line item within an expense report.
Expenses represent individual costs incurred by a worker during an engagement, such as travel or materials. They are grouped into expense reports and submitted alongside payment requests for approval.
| Fields |
|---|
idID! |
descriptionString |
currencyCurrency! |
amountFloat! |
vendorString! |
expenseAtDateTime! |
createdAtDateTime! |
filesFilePaginator! |
Related Types
References: Currency, DateTime, FilePaginator
Referenced by: ExpensePaginator
ExpensePaginator
A paginated list of Expense items.
| Fields |
|---|
paginatorInfoPaginatorInfo! |
data[Expense!]! |
Related Types
References: Expense, PaginatorInfo
Referenced by: ExpenseReport
ExpenseReport
An expense report.
| Fields |
|---|
idID! |
titleString |
descriptionString |
totalFloat! |
isDraftBoolean! |
createdAtDateTime |
expensesExpensePaginator! |
Related Types
References: DateTime, ExpensePaginator
Referenced by: ExpenseReportPaginator
ExpenseReportPaginator
A paginated list of ExpenseReport items.
| Fields |
|---|
paginatorInfoPaginatorInfo! |
data[ExpenseReport!]! |
Related Types
References: ExpenseReport, PaginatorInfo
Referenced by: PaymentRequest
Fee
A fee attached to a feeable entity (e.g. Hire, PaymentRequest, staffing agency relationship).
| Fields |
|---|
idID! |
feeTypeFeeType! |
applicationFeeApplication! |
rateDecimalFour!For percentage-based fees this is a decimal fraction (e.g. 0.125 = 12.5%). For duration-based fees (hourly/daily/weekly/monthly) this is the monetary rate per unit. |
amountDecimalTwoThis is typically populated when the fee is snapshotted onto a billing entity. |
currencyCurrency |
basisFeeBasis! |
formattedRateString!For example: “12.50%” for a percentage fee, “EUR 25.50/h” for an hourly fee, or “EUR 200.00/day” for a daily fee. |
recipientAccount |
parentFeeFor example, a bill fee may reference the hire fee it was snapshotted from. |
Related Types
References: Account, Currency, DecimalFour, DecimalTwo, FeeApplication, FeeBasis, FeeType
Referenced by: Bid, CompanyRecruiter, Hire, PaymentRequest
File
A file.
| Fields |
|---|
idID! |
nameString! |
titleString |
sizeInt! |
humanReadableSizeString!1.2 MB). |
mimeTypeString! |
ownerAccount! |
urlString!This URL cannot be used for saving in external systems as it might change over time or be regenerated. If a permanent URL is needed for the file, it should be stored in the clients own system. |
createdAtDateTime |
updatedAtDateTime |
tags[Tag!]! |
Related Types
References: Account, DateTime, Tag
Referenced by: Bid, ComplianceDataFile, Contract, CustomFieldValue, FilePaginator, Job, OnboardingDocument, TrustedContact, WorkerInsurance
FilePaginator
A paginated list of File items.
| Fields |
|---|
paginatorInfoPaginatorInfo! |
data[File!]! |
Related Types
References: File, PaginatorInfo
Referenced by: Expense, PaymentRequest, RecruiterCandidate, SupplierCandidate, Timesheet
Gate
A gate represents a collection of related compliance requirements.
| Fields |
|---|
actorComplianceActorTypes! |
nameComplianceName! |
compliances[Compliance!]! |
completedBoolean! |
applicableBoolean! |
titleString! |
descriptionString! |
Related Types
References: Compliance, ComplianceActorTypes, ComplianceName
Hire
A representation of an engagement between a company and a worker on a job.
A hire tracks the agreement between parties to work together. It is not itself a legal document — the contracts attached to the hire (Hire.contracts, Hire.activeContract) are the legal agreements.
A hire progresses through a lifecycle: DRAFT → OFFERED → READY → ACTIVE → ENDED. It may also be CANCELLED (before activation) or TERMINATED (ended early by the company).
| Fields |
|---|
idID! |
numberString! |
lastPaymentRequestDateDate |
latestContractContract!The latest contract could for example be a draft, if one of the parties wanted to make changes to the currently active contract. see hire.activeContract for the current active one. |
activeContractContractThis has been accepted by all parties and is the active legal document between them. |
draftContractContract |
pendingContractChangesBoolean! |
hasScheduledChangesBoolean! |
hasSignedScheduledChangeBoolean! |
companyCompany! |
jobJob! |
recruiterRecruiter |
supplierAccount |
viewerIsSupplierBoolean! |
contractTypeContractType! |
engagementTypeEngagementType |
engagementTypeLabelString |
engagementTypeSetupEngagementTypeSetup |
engagementTypeSetupLabelString |
contractTypeShortString |
contractTypeLabelString! |
usesClassificationBoolean! |
wcrWcr Deprecated |
classificationClassificationThis can be various types of classifications like IR35, US Worker Classification, etc. |
classificationResultClassificationResult! Deprecated |
classificationLabelString Deprecated |
classificationPdfUrlString! DeprecatedThis URL will link to a PDF for the classification result is present. This URL cannot be used for saving in external systems as it might change over time or be regenerated. If a permanent URL is needed for the classification result, it should be stored in the clients own system. |
workerWorker! |
conversationConversationIf the hire is stuck in an approval flow, there can exist a situation where no conversation exists yet. |
employmentEmploymentNote: This employment is not always tied to a specific hire. |
createdAtDate! |
startDateDate |
endDateDate |
recruiterOwnershipStartDateDate |
recruiterFeePercentage Deprecated |
recruiterOwnershipDaysInt |
recruiterOwnershipIsExpiredBoolean |
recruiterOwnershipDaysLeftInt |
currencyString! |
rateFloat |
rateTypeString |
statusHireActiveStatus!See activeStatus for the same value. Possible values: DRAFT, OFFERED, READY, ACTIVE, ENDED, CANCELLED, TERMINATED. |
offeredAtDate |
externalIdentifierString |
purchaseOrderNumberString |
compliances[Compliance!]!names to filter. |
recruiterManagesWorkersBoolean |
supplierSignatureWaivedBoolean |
canRemoveRecruiterBoolean |
canRemindWorkerForBillingBoolean! |
userUser |
activeStatusHireActiveStatus!Possible values: DRAFT, OFFERED, READY, ACTIVE, ENDED, CANCELLED, TERMINATED. |
terminationDateDate |
canTerminateContractBoolean! |
canCancelContractBoolean! |
hasMilestonesBoolean! |
hasEmploymentBoolean! |
hasDraftContractBoolean! |
triggersApprovalBoolean |
currentApprovalStateApprovalState |
hasPendingApprovalBoolean! |
owners[User!]! |
endsWithinDaysBoolean! |
tenureInt! |
sourceHireHire |
supplierHireHire |
hasUnactedClientChangesBoolean!sourceHire has pending contract changes that haven’t yet been reflected here. Always false on hires without a sourceHire. |
viewerCanAcceptContractBoolean! |
viewerCanCreatePaymentRequestBoolean! |
fees[Fee!]! |
markupFeeFee |
contractsContractPaginator!These are legal documents, however it can contain old contracts and drafts also. |
paymentRequestsPaymentRequestPaginator! |
milestonesMilestonePaginator! |
approvalsApprovalPaginator! |
Related Types
References: Account, ApprovalPaginator, ApprovalState, Classification, ClassificationResult, Company, Compliance, Contract, ContractPaginator, ContractType, Conversation, Date, Employment, EngagementType, EngagementTypeSetup, Fee, HireActiveStatus, Job, MilestonePaginator, PaymentRequestPaginator, Percentage, Recruiter, User, Wcr, Worker
Referenced by: Classification, HirePaginator, JobCandidate, Milestone, PaymentRequest, Timesheet, Worker
HirePaginator
A paginated list of Hire items.
| Fields |
|---|
paginatorInfoPaginatorInfo! |
data[Hire!]! |
Related Types
References: Hire, PaginatorInfo
Referenced by: Employment, Job, Worker
Industry
An industry.
| Fields |
|---|
idID! |
nameString! |
Related Types
Referenced by: IndustryPaginator, Job
IndustryPaginator
A paginated list of Industry items.
| Fields |
|---|
paginatorInfoPaginatorInfo! |
data[Industry!]! |
Related Types
References: Industry, PaginatorInfo
Invoice
An invoice issued to a company for approved worker payment requests.
An invoice is created when one or more worker payment requests are approved by a company user. It defines the total amount due from the company to Worksome and tracks the payment lifecycle.
| Fields |
|---|
idID! |
numberStringThis is usually printed on the invoice itself and should be used by booking system and finance departments. The invoice number is in a human readable format. |
pdfUrlURL!This URL will link to a PDF for the invoice. This URL cannot be used for saving in external systems as it might change over time or be regenerated. If a permanent URL is needed for the invoice, it should be stored in the clients own system. |
currencyCurrency! |
grossAmountFloat! |
grossOpenAmountFloat! |
taxAmountFloat! |
netAmountFloat! |
markedPaidAtDateThis date might vary from the actual date it was paid, as it takes time for a payment to go through and be validated. |
dueDateDate! |
companyCompany! |
payerBusinessEntityBusinessEntity |
payeeBusinessEntityBusinessEntity |
payerDisplayNameString! |
payeeDisplayNameString! |
dateDate! |
isBatchedBoolean!A batch invoice aggregates multiple payment requests together in one, summarised invoice over a period of time. This reduces the overhead of processing high volumes of payment requests and corresponding invoices. |
transactionTypeInvoiceTransactionType! |
isFullyCreditedBoolean! |
isOverDueBoolean |
creditNotes[Invoice!]! |
originalInvoiceInvoice |
externalIdentifierString |
rowsInvoiceRowPaginator!This can be used to gather more information about the invoice than just the overall amount. |
Related Types
References: BusinessEntity, Company, Currency, Date, InvoiceRowPaginator, InvoiceTransactionType, URL
Referenced by: InvoicePaginator, PaymentRequest
InvoicePaginator
A paginated list of Invoice items.
| Fields |
|---|
paginatorInfoPaginatorInfo! |
data[Invoice!]! |
Related Types
References: Invoice, PaginatorInfo
InvoiceRow
A row on the invoice.
| Fields |
|---|
idID! |
paymentRequestPaymentRequest |
workerWorker |
customTextString |
Related Types
References: PaymentRequest, Worker
Referenced by: InvoiceRowPaginator
InvoiceRowPaginator
A paginated list of InvoiceRow items.
| Fields |
|---|
paginatorInfoPaginatorInfo! |
data[InvoiceRow!]! |
Related Types
References: InvoiceRow, PaginatorInfo
Referenced by: Invoice
Job
A job posting created by a company on Worksome.
Jobs start in DRAFT status after creation via createJob, then move to ACTIVE once published via updateJob. A job can be shared with the marketplace, trusted contacts, or staffing agencies depending on its visibility settings. Workers can submit bids on published jobs, and the company can hire from those bids or directly hire a trusted contact.
| Fields |
|---|
idID! |
numberInt! |
nameString! |
contactNameString |
contactEmailString |
contactPhoneString |
skills[Skill!]! |
descriptionString |
marketMarketCode! |
statusJobStatus |
addressString Deprecated |
locationAddress! |
currencyCurrency! |
rateTypeRateType |
rateFloat |
minimumRateFloat |
maximumRateFloat |
paymentSchemePaymentScheme Deprecated |
companyFeeStrictPercentage |
workerFeeStrictPercentage |
associationAssociation |
projectProject |
internalBudgetFloat |
spentFloat!Only enterprise company owning the job could access the budget. |
expectedExperienceLevel[ExpectedExperienceLevel!]! |
locationPreferenceLocationPreference |
startDateDate |
startDateTimeframeJobStartTimeframe |
endDateTimeframeJobEndTimeframe |
endDateDate |
attachments[File!]! |
isExtensionAvailableBoolean |
evaluationPeriodEvaluationPeriod |
sourcingEndDateDateTime |
sourcingDeadlineChoiceSourcingDeadlineChoice |
sourcingEndDateLocalString |
languages[Language!]! |
industries[Industry!]! |
requiredWorkersIntIf excluded, the default is 1 profile. |
owners[User!]! |
customFieldValues[CustomFieldValue!]!Details specified here are never shown to workers. Depending on each field’s sharing settings, some may be visible outside your team. |
visibility[JobVisibility!]! |
approvedBoolean! |
availableBoolean! |
pausedBoolean! |
completedBoolean! |
publishedBoolean! |
draftBoolean! |
removedBoolean! |
removedCauseString |
publishedAtDateTime |
companyCompany! |
regionString |
urlURL! |
viewerCanDeleteBoolean! |
viewerCanEditBoolean! |
viewerCanShareBoolean! |
viewerCanCreateJobCandidateBoolean! |
viewerCanCreateHireBoolean! |
createdAtDateTime! |
updatedAtDateTime! |
isForContactsBoolean! |
isForRecruitersBoolean! |
isForMarketplaceBoolean! |
externalIdentifierString |
canBePublishedBoolean! |
isJobPostBoolean |
isBriefBoolean |
isAvailableBoolean |
sourceJobJob |
supplierJobJob |
hiresHirePaginator! |
conversationsConversationPaginator! |
notesNotePaginator! |
paymentRequestsPaymentRequestPaginator! |
bidsBidPaginator! |
sharesJobSharePaginator! |
jobCandidatesJobCandidatePaginator! |
Related Types
References: Address, Association, BidPaginator, Company, ConversationPaginator, Currency, CustomFieldValue, Date, DateTime, EvaluationPeriod, ExpectedExperienceLevel, File, HirePaginator, Industry, JobCandidatePaginator, JobEndTimeframe, JobSharePaginator, JobStartTimeframe, JobStatus, JobVisibility, Language, LocationPreference, MarketCode, NotePaginator, PaymentRequestPaginator, PaymentScheme, Project, RateType, Skill, SourcingDeadlineChoice, StrictPercentage, URL, User
Referenced by: Bid, Contract, Conversation, Hire, JobCandidate, JobPaginator, JobShare, PaymentRequest
JobCandidate
The relation between a job and a worker, making them a candidate for the job.
| Fields |
|---|
idID! |
jobJob! |
workerWorker! |
bidBid |
hireHire |
jobShareJobShare |
sourcingChannelSourcingChannel! |
submissionTypeCandidateSubmissionType |
contactNameString |
contactEmailString |
contactPhoneString |
ownerAccount |
stepJobCandidateHiringStep! |
statusJobCandidateStatus! |
statusReasonJobCandidateStatusReason |
statusCommentString |
isPreferredBoolean! |
statusSetByUserUser! |
stepSetByUserUser! |
createdAtDateTime! |
createdByUserUser! |
updatedAtDateTime |
updatedByUserUser |
viewerCanUpdateStatusBoolean! |
viewerCanUpdatePreferredBoolean! |
sourceCandidateJobCandidate |
presentedCandidateJobCandidate |
stageHistory[JobCandidateStageHistoryEntry!]! |
viewerCanWithdrawForwardedCandidateBoolean! |
viewerCanWithdrawBoolean! |
viewerCanInviteToOnboardBoolean!True only when the viewer has edit-jobs permission on the candidate’s job, the candidate has a draft hire, and the candidate is not the client-side copy of a candidate presented through an MSP mirror flow. |
presentedToClientBoolean! |
sourceAgencyNameString |
Related Types
References: Account, Bid, CandidateSubmissionType, DateTime, Hire, Job, JobCandidateHiringStep, JobCandidateStageHistoryEntry, JobCandidateStatus, JobCandidateStatusReason, JobShare, SourcingChannel, User, Worker
Referenced by: JobCandidatePaginator
JobCandidatePaginator
A paginated list of JobCandidate items.
| Fields |
|---|
paginatorInfoPaginatorInfo! |
data[JobCandidate!]! |
Related Types
References: JobCandidate, PaginatorInfo
Referenced by: Job
JobCandidateStageHistoryEntry
A single entry in a candidate’s stage transition history.
| Fields |
|---|
stageJobCandidateHiringStep! |
changedByNameString |
createdAtDateTime! |
Related Types
References: DateTime, JobCandidateHiringStep
Referenced by: JobCandidate
JobPaginator
A paginated list of Job items.
| Fields |
|---|
paginatorInfoPaginatorInfo! |
data[Job!]! |
Related Types
References: Job, PaginatorInfo
Referenced by: Project
JobShare
The contacts that the job was shared with.
| Fields |
|---|
idID! |
accountJobShareableAccount! |
isActiveBoolean! |
createdAtDateTime! |
jobJob! |
Related Types
References: DateTime, Job, JobShareableAccount
Referenced by: JobCandidate, JobSharePaginator
JobSharePaginator
A paginated list of JobShare items.
| Fields |
|---|
paginatorInfoPaginatorInfo! |
data[JobShare!]! |
Related Types
References: JobShare, PaginatorInfo
Referenced by: Job
Language
A language that is required for a job.
| Fields |
|---|
nameLanguageName! |
experienceFluency! |
Related Types
References: Fluency, LanguageName
Referenced by: Job
LegacyTimesheet
A legacy timesheet.
This is only for internal use within the Worksome platform.
| Fields |
|---|
formatLegacyTimesheetType Deprecated |
htmlString Deprecated |
Related Types
References: LegacyTimesheetType
Referenced by: PaymentRequest
Link
A link on a profile.
| Fields |
|---|
titleString! |
urlString! |
Related Types
Referenced by: Profile
Market
A geographic market in which Worksome operates (e.g. UK, US, Denmark).
Markets determine applicable compliance rules, currencies, and employment regulations for accounts and jobs.
| Fields |
|---|
codeMarketCode! |
nameString! |
regionLabelString |
Related Types
References: MarketCode
Referenced by: AvailableMarket, Recruiter, Worker
MarketRegion
A region within a market.
| Fields |
|---|
idInt! |
nameString! |
Related Types
Referenced by: MarketWithRegions
MarketWithRegions
A launched market with all of its available regions.
| Fields |
|---|
codeString! |
nameString! |
regionLabelString |
regions[MarketRegion!]! |
Related Types
References: MarketRegion
Message
A message as part of a conversation.
| Fields |
|---|
idID! |
bodyString |
authorUser |
urlURL! |
Related Types
References: URL, User
Referenced by: Bid, Conversation, MessagePaginator, PaymentRequest
MessagePaginator
A paginated list of Message items.
| Fields |
|---|
paginatorInfoPaginatorInfo! |
data[Message!]! |
Related Types
References: Message, PaginatorInfo
Referenced by: Conversation
Milestone
A deliverable-based milestone within a hire.
Milestones allow companies and workers to break an engagement into discrete deliverables, each with its own amount and completion status. Payment can be tied to milestone completion rather than time-based billing.
| Fields |
|---|
idID! |
nameString! |
purchaseOrderNumberString |
statusMilestoneStatus! |
detailsMilestoneDetail! |
hireHire! |
paymentRequestsPaymentRequestPaginator! |
Related Types
References: Hire, MilestoneDetail, MilestoneStatus, PaymentRequestPaginator
Referenced by: MilestoneDetail, MilestonePaginator
MilestoneDetail
Milestone details.
| Fields |
|---|
idID! |
dueDateDate! |
amountFloat! |
milestoneMilestone! |
contractsContractPaginator! |
Related Types
References: ContractPaginator, Date, Milestone
Referenced by: Milestone, MilestoneDetailPaginator
MilestoneDetailPaginator
A paginated list of MilestoneDetail items.
| Fields |
|---|
paginatorInfoPaginatorInfo! |
data[MilestoneDetail!]! |
Related Types
References: MilestoneDetail, PaginatorInfo
Referenced by: Contract
MilestonePaginator
A paginated list of Milestone items.
| Fields |
|---|
paginatorInfoPaginatorInfo! |
data[Milestone!]! |
Related Types
References: Milestone, PaginatorInfo
Referenced by: Hire, PaymentRequest
MultiFactorPaginator
A paginated list of MultiFactor items.
| Fields |
|---|
paginatorInfoPaginatorInfo! |
data[MultiFactor!]! |
Related Types
References: MultiFactor, PaginatorInfo
Note
A note for an entity.
| Fields |
|---|
idID! |
titleString! |
bodyString! |
authorUser! |
notableNotable! |
accountAccount! |
createdAtDateTime! |
updatedAtDateTime! |
viewerCanUpdateBoolean! |
viewerCanDeleteBoolean! |
Related Types
References: Account, DateTime, Notable, User
Referenced by: NotePaginator
NotePaginator
A paginated list of Note items.
| Fields |
|---|
paginatorInfoPaginatorInfo! |
data[Note!]! |
Related Types
References: Note, PaginatorInfo
Referenced by: CompanyRecruiter, Job, TrustedContact
OnboardingDocument
An onboarding document for a trusted contact.
| Fields |
|---|
idID! |
fileFile |
pdfUrlString |
freelancerAcceptedAtDate |
isAcceptedBoolean! |
Related Types
References: Date, File
Referenced by: Client, CompanyRecruiter, TrustedContact
Organisation
An organisation — a parent entity that groups one or more companies (divisions) under a shared structure.
Organisations provide a unified view across their divisions for talent pools, reporting, and governance. They do not create jobs or make hires directly; those actions are performed by the individual company divisions.
| Fields |
|---|
idID! |
nameString! |
marketMarketCode! |
avatarURL |
divisionsCompanyPaginator! |
Related Types
References: CompanyPaginator, MarketCode, URL
Referenced by: OrganisationPaginator
OrganisationPaginator
A paginated list of Organisation items.
| Fields |
|---|
paginatorInfoPaginatorInfo! |
data[Organisation!]! |
Related Types
References: Organisation, PaginatorInfo
Referenced by: Company
Overtime
An overtime entry automatically calculated from a timesheet.
When a worker logs hours that exceed the standard threshold for a billing period, overtime entries are generated automatically. Each entry captures the duration, applicable rate multiplier, and the resulting total, and is linked to the timesheet that triggered it and the payment request where it is billed.
| Fields |
|---|
idID! |
typeOvertimeType! |
durationFloat! |
rateFloat! |
rateMultiplierFloat! |
totalInt! |
workerWorker |
paymentRequestPaymentRequest |
timesheetTimesheet! |
contributingPaymentRequestNumbers[ID!]! |
createdAtDateTime! |
updatedAtDateTime! |
Related Types
References: DateTime, OvertimeType, PaymentRequest, Timesheet, Worker
Referenced by: OvertimePaginator
OvertimePaginator
A paginated list of Overtime items.
| Fields |
|---|
paginatorInfoPaginatorInfo! |
data[Overtime!]! |
Related Types
References: Overtime, PaginatorInfo
Referenced by: PaymentRequest, Timesheet
PaginatorInfo
Information about pagination using a fully featured paginator.
| Fields |
|---|
countInt! |
currentPageInt! |
firstItemInt |
hasMorePagesBoolean! |
lastItemInt |
lastPageInt! |
perPageInt! |
totalInt! |
Related Types
Referenced by: ApprovalApprovablePaginator, ApprovalPaginator, ApprovalRulePaginator, ApprovalStatePaginator, ApproverPaginator, BatchItemPaginator, BatchPaginator, BidPaginator, BusinessEntityPaginator, ClassificationPaginator, CompanyPaginator, CompanyRecruiterPaginator, CompanySupplierPaginator, ContractPaginator, ConversationPaginator, CustomFieldPaginator, EmploymentCostPaginator, EmploymentPaginator, ExpensePaginator, ExpenseReportPaginator, FilePaginator, HirePaginator, IndustryPaginator, InvoicePaginator, InvoiceRowPaginator, JobCandidatePaginator, JobPaginator, JobSharePaginator, MessagePaginator, MilestoneDetailPaginator, MilestonePaginator, MultiFactorPaginator, NotePaginator, OrganisationPaginator, OvertimePaginator, ParticipantPaginator, PaymentRequestPaginator, ProjectPaginator, RecruiterCandidatePaginator, RecruiterPaginator, SkillPaginator, SupplierCandidatePaginator, SupplierInvoicePaginator, TagPaginator, TimesheetPaginator, TimesheetRegistrationPaginator, TrustedContactPaginator, UserGroupPaginator, UserPaginator, WebhookEventLogPaginator, WebhookEventPaginator, WebhookPaginator, WorkflowPaginator, WorkflowVariablePaginator
Participant
A participant in a conversation.
| Fields |
|---|
idID! |
conversationConversation! |
accountAccount! |
Related Types
References: Account, Conversation
Referenced by: ParticipantPaginator
ParticipantPaginator
A paginated list of Participant items.
| Fields |
|---|
paginatorInfoPaginatorInfo! |
data[Participant!]! |
Related Types
References: PaginatorInfo, Participant
Referenced by: Conversation
Partner
A partner account — an employment or compliance partner that facilitates hiring on behalf of companies.
Partners provide services such as Employer of Record (EoR) and payroll management to companies using Worksome. They do not create jobs or hire workers directly.
| Fields |
|---|
idID! |
nameString! |
slugString! |
currencyString! |
marketMarketCode! |
avatarURL |
addressAddress |
primaryBusinessEntityBusinessEntity |
primaryProfileProfile |
Related Types
References: Address, BusinessEntity, MarketCode, Profile, URL
PaymentRequest
A payment request.
| Fields |
|---|
idID! |
workerWorker! |
recruiterRecruiter |
companyCompany! |
numberString! |
purchaseOrderNumberString |
startDateDate |
endDateDate |
currencyCurrency! |
rateFloat |
rateTypeRateType |
rateTypeNameString! |
ratetypeNameSlashString |
rateQuantityFloat!The rate type can be seen by looking at PaymentRequest.rateType and the rate can be seen by looking at PaymentRequest.rate. |
serviceAmountFloat! |
expensesAmountFloat! |
invoiceInvoice |
netAmountFloat! |
grossAmountFloat! |
recruiterFeeAmountFloat!Only the company and recruiter can see this. |
employmentCostAmountFloat!Only the Company can see this. |
billedAmountFloat! |
billedAmountWithExpensesFloat! |
dateDate! |
manuallyApprovedAtDate |
approvedByUser |
autoApprovedAtDate |
rejectedAtDate |
prepaidAtDate |
issuedAtDate |
cancelledAtDate |
paidAtDate |
payrolledAtDate |
dueAtDate |
completedAtDate |
processedAtDate |
hireHire |
jobJob! |
messageMessage |
commentsString |
workerStatusPaymentRequestWorkerStatus! |
workerPayoutStatusPaymentRequestWorkerPayoutStatus!This represents whether the worker has been paid. |
statusPaymentRequestStatus! |
timesheetTimesheet |
legacyTimesheetLegacyTimesheet DeprecatedThis is only for internal use within the Worksome platform. |
externalIdentifierString |
sourcePaymentRequestPaymentRequest |
clientPaymentRequestPaymentRequest |
fees[Fee!]! |
filesFilePaginator!There could potentially be a timesheet stored as a separate file. |
expenseReportsExpenseReportPaginator! |
batchesBatchPaginator! |
milestonesMilestonePaginator! |
overtimesOvertimePaginator! |
supplierInvoicesSupplierInvoicePaginator!Supplier invoices are only available to suppliers. |
Related Types
References: BatchPaginator, Company, Currency, Date, ExpenseReportPaginator, Fee, FilePaginator, Hire, Invoice, Job, LegacyTimesheet, Message, MilestonePaginator, OvertimePaginator, PaymentRequestStatus, PaymentRequestWorkerPayoutStatus, PaymentRequestWorkerStatus, RateType, Recruiter, SupplierInvoicePaginator, Timesheet, User, Worker
Referenced by: InvoiceRow, Overtime, PaymentRequestPaginator
PaymentRequestPaginator
A paginated list of PaymentRequest items.
| Fields |
|---|
paginatorInfoPaginatorInfo! |
data[PaymentRequest!]! |
Related Types
References: PaginatorInfo, PaymentRequest
Referenced by: Hire, Job, Milestone, Timesheet
Profile
A public-facing profile for a worker or company on Worksome.
Profiles contain biographical information, descriptions, and other details that are visible to other users on the platform.
| Fields |
|---|
idID! |
urlURL! |
links[Link!]! |
Related Types
References: Link, URL
Referenced by: Company, Partner, Worker
Project
A project with a budget containing one or more jobs.
| Fields |
|---|
idID! |
nameString! |
descriptionString |
currencyCurrency! |
creatorUser! |
companyCompany! |
internalBudgetDecimal |
allocatedBudgetDecimal! |
spentDecimal! |
endDateDateIf this is set to null, we will assume that the project is not yet ended but active. |
owners[User!]! |
externalIdentifierString |
jobsJobPaginator! |
Related Types
References: Company, Currency, Date, Decimal, JobPaginator, User
Referenced by: Job, ProjectPaginator
ProjectPaginator
A paginated list of Project items.
| Fields |
|---|
paginatorInfoPaginatorInfo! |
data[Project!]! |
Related Types
References: PaginatorInfo, Project
Recruiter
A staffing agency account that sources and manages workers on behalf of companies.
Staffing agencies can be attributed to hires, manage workers during engagements, and earn fees based on their ownership period. Companies establish relationships with staffing agencies to leverage their talent sourcing capabilities.
| Fields |
|---|
idID! |
nameString! |
marketMarket! |
initialsString! |
avatarURL |
availableMarkets[AvailableMarket!]! |
ownerUser |
clients[CompanyRecruiter!]! |
candidates[RecruiterCandidate!]! |
insurances[WorkerInsurance!]! |
Related Types
References: AvailableMarket, CompanyRecruiter, Market, RecruiterCandidate, URL, User, WorkerInsurance
Referenced by: CompanyRecruiter, Hire, PaymentRequest, RecruiterCandidate, RecruiterPaginator
RecruiterCandidate
A recruiter candidate relationship.
| Fields |
|---|
idID! |
recruiterRecruiter! |
workerWorker! |
emailString |
statusContactStatus! |
tokenString |
rateFloat |
jobTitleString |
countryString |
stateString |
links[String!]! |
tags[Tag!]! |
relationshipLabelRecruiterCandidateRelationshipLabel! |
filesFilePaginator! |
Related Types
References: ContactStatus, FilePaginator, Recruiter, RecruiterCandidateRelationshipLabel, Tag, Worker
Referenced by: Recruiter, RecruiterCandidatePaginator
RecruiterCandidatePaginator
A paginated list of RecruiterCandidate items.
| Fields |
|---|
paginatorInfoPaginatorInfo! |
data[RecruiterCandidate!]! |
Related Types
References: PaginatorInfo, RecruiterCandidate
RecruiterPaginator
A paginated list of Recruiter items.
| Fields |
|---|
paginatorInfoPaginatorInfo! |
data[Recruiter!]! |
Related Types
References: PaginatorInfo, Recruiter
RejectedCustomTimesheetRegistration
A single rejected timesheet registration with the reason it was not accepted.
| Fields |
|---|
externalIdString |
reasonCustomTimesheetRejectionReason! |
messageString! |
Related Types
References: CustomTimesheetRejectionReason
Referenced by: CreateCustomTimeSheetResponse
RunBatchActionResponse
The payload returned when running an action on a batch.
| Fields |
|---|
batchBatch |
batchIdID! |
actionBatchActionType! |
batchDeletedBoolean! |
resultUrlString |
Related Types
References: Batch, BatchActionType
Skill
A skill that is required for a job.
| Fields |
|---|
idID! |
nameString! |
Related Types
Referenced by: Job, SkillPaginator, TrustedContact, Worker
SkillPaginator
A paginated list of Skill items.
| Fields |
|---|
paginatorInfoPaginatorInfo! |
data[Skill!]! |
Related Types
References: PaginatorInfo, Skill
SmsCreateMultiFactorPayload
A response payload for a newly-created SMS multi-factor authentication implementation.
| Fields |
|---|
multiFactorSmsMultiFactor! |
Related Types
References: SmsMultiFactor
SmsMultiFactor
An SMS multi-factor authentication implementation.
| Fields |
|---|
idID! |
nameString! |
phoneNumberE164PhoneNumber! |
statusMultiFactorStatus! |
ownerUser! |
verifiedAtDateTime |
createdAtDateTime! |
updatedAtDateTime! |
Related Types
References: DateTime, E164PhoneNumber, MultiFactorStatus, User
Referenced by: SmsCreateMultiFactorPayload
SupplierCandidate
A supplier candidate — a freelancer managed by a supplier account (Company or Recruiter).
| Fields |
|---|
idID! |
supplierAccount |
workerWorker! |
emailString |
statusContactStatus! |
tokenString |
rateFloat |
jobTitleString |
links[String!]! |
tags[Tag!]! |
filesFilePaginator! |
Related Types
References: Account, ContactStatus, FilePaginator, Tag, Worker
Referenced by: SupplierCandidatePaginator
SupplierCandidatePaginator
A paginated list of SupplierCandidate items.
| Fields |
|---|
paginatorInfoPaginatorInfo! |
data[SupplierCandidate!]! |
Related Types
References: PaginatorInfo, SupplierCandidate
SupplierInvoice
A supplier invoice.
The invoice defines the amount due and is to be paid to the worker.
| Fields |
|---|
idID! |
numberStringThis is usually printed on the supplier invoice itself and should be used by booking system and finance departments. The supplier invoice number is in a human readable format. |
pdfUrlURL!This URL will link to a PDF for the supplier invoice. This URL cannot be used for saving in external systems as it might change over time or be regenerated. If a permanent URL is needed for the supplier invoice, it should be stored in the clients own system. |
externalIdentifierString |
Related Types
References: URL
Referenced by: SupplierInvoicePaginator
SupplierInvoicePaginator
A paginated list of SupplierInvoice items.
| Fields |
|---|
paginatorInfoPaginatorInfo! |
data[SupplierInvoice!]! |
Related Types
References: PaginatorInfo, SupplierInvoice
Referenced by: PaymentRequest
Tag
A tag.
| Fields |
|---|
idID! |
nameString |
Related Types
Referenced by: CompanyRecruiter, File, RecruiterCandidate, SupplierCandidate, TagPaginator
TagPaginator
A paginated list of Tag items.
| Fields |
|---|
paginatorInfoPaginatorInfo! |
data[Tag!]! |
Related Types
References: PaginatorInfo, Tag
Referenced by: TrustedContact
TemporaryFileUploadResponse
The details for a temporary file upload.
| Fields |
|---|
idID! |
nameString! |
urlURL!The temporary URL will expire after 1 week. |
Related Types
References: URL
Timesheet
A timesheet submitted by a worker for a hire.
Timesheets record hours worked during a billing period and are used to generate payment requests. They may also trigger overtime calculations when logged hours exceed standard thresholds.
| Fields |
|---|
idID! |
workerWorker |
hireHire |
startDateDate |
endDateDate |
createdAtDateTime! |
paymentRequestsPaymentRequestPaginator! |
registrationsTimesheetRegistrationPaginator! |
filesFilePaginator! |
overtimesOvertimePaginator! |
Related Types
References: Date, DateTime, FilePaginator, Hire, OvertimePaginator, PaymentRequestPaginator, TimesheetRegistrationPaginator, Worker
Referenced by: Overtime, PaymentRequest, TimesheetPaginator
TimesheetPaginator
A paginated list of Timesheet items.
| Fields |
|---|
paginatorInfoPaginatorInfo! |
data[Timesheet!]! |
Related Types
References: PaginatorInfo, Timesheet
TimesheetRegistration
A registration for a timesheet.
| Fields |
|---|
idID! |
typeTimesheetRegistrationType! |
dateDate! |
startTimeTime |
endTimeTime |
durationFloat! |
unitTimesheetRegistrationDurationUnit! |
commentsString |
invoiceReferenceNumberString |
externalIdentifierString |
isBillableBoolean |
customFieldValues[CustomFieldValue!]! |
Related Types
References: CustomFieldValue, Date, Time, TimesheetRegistrationDurationUnit, TimesheetRegistrationType
Referenced by: TimesheetRegistrationPaginator
TimesheetRegistrationPaginator
A paginated list of TimesheetRegistration items.
| Fields |
|---|
paginatorInfoPaginatorInfo! |
data[TimesheetRegistration!]! |
Related Types
References: PaginatorInfo, TimesheetRegistration
Referenced by: Timesheet
TotpCreateMultiFactorPayload
A response payload for a newly-created TOTP multi-factor authentication implementation.
| Fields |
|---|
multiFactorTotpMultiFactor! |
secretString! |
qrCodeURL!This is not the QR Code itself, but the URL that the QR code should contain. The URL is in otpauth format. |
Related Types
References: TotpMultiFactor, URL
TotpMultiFactor
A TOTP multi-factor authentication implementation.
| Fields |
|---|
idID! |
nameString! |
statusMultiFactorStatus! |
ownerUser! |
verifiedAtDateTime |
createdAtDateTime! |
updatedAtDateTime! |
Related Types
References: DateTime, MultiFactorStatus, User
Referenced by: TotpCreateMultiFactorPayload
TrustedContact
A trusted contact — a worker in a company’s Talent Pool.
Trusted contacts represent the relationship between a company and a worker. A worker must be added as a trusted contact before the company can hire them directly (without going through the marketplace). Trusted contacts go through an approval workflow and can have custom fields, skills, and onboarding documents.
| Fields |
|---|
idID! |
workerWorker! |
companyCompany! |
invitedByUserUserA null value here means the trusted contact was automatically added by a process. |
viewerCanApproveBoolean! |
viewerCanUpdateBoolean! |
viewerCanDeleteBoolean! |
viewerCanReInviteBoolean! |
links[String!]! |
attachments[File!]! |
skills[Skill!]! |
managedStatusTrustedContactManagedStatus |
statusContactStatus! |
statusUpdatedAtDate! |
invitedAtDate! |
approvedByUserUser |
externalIdentifierString |
originTrustedContactOrigin! |
originChannelTrustedContactOriginChannel! |
customFieldValues[CustomFieldValue!]! |
requiredCustomFieldsCompleteBoolean! |
onboardingStatusTrustedContactOnboardingStatus |
onboardingDocuments[OnboardingDocument!]! |
compliances[Compliance!]!When names is omitted, the curated review-modal subset is returned. Pass explicit names to filter to a specific compliance. |
createdAtDate! |
tagsTagPaginator! Deprecated |
notesNotePaginator! |
Related Types
References: Company, Compliance, ContactStatus, CustomFieldValue, Date, File, NotePaginator, OnboardingDocument, Skill, TagPaginator, TrustedContactManagedStatus, TrustedContactOnboardingStatus, TrustedContactOrigin, TrustedContactOriginChannel, User, Worker
Referenced by: TrustedContactPaginator
TrustedContactPaginator
A paginated list of TrustedContact items.
| Fields |
|---|
paginatorInfoPaginatorInfo! |
data[TrustedContact!]! |
Related Types
References: PaginatorInfo, TrustedContact
Referenced by: Company
UpdateWorkerCustomFieldValuesPayload
The payload returned after updating custom field values as a worker.
| Fields |
|---|
fieldableSupportsCustomFieldValue! |
customFieldValues[CustomFieldValue!]! |
Related Types
References: CustomFieldValue, SupportsCustomFieldValue
User
A user who can sign in to Worksome and act on behalf of one or more accounts.
Users are the people behind accounts — a single user may be a team member of a company, an owner of a staffing agency, or a worker. They authenticate and perform actions within their active account context.
| Fields |
|---|
idID! |
nameString! |
emailString! |
avatarURL |
hasConsentedToWorksomeIntelligenceBoolean! |
canCreatePasswordBoolean!The user might not be allowed if they already have a password, in which case they should use updatePassword or if they have SAML on their account. |
missingAuthenticationBoolean!This will check that the user has no password, social, SAML etc. way of authenticating into their account. |
hasVerifiedEmailBoolean! |
emailVerifiedAtDateTime |
createdAtDateTime! |
updatedAtDateTime! |
Related Types
References: DateTime, URL
Referenced by: ApprovalState, Classification, ComplianceDataUser, Contract, CustomField, CustomFieldValue, Employment, Hire, Job, JobCandidate, Message, Note, PaymentRequest, Project, Recruiter, SmsMultiFactor, TotpMultiFactor, TrustedContact, UserPaginator, Wcr
UserGroup
A named group of company team members.
User groups are used to assign approvers in approval workflows — when an approval is required, the members of the assigned user group are notified and can take action.
| Fields |
|---|
idID! |
nameString! |
descriptionString |
companyCompany! |
statusUserGroupStatus! |
usersUserPaginator! |
Related Types
References: Company, UserGroupStatus, UserPaginator
Referenced by: Approver, UserGroupPaginator
UserGroupPaginator
A paginated list of UserGroup items.
| Fields |
|---|
paginatorInfoPaginatorInfo! |
data[UserGroup!]! |
Related Types
References: PaginatorInfo, UserGroup
UserPaginator
A paginated list of User items.
| Fields |
|---|
paginatorInfoPaginatorInfo! |
data[User!]! |
Related Types
References: PaginatorInfo, User
Referenced by: Company, UserGroup
Wcr
Represents the Worksome Classification Recommendation (WCR) in the system.
| Fields |
|---|
idID! |
userUser |
supersededByWcrSupersede |
overridesAnotherBoolean! |
Related Types
References: User, WcrSupersede
Referenced by: Hire, WcrSupersede
WcrSupersede
Represents the supersede relationship for an WCR, used when one WCR replaces or supersedes another.
| Fields |
|---|
typeWcrSupersedeType! |
originalWcrWcr |
reasonString |
filedAtDate! |
Related Types
References: Date, Wcr, WcrSupersedeType
Referenced by: Wcr
Webhook
The webhook definition.
| Fields |
|---|
idID! |
titleString! |
descriptionString |
ownerString! |
urlString! |
secretString |
isActiveBoolean |
clientIdString |
clientSecretString |
clientUrlString |
subscribedEvents[WebhookEventType!]If null, the webhook is subscribed to all event types. If an empty array, the webhook is not subscribed to any events. |
createdAtDateTime! |
updatedAtDateTime! |
Related Types
References: DateTime, WebhookEventType
Referenced by: WebhookEventLog, WebhookPaginator
WebhookEvent
The webhook event definition.
| Fields |
|---|
idID! |
keyString! |
webhookIdID! |
eventString!Refer to the webhook event documentation for more information about which event values Worksome uses here. |
descriptionString!event field). |
statusString!- pending: The webhook has not yet been sent. - success: The webhook was sent successfully. - failed-N: The webhook sending attempt failed for the N’th time. - failed-finally: The webhook sending attempt failed and will not be retried automatically. |
payloadJSON! |
logs[WebhookEventLog!]! |
createdAtDateTime! |
updatedAtDateTime! |
Related Types
References: DateTime, JSON, WebhookEventLog
Referenced by: WebhookEventLog, WebhookEventPaginator
WebhookEventLog
The webhook event log definition.
| Fields |
|---|
idID! |
keyString! |
resultString!- success: The webhook was sent successfully. - failed-N: The webhook sending attempt failed for the N’th time. - failed-finally: The webhook sending attempt failed and will not be retried automatically. |
statusCodeInt |
webhookWebhook! |
webhookEventWebhookEvent! |
requestJSON! |
responseJSON! |
createdAtDateTime! |
Related Types
References: DateTime, JSON, Webhook, WebhookEvent
Referenced by: WebhookEvent, WebhookEventLogPaginator
WebhookEventLogPaginator
A paginated list of WebhookEventLog items.
| Fields |
|---|
paginatorInfoPaginatorInfo! |
data[WebhookEventLog!]! |
Related Types
References: PaginatorInfo, WebhookEventLog
WebhookEventPaginator
A paginated list of WebhookEvent items.
| Fields |
|---|
paginatorInfoPaginatorInfo! |
data[WebhookEvent!]! |
Related Types
References: PaginatorInfo, WebhookEvent
WebhookPaginator
A paginated list of Webhook items.
| Fields |
|---|
paginatorInfoPaginatorInfo! |
data[Webhook!]! |
Related Types
References: PaginatorInfo, Webhook
Worker
A worker account — a freelancer or contractor who can be hired by companies on Worksome.
Workers maintain a profile with skills, experience, and business entity details. They can be hired in two ways: by submitting a bid on a published job (marketplace flow), or via a direct hire — which requires the worker to first be added as a trusted contact in the company’s Talent Pool.
| Fields |
|---|
idID! |
nameString! |
firstNameString! |
lastNameString! |
middleNameString |
emailString |
phoneString |
avatarURL |
addressAddress |
marketMarket! |
skills[Skill!]! |
profileProfile |
jobTitleString |
initialsString! |
viewerCanEditBoolean! |
currencyString! |
dayRateFloat |
rtwVerifiedAtDateTime |
rtwExpiresAtDateTime |
hiresWithAttribution[Hire!]!hires instead. Includes drafts. |
primaryBusinessEntityBusinessEntity |
totalPaidFloat! |
viewerIsClientBooleanOnly companies can see this. |
viewerCanContactBoolean! |
viewerCanOfferJobBoolean! |
engagedViaSupplierNameString |
isCurrentlyHiredBoolean! |
clients[Client!]! |
insurances[WorkerInsurance!]! |
identificationWorkerIdentification |
businessEntitiesBusinessEntityPaginator! |
hiresHirePaginator! |
Related Types
References: Address, BusinessEntity, BusinessEntityPaginator, Client, DateTime, Hire, HirePaginator, Market, Profile, Skill, URL, WorkerIdentification, WorkerInsurance
Referenced by: Bid, Classification, Contract, Employment, Hire, InvoiceRow, JobCandidate, Overtime, PaymentRequest, RecruiterCandidate, SupplierCandidate, Timesheet, TrustedContact
WorkerIdentification
Identification details supplied by the worker.
| Fields |
|---|
dateOfBirthDate |
nationalityString! |
documentTypeIdentificationDocumentType! |
documentNumberString! |
documentNumberObfuscatedString |
documentExpiresAtDate! |
Related Types
References: Date, IdentificationDocumentType
Referenced by: Worker
WorkerInsurance
Insurance information for a worker.
| Fields |
|---|
typeString! |
titleString! |
hasInsuranceBoolean! |
policyLimitInt |
updatedAtDateTime |
files[File!]! |
Related Types
References: DateTime, File
Referenced by: Recruiter, Worker
Workflow
A workflow — an alternative tree-structured view of an approval flow for hires.
A Workflow is backed by the same data as an Approval, but exposes the structure as a tree of nodes (rules with their approvers). Use the workflow/workflows queries to read the tree structure, and createWorkflow/updateWorkflow to manage the entire approval flow as a single operation.
Workflows currently apply only to hires — they cannot be used for jobs, payment requests, or other entities. See the Approval type for supported trigger events.
| Fields |
|---|
idID! |
nodes[Nodeable!]! |
Related Types
References: Nodeable
Referenced by: WorkflowPaginator
WorkflowPaginator
A paginated list of Workflow items.
| Fields |
|---|
paginatorInfoPaginatorInfo! |
data[Workflow!]! |
Related Types
References: PaginatorInfo, Workflow
WorkflowVariableOption
A selectable option for an option-type workflow variable.
| Fields |
|---|
displayOrderInt! |
labelString! |
valueString! |
Related Types
Referenced by: WorkflowVariableOptionType
WorkflowVariableOptionType
A workflow variable that accepts one of a predefined set of options for comparison.
For example, a classification result variable with options like “Employee” and “Independent Contractor”.
| Fields |
|---|
idID! |
titleString! |
descriptionString |
operators[WorkflowVariableOperator!]! |
options[WorkflowVariableOption!]! |
Related Types
References: WorkflowVariableOperator, WorkflowVariableOption
WorkflowVariablePaginator
A paginated list of WorkflowVariable items.
| Fields |
|---|
paginatorInfoPaginatorInfo! |
data[WorkflowVariable!]! |
Related Types
References: PaginatorInfo, WorkflowVariable
WorkflowVariableRule
A condition on an approval rule — compares a workflow variable against a threshold value.
For example, a rule might have a condition: “hourly rate greater than 100”. The variable field identifies what is being compared, operator defines the comparison type, and value is the threshold.
| Fields |
|---|
idID! |
fieldIdString! |
approvalRuleApprovalRule! |
variableWorkflowVariable! |
operatorWorkflowVariableOperator! |
valueString! |
createdAtDate! |
updatedAtDate! |
Related Types
References: ApprovalRule, Date, WorkflowVariable, WorkflowVariableOperator
Referenced by: ApprovalRule, CustomField
WorkflowVariableStringType
A workflow variable that accepts free-text string values for comparison.
| Fields |
|---|
idID! |
titleString! |
descriptionString |
operators[WorkflowVariableOperator!]! |
Related Types
References: WorkflowVariableOperator