---
title: ServiceTrade API Integration on Truto
slug: servicetrade
category: CRM
canonical: "https://truto.one/integrations/detail/servicetrade/"
---

# ServiceTrade API Integration on Truto



**Category:** CRM  
**Status:** Beta

## MCP-ready AI tools

Truto exposes 381 tools for ServiceTrade that AI agents can call directly.

- **list_all_service_trade_account_settings** — Get account settings. Returns all account settings for the current account. TimeCard-related settings are only included if the account has the TimeCard feature enabled.
- **update_a_service_trade_account_setting_by_id** — Update an account setting. Updates a single account setting by name. The setting name is specified in the URI path, and the new value is provided in the request body. Different settings require different permissions: - Most settings require admin.account permission - TimeCard settings require timecard.settings,… Required: id, value.
- **get_single_service_trade_account_by_id** — Get a single account. Returns detailed information about a specific account. Users can only access their own account. Required: id.
- **list_all_service_trade_accounts** — List accounts. Returns the account for the currently authenticated user. This endpoint does not support pagination and always returns exactly one account.
- **get_single_service_trade_activity_by_id** — Retrieve a single activity. Returns detailed information about a specific activity/permission. Required: id.
- **list_all_service_trade_activities** — List all activities. Returns all available activities (permissions) that can be assigned to user roles in your account. This endpoint does not support pagination.
- **create_a_service_trade_appointment_service_request** — Add a service to an appointment. Adds an existing service request to an appointment. The service request must belong to the same job as the appointment. Required: appointment_id, serviceRequestId.
- **update_a_service_trade_appointment_service_request_by_id** — Update a service on an appointment. Updates the completion state of a service request on an appointment. Required: id, appointment_id.
- **create_a_service_trade_appointment** — Create a new appointment. Creates a new appointment for a job. Service requests can be assigned to the appointment during creation by passing their IDs in serviceRequestIds. The specified service requests must belong to the provided job. If no services are specified, the appointment is created without any services assigned. Required: jobId.
- **delete_a_service_trade_appointment_by_id** — Delete an appointment. Deletes an appointment. Only appointments with status unscheduled can be deleted; attempting to delete a scheduled or completed appointment will return a 404 error. Requires appointment.edit permission. Required: id.
- **get_single_service_trade_appointment_by_id** — Get a single appointment. Retrieves detailed information about a specific appointment, including the full list of service requests to be fulfilled, assigned technicians, and the associated job details. Required: id.
- **list_all_service_trade_appointments** — List all appointments. Returns a paginated list of appointments matching the specified filters. By default, returns all appointments except those with status unscheduled. Sort order notes: - If lat and lon query params are provided, the default sort is ascending distance from the provided coordinates. Otherwise, the… the connector pages with page / limit (limit = page size, default 100, at most 2000).
- **update_a_service_trade_appointment_by_id** — Update an appointment. Updates an existing appointment. You can modify the appointment status, time window, assigned technicians, or the list of service requests. When updating serviceRequestIds or techIds, the provided array replaces the existing assignments entirely. Required: id.
- **get_single_service_trade_asset_definition_by_id** — Get a single asset definition. Retrieves detailed information about a specific asset definition. The id parameter can be either a numeric ID or a type string (e.g., alarm, extinguisher, location). Required: id.
- **list_all_service_trade_asset_definitions** — List all asset definitions. Returns a paginated list of asset definitions. By default, returns all definitions. Use query parameters to filter by account-specific activation status or current/deprecated status. The connector pages with page / limit (limit = page size, default 100, at most 2000).
- **create_a_service_trade_asset** — Create an asset. Creates a new asset at the specified location. Required: type, locationId, properties.
- **delete_a_service_trade_asset_by_id** — Delete an asset. Deletes an asset. Assets that have child assets or are referenced by other entities cannot be deleted. Required: id.
- **service_trade_assets_enable_group_tasking** — Enable tasking for an abstract asset group. Creates task lists for all subassets of an abstract asset group that are compatible with tasking templates in your account. The templates are automatically selected based on their coverage of the asset types within the group. Requirements: - Account must have the Tasking feature enabled - User must… Required: asset_id.
- **get_single_service_trade_asset_by_id** — Get a single asset. Returns detailed information about a specific asset. Required: id.
- **list_all_service_trade_assets** — List assets. Returns a paginated list of assets matching the specified criteria. At least one of locationId, jobId, appointmentId, or a time-bound parameter (createdBefore, createdAfter, updatedBefore, updatedAfter, taskTemplateId) is required. The connector pages with page / limit (limit = page size, default 100, at most 2000).
- **update_a_service_trade_asset_by_id** — Update an asset. Updates an existing asset's properties, status, parent, or task list assignment. Note: the type of an existing asset cannot be changed with a PUT request. Required: id.
- **get_single_service_trade_attachment_thumbnail_by_id** — Get thumbnail URLs for an attachment. Returns thumbnail URLs for an attachment. For image attachments, thumbnails are generated automatically. For avatars, small/medium/large sizes are returned. Required: id.
- **create_a_service_trade_attachment** — Upload a new attachment. Creates a new attachment by uploading a file. Important: Unlike all other endpoints, this endpoint requires multipart/form-data content type (not application/json). The file must be sent in a field named uploadedFile. Required: uploadedFile, purposeId, entityId, entityType.
- **delete_a_service_trade_attachment_by_id** — Delete an attachment. Permanently deletes an attachment. Required: id.
- **get_single_service_trade_attachment_by_id** — Get a single attachment. Returns detailed information about a specific attachment. Required: id.
- **list_all_service_trade_attachments** — List attachments for an entity. Returns attachments for a specific entity. Required: entityId, entityType. The connector pages with page / limit (limit = page size, default 100, at most 2000).
- **update_a_service_trade_attachment_by_id** — Update an attachment. Updates an existing attachment. You can update the description, metadata, and visibility properties. Moving Attachments: Nameplate attachments (purposeId=17) can also be moved to a different entity by providing both entityId and entityType. The user must have permission to edit attachments on both… Required: id.
- **list_all_service_trade_brands** — List all brands. Returns all brands. Use the name parameter to filter by brand name. The connector pages with page / limit (limit = page size, default 100, at most 2000).
- **create_a_service_trade_budget_category** — Create a new budget category. Creates a new budget category for a high-level budget. The budget must have status unlocked and type high_level. Required: budgetId, libItemType, cost.
- **delete_a_service_trade_budget_category_by_id** — Delete a budget category. Deletes a budget category. The budget must have status unlocked. Required: id.
- **get_single_service_trade_budget_category_by_id** — Get a single budget category. Required: id.
- **list_all_service_trade_budget_categories** — List budget categories. Returns budget categories matching the provided filters. At least one filter parameter (budgetId or referenceNumber) is required. The connector pages with page / limit (limit = page size, default 100, at most 2000).
- **update_a_service_trade_budget_category_by_id** — Update a budget category. Updates an existing budget category. The budget must have status unlocked. The budgetId and referenceNumber fields cannot be changed. Required: id.
- **service_trade_budget_line_items_copy_to_job** — Copy budget line item to job item. Creates a new job item from this budget line item and links them together. This endpoint can be used on locked budgets. Required: budget_line_item_id.
- **create_a_service_trade_budget_line_item** — Create a budget line item. Creates a new line item on a granular budget. The budget must be in unlocked status. If libItemId is not provided, an ad-hoc item will be created using the specified serviceLineId. Required: budgetId, name, cost, quantity.
- **delete_a_service_trade_budget_line_item_by_id** — Delete a budget line item. Deletes an existing budget line item. The budget must be in unlocked status. Required: id.
- **get_single_service_trade_budget_line_item_by_id** — Get a single budget line item. Returns detailed information about a specific budget line item. Required: id.
- **list_all_service_trade_budget_line_items** — List budget line items. Returns budget line items matching the provided filters. At least one filter parameter (budgetId or referenceNumber) is required. The connector pages with page / limit (limit = page size, default 100, at most 2000).
- **update_a_service_trade_budget_line_item_by_id** — Update a budget line item. Updates an existing budget line item. The budget must be in unlocked status. The budgetId and referenceNumber cannot be changed. Required: id.
- **create_a_service_trade_budget** — Create a new budget. Creates a new budget or budget revision. The total is not explicitly set but calculated from budget categories (for high_level type) or budget line items (for granular type). Required: jobId, status, type.
- **get_single_service_trade_budget_by_id** — Get a single budget. Returns detailed information about a specific budget version. Required: id.
- **list_all_service_trade_budgets** — List budgets. Returns budgets matching the specified filters. At least one filter parameter (jobId or referenceNumber) is required. The connector pages with page / limit (limit = page size, default 100, at most 2000).
- **service_trade_budgets_revise** — Revise a budget. Creates a new revision of an existing budget. Optionally applies an approved change order to the revision. Only the most current version of a budget can be revised. Voided budgets cannot be revised. When applying a change order, the budget status must be locked and the change order must be in… Required: budget_id.
- **update_a_service_trade_budget_by_id** — Update a budget. Updates an existing budget. Only the current version of a budget can have its status changed. Required: id.
- **create_a_service_trade_change_order_category** — Create a new change order category. Creates a new change order category for a change order. The change order must be associated with a high-level budget. Action-specific requirements: - add: Requires cost and quantity; referenceNumber should not be provided - change: Requires referenceNumber; fields not provided will be populated… Required: changeOrderId, changeAction.
- **delete_a_service_trade_change_order_category_by_id** — Delete a change order category. Deletes a change order category. Required: id.
- **get_single_service_trade_change_order_category_by_id** — Get a single change order category. Returns detailed information about a specific change order category. Required: id.
- **list_all_service_trade_change_order_categories** — List change order categories. Returns change order categories matching the specified filters. At least one filter parameter (changeOrderId or referenceNumber) is required. The connector pages with page / limit (limit = page size, default 100, at most 2000).
- **update_a_service_trade_change_order_category_by_id** — Update a change order category. Updates an existing change order category. The changeOrderId, changeAction, and referenceNumber cannot be changed after creation. Required: id.
- **create_a_service_trade_change_order_line_item** — Create a change order line item. Creates a new change order line item. The required fields depend on the changeAction: - add: Requires changeOrderId, changeAction, name, cost, and quantity. Do not provide referenceNumber. - change: Requires changeOrderId, changeAction, and referenceNumber. Fields not provided will be populated… Required: changeOrderId, changeAction.
- **delete_a_service_trade_change_order_line_item_by_id** — Delete a change order line item. Removes a change order line item from a change order. Required: id.
- **get_single_service_trade_change_order_line_item_by_id** — Get a single change order line item. Returns detailed information about a specific change order line item. Required: id.
- **list_all_service_trade_change_order_line_items** — List change order line items. Returns change order line items matching the specified filters. At least one filter parameter (changeOrderId or referenceNumber) is required. The connector pages with page / limit (limit = page size, default 100, at most 2000).
- **update_a_service_trade_change_order_line_item_by_id** — Update a change order line item. Updates an existing change order line item. Only budget line item field values can be updated; changeOrderId, changeAction, and referenceNumber cannot be changed after creation. Required: id.
- **create_a_service_trade_change_order** — Create a new change order. Creates a new change order for a locked budget. Change orders can only be created for budgets with locked status. Required: budgetId, status, type.
- **delete_a_service_trade_change_order_by_id** — Delete a change order. Deletes a change order. Only change orders in draft status with no line items or categories can be deleted. Required: id.
- **get_single_service_trade_change_order_by_id** — Get a single change order. Returns detailed information about a specific change order. Required: id.
- **list_all_service_trade_change_orders** — List change orders. Returns change orders matching the specified filters. At least one filter parameter (budgetId or baselineBudgetId) is required. The connector pages with page / limit (limit = page size, default 100, at most 2000).
- **update_a_service_trade_change_order_by_id** — Update a change order. Updates an existing change order. The type and budgetId cannot be changed after creation. Required: id.
- **delete_a_service_trade_clock_event_by_id** — Delete a clock event. Deletes a clock event. Requires admin.ivr or clock.delete permission. Required: id.
- **get_single_service_trade_clock_event_by_id** — Get a single clock event. Required: id.
- **list_all_service_trade_clock_events** — List clock events. Returns clock events matching the provided filters. At least one filter parameter must be provided. Response format notes: - When paired=true (or when jobId is provided without specifying paired), results are returned as matched pairs in pairedEvents with unmatched clock-ins in unpairedEvents, plus… the connector pages with page / limit (limit = page size, default 100, at most 5000).
- **update_a_service_trade_clock_event_by_id** — Update a clock event. Updates an existing clock event. Requires admin.ivr or clock.edit permission. Updates to clock events on completed jobs require the job.manage.completed permission. Required: id.
- **service_trade_clock_spans_bulk_create** — Batch create, update, or delete clock spans. Submit a JSON array of operations. Each element must include method (POST, PUT, or DELETE) and body with the same fields as the single-resource endpoints (body.id is the span ID for PUT/DELETE). The HTTP response is a JSON array at the root (not wrapped in data): each item has code, requestIndex,… Send the list as items: ServiceTrade takes it as a bare JSON array. Required: items.
- **create_a_service_trade_clock_span** — Create a clock span (clock-in). When jobId or appointmentId is present, activity defaults to onsite; when neither is set, activity defaults to nonjob. When both inTime and outTime are provided, outSource defaults to mobile. Only administrators (admin.ivr) may set userId to another user. If categoryId is supplied and the category…
- **delete_a_service_trade_clock_span_by_id** — Delete a clock span. Requires admin.ivr or clock.delete permission. Required: id.
- **get_single_service_trade_clock_span_by_id** — Get a clock span by ID. Required: id.
- **list_all_service_trade_clock_spans** — List clock spans. Returns paginated clock spans matching the filters. Non-admin users are automatically limited to their own user ID. The connector pages with page / limit (limit = page size, default 100, at most 2000).
- **update_a_service_trade_clock_span_by_id** — Update a clock span (typically clock-out). If outTime is provided, outSource defaults to inSource if it is not provided and not already set. If categoryId is supplied and the category has an activity filter set, the activity must match that filter or a 400 is returned. If activity is updated to a different value without supplying a… Required: id.
- **create_a_service_trade_comment** — Create a comment. Creates a new comment attached to the specified entity. See the list of Entity Types for a list of allowed entityType values. Required: entityId, entityType, content.
- **delete_a_service_trade_comment_by_id** — Delete a comment. Required: id.
- **get_single_service_trade_comment_by_id** — Get a single comment. Required: id.
- **list_all_service_trade_comments** — List comments. Returns comments matching the specified filters. The entityType parameter is always required (see the list of Entity Types.) The entityId parameter is required unless searching by date range filters (createdAfter, createdBefore, updatedAfter, updatedBefore) with admin.comment permission. The… Required: entityType. The connector pages with page / limit (limit = page size, default 100, at most 1000).
- **update_a_service_trade_comment_by_id** — Update a comment. Updates an existing comment. Users can update their own comments, or any comment if they have admin.comment permission. Changing visibility only requires the comments visibility permission on the entity, not admin.comment. Required: id.
- **create_a_service_trade_company** — Create a new company. Creates a new company. By default, new companies are created as customers with active status. Required: name, address.
- **delete_a_service_trade_company_by_id** — Delete a company. Deletes a company. Companies with associated entities (locations, jobs, etc.) cannot be deleted. Required: id.
- **get_single_service_trade_company_by_id** — Retrieve a single company. Returns detailed information about a single company, including its address, service lines provided (for vendors), logo, and tags. Required: id.
- **list_all_service_trade_companies** — List all companies. Returns companies matching the specified filters. Companies can be filtered by type (customer, vendor, parts vendor, prime contractor), status, location attributes, and timestamps. The connector pages with page / limit (limit = page size, default 100, at most 2000).
- **service_trade_companies_merge** — Merge a company into another. Merges all data about this company (the "loser") with the data for another company (the "winner"). Properties that have values only on the loser are added to the winner. For properties that exist on both loser and winner, the winner's value is kept and the loser's value is discarded. The losing… Required: company_id, replacementId.
- **update_a_service_trade_company_by_id** — Update a company. Updates an existing company's details. Required: id.
- **create_a_service_trade_company_brand** — Create a new brand for a company. Creates a new brand for the specified company. Required: company_id, name.
- **get_single_service_trade_company_brand_by_id** — Get a single brand for a company. Returns detailed information about a specific brand. Required: id, company_id.
- **list_all_service_trade_company_brands** — List brands for a company. Returns brands belonging to a specific company. Use the name parameter to filter by brand name. Required: company_id. The connector pages with page / limit (limit = page size, default 100, at most 2000).
- **update_a_service_trade_company_brand_by_id** — Update a brand for a company. Updates an existing brand. Required: id, company_id.
- **list_all_service_trade_config** — Get the authenticated user's configuration. Returns the calling user's profile, environment settings, and Firebase realtime update configuration. This endpoint does not support pagination.
- **delete_a_service_trade_contact_company_by_id** — Remove contact from a company. Removes the direct association between the contact and the specified company. Required: id, contact_id.
- **update_a_service_trade_contact_company_by_id** — Assign contact to a company. Associates the contact with the specified company. Required: id, contact_id.
- **delete_a_service_trade_contact_location_by_id** — Remove contact from a location. Removes the association between the contact and the specified location. If this contact is the primary contact for the location, the primary contact will be cleared. Required: id, contact_id.
- **update_a_service_trade_contact_location_by_id** — Assign contact to a location. Associates the contact with the specified location. Required: id, contact_id.
- **service_trade_contact_types_bulk_update** — Update a custom contact type. Updates an existing custom contact type. Only custom contact types can be updated; generic types cannot be modified. The new name must be unique within the account. Updates one contact type: its id goes in the body (ServiceTrade's PUT /contacttype has no id in the path). Required: id, name.
- **create_a_service_trade_contact_type** — Create a custom contact type. Creates a new custom contact type for the account. The name must be unique within the account and cannot match an existing generic or custom contact type name. Required: name.
- **delete_a_service_trade_contact_type_by_id** — Delete a custom contact type. Deletes a custom contact type. Only custom contact types can be deleted; generic types cannot be removed. Required: id.
- **list_all_service_trade_contact_types** — List all contact types. Returns a list of contact types matching the specified filters. By default, returns both generic (built-in) and custom contact types. Response format: When counts=false (default), returns an array of contact type name strings. When counts=true, returns an array of objects with id, name, and count… the connector pages with page / limit (limit = page size, default 100, at most 2000).
- **service_trade_contact_types_merge** — Merge contact types. Merges one contact type into another. All contacts assigned to the source contact type (the "loser") will be reassigned to the target contact type (the "winner"). The source contact type is then deleted. Required: contact_type_id, replacementId.
- **create_a_service_trade_contact** — Create a new contact. At least one of firstName or lastName is required.
- **get_single_service_trade_contact_by_id** — Get a single contact. Required: id.
- **list_all_service_trade_contacts** — List all contacts. The connector pages with page / limit (limit = page size, default 100, at most 2000).
- **service_trade_contacts_merge** — Merge a contact into another. Merges all data about this contact (the "loser") with the data for another contact (the "winner"). Properties that have values only on the loser are added to the winner. For properties that exist on both loser and winner, the winner's value is kept and the loser's value is discarded. The losing… Required: contact_id, replacementId.
- **update_a_service_trade_contact_by_id** — Update an existing contact. Required: id.
- **create_a_service_trade_contract_rule** — Create a contract rule. Creates a new pricing rule on the specified contract. Required: contract_id, type, name.
- **delete_a_service_trade_contract_rule_by_id** — Delete a contract rule. Deletes a pricing rule from the specified contract. Required: id, contract_id.
- **get_single_service_trade_contract_rule_by_id** — Get a single contract rule. Required: id, contract_id.
- **list_all_service_trade_contract_rules** — List contract rules for a contract. Returns all pricing rules for the specified contract. Required: contract_id. The connector pages with page / limit (limit = page size, default 100, at most 2000).
- **update_a_service_trade_contract_rule_by_id** — Update a contract rule. Updates an existing pricing rule on the specified contract. Required: id, contract_id.
- **list_all_service_trade_contract_rules_by_date** — List contract rules by date range. Returns contract rules matching the specified date filter criteria. At least one date filter (createdAfter, createdBefore, updatedAfter, or updatedBefore) is required. The connector pages with page / limit (limit = page size, default 100, at most 2000).
- **service_trade_contracts_copy** — Copy a contract. Creates a copy of the specified contract with a new name prefixed with "Copy of". Required: contract_id.
- **create_a_service_trade_contract** — Create a contract. Creates a new contract. There are two creation modes: Quote contract: Provide quoteId and jobId together to create or retrieve a quote-specific contract. Standard contract: Provide type, name, and other parameters to create a default, company, or template contract. quote and addendum types cannot…
- **service_trade_contracts_create_child** — Create a child contract. Creates a new child contract that inherits from the specified parent contract. Required: contract_id.
- **service_trade_contracts_deactivate** — Deactivate a contract. Deactivates a contract and optionally cancels related services, jobs, quotes, and recurring invoices. This operation is processed asynchronously. Requires the contract.deactivate permission. Required: contract_id.
- **get_single_service_trade_contract_by_id** — Get a single contract. Returns detailed information about a specific contract including all pricing and scope settings. Required: id.
- **list_all_service_trade_contracts** — List contracts. Returns contracts matching the specified filter criteria. At least one of jobId, vendorId, customerId, parentId, possibleParentOf, tag, name, or agreementType must be provided. Filtering behavior: - Requests with jobId return only the most specific contracts that match all supplied criteria -… the connector pages with page / limit (limit = page size, default 100, at most 2000).
- **update_a_service_trade_contract_by_id** — Update a contract. Updates an existing contract. Only default, company, and template type contracts can be modified. Required: id.
- **create_a_service_trade_deficiency** — Report a new deficiency. Creates a new deficiency on an asset. Required: assetId.
- **delete_a_service_trade_deficiency_by_id** — Delete a deficiency. Deletes a deficiency. Requires admin.account or admin.deficiency permission. Required: id.
- **get_single_service_trade_deficiency_by_id** — Get a single deficiency. Returns detailed information about a specific deficiency. Required: id.
- **list_all_service_trade_deficiencies** — List all deficiencies. Returns deficiencies matching the specified filters. The connector pages with page / limit (limit = page size, default 100, at most 2000).
- **update_a_service_trade_deficiency_by_id** — Update an existing deficiency. Updates a deficiency's details. Note: Setting status to fixed automatically also sets resolution to fixed. Required: id.
- **get_single_service_trade_deficiency_report_by_id** — Get a single deficiency report. Required: id.
- **list_all_service_trade_deficiency_reports** — List deficiency reports for a deficiency. Returns all deficiency reports associated with a specific deficiency. The deficiencyId query parameter is required. Required: deficiencyId. The connector pages with page / limit (limit = page size, default 100, at most 2000).
- **get_single_service_trade_entity_filter_by_id** — Get an entity filter. Returns detailed information about a specific entity filter, including the associated company and locations. If locations is an empty array, the filter applies to all of the company's locations. The company property will be null if the locations do not all belong to the same company. Required: id.
- **list_all_service_trade_entity_filters** — List all entity filters. Returns a list of entity filters. Note: The company and locations properties are excluded from list responses; use GET /entityfilter/{id} to retrieve the full details of a specific entity filter. The connector pages with page / limit (limit = page size, default 100, at most 2000).
- **service_trade_eula_accept** — Accept the EULA. Records that the authenticated user accepts the current EULA. The user's IP address is recorded with the acceptance. If no EULA currently exists, returns 204 No Content.
- **list_all_service_trade_eula** — Get EULA status. Returns the current EULA text and whether the authenticated user has already accepted it. If no EULA currently exists, returns 204 No Content.
- **get_single_service_trade_external_id_entity_by_id** — Look up entity by external ID. Returns the full entity object identified by its external ID in a specific system. Note: The response format matches the standard response for that entity type (e.g., GET /location/{id} for locations, GET /company/{id} for companies), so the response format varies based on the type of entity being… Required: id, entity_type, system_name.
- **create_a_service_trade_external_id** — Set external ID for an entity. Sets or updates the external ID for an entity in a specific external system. The syncId property is used to link the external ID record to the ExternalSync record that tracks the sync process lifecycle for UI displays. If a syncId is not provided, but the external system can sync this entity (see… Required: entity_type, entity_id, system_name.
- **list_all_service_trade_external_ids** — Get all external IDs for an entity. Returns all external IDs for an entity across all configured external systems. This endpoint does not support pagination. Required: entity_type, entity_id.
- **update_a_service_trade_external_id_by_id** — Update external ID for an entity. Updates the external ID for an entity in a specific external system. This endpoint behaves identically to POST. See ExternalSync for more information on the syncId parameter. Required: id, entity_type, entity_id.
- **create_a_service_trade_external_sync** — Create a new external sync record. Creates a new external sync record and triggers the sync process. If the initial status is pending, the sync will be queued for processing immediately. Required: entityType, entityId, systemId.
- **get_single_service_trade_external_sync_by_id** — Get a single external sync record. Required: id.
- **list_all_service_trade_external_syncs** — List all external sync records. Returns external sync records matching the specified filters. The connector pages with page / limit (limit = page size, default 100, at most 2000).
- **update_a_service_trade_external_sync_by_id** — Update an external sync record. Only the status and details fields can be updated. Required: id.
- **create_a_service_trade_external_system** — Create a new external system. Creates a new external system integration. System names must begin with a letter and contain only lowercase letters, numbers, and underscores. Required: name, label.
- **get_single_service_trade_external_system_by_id** — Get a single external system. Required: id.
- **list_all_service_trade_external_systems** — List all external systems. Returns all external systems configured for the current account. This endpoint does not support pagination.
- **update_a_service_trade_external_system_by_id** — Update an external system. Updates an existing external system. The type cannot be changed after creation. Required: id, name, label.
- **create_a_service_trade_group_label** — Create a new group label. Creates a new group label with the specified properties. Requires admin.user permission. Required: hexCode.
- **delete_a_service_trade_group_label_by_id** — Delete a group label. Deletes an existing group label. Requires admin.user permission. Required: id.
- **get_single_service_trade_group_label_by_id** — Get a single group label. Returns detailed information about a specific group label. Required: id.
- **list_all_service_trade_group_labels** — List all group labels. Returns all group labels matching the specified filters. The connector pages with page / limit (limit = page size, default 100, at most 2000).
- **update_a_service_trade_group_label_by_id** — Update a group label. Updates an existing group label with the specified properties. Requires admin.user permission. Required: id.
- **list_all_service_trade_history_events** — List history events for an entity. Returns history events for a specific entity. The maximum page size for this endpoint is 200. Required: entityId, entityType. The connector pages with page / limit (limit = page size, default 100, at most 200).
- **create_a_service_trade_import** — Create a new import. Creates a new import task for bulk data operations. After creating the import, upload a CSV file using the Attachment endpoint with the import ID. Once the CSV attachment is added, the import will be processed asynchronously. Required: type.
- **delete_a_service_trade_import_by_id** — Delete an import. Deletes an import that has not yet started processing. Once a file has been uploaded and the import has begun, it cannot be deleted. Required: id.
- **get_single_service_trade_import_by_id** — Get a single import. Returns detailed information about a specific import including progress and status. Required: id.
- **create_a_service_trade_invoice_item** — Create an invoice item. Adds a new line item to an invoice. Note: Unlike the UI, which applies a single tax rate to all items at once, the API sets taxRate per item. To tax all items at the same rate, include taxRate on every item you create. Alternatively, use taxGroupId to apply a tax group's rate automatically. Required: invoiceId, quantity, price, description.
- **delete_a_service_trade_invoice_item_by_id** — Delete an invoice item. Removes a line item by its ID. Required: id.
- **get_single_service_trade_invoice_item_by_id** — Get a single invoice item. Retrieves a specific line item by its ID. Required: id.
- **list_all_service_trade_invoice_items** — List invoice items. Returns all line items for a specific invoice. This endpoint does not support pagination. Required: invoiceId.
- **update_a_service_trade_invoice_item_by_id** — Update an invoice item. Updates an existing line item by its ID. Note: Unlike the UI, which applies a single tax rate to all items at once, the API sets taxRate per item. To tax all items at the same rate, include taxRate on every item you update. Alternatively, use taxGroupId to apply a tax group's rate automatically. Required: id.
- **create_a_service_trade_invoice_recurrence_item** — Add an item to an invoice recurrence. Creates a new line item on the invoice recurrence. Either libItemId or description must be provided. Required: invoice_recurrence_id, quantity.
- **delete_a_service_trade_invoice_recurrence_item_by_id** — Delete an invoice recurrence item. Removes a line item from the invoice recurrence. Required: id, invoice_recurrence_id.
- **get_single_service_trade_invoice_recurrence_item_by_id** — Get a single invoice recurrence item. Required: id, invoice_recurrence_id.
- **list_all_service_trade_invoice_recurrence_items** — List invoice recurrence items. Returns all line items for a specific invoice recurrence. Required: invoice_recurrence_id. The connector pages with page / limit (limit = page size, default 100, at most 2000).
- **update_a_service_trade_invoice_recurrence_item_by_id** — Update an invoice recurrence item. Updates a line item on the invoice recurrence. Required: id, invoice_recurrence_id.
- **create_a_service_trade_invoice_recurrence** — Create a new invoice recurrence. Creates a new recurring invoice schedule. The nextDue date does not have to be on the first day of the month, but invoice recurrence instances will always reflect full calendar periods. For example, a monthly invoice recurrence with a nextDue on Aug 15 will be for Aug 1 - Aug 31 the next time it is… Required: locationId, contractId, description, serviceLineId, frequency, interval, nextDue.
- **get_single_service_trade_invoice_recurrence_by_id** — Get a single invoice recurrence. Required: id.
- **list_all_service_trade_invoice_recurrences** — List all invoice recurrences. Returns invoice recurrences matching the specified filter criteria. The connector pages with page / limit (limit = page size, default 100, at most 2000).
- **update_a_service_trade_invoice_recurrence_by_id** — Update an invoice recurrence. Updates an existing invoice recurrence. Set endsOn to stop generating invoice instances as of that date. Note: locationId, contractId, customerId, and vendorId cannot be changed after creation. Required: id.
- **create_a_service_trade_invoice** — Create an invoice. When creating an invoice from a job (jobId or POST /job/{id}/invoice), pass copyOrgStructure=true to copy the job's org layers onto the invoice. Requires the enterprise_organizational_layers feature (403 if copyOrgStructure is true and the feature is off). Defaults to false. Required: type, status, customerId.
- **service_trade_invoices_create_recurring** — Create invoice from recurrences. Create invoice(s) from one or more invoice recurrences. Each recurrence generates a new invoice based on its template. Required: invoiceRecurrenceId.
- **get_single_service_trade_invoice_by_id** — Retrieve a single invoice by ID. Required: id.
- **list_all_service_trade_invoices** — List all invoices. The connector pages with page / limit (limit = page size, default 100, at most 2000).
- **update_a_service_trade_invoice_by_id** — Update an invoice. Required: id.
- **get_single_service_trade_job_clock_event_by_id** — List all clock events for a job. Returns all clock events (both clock-ins and clock-outs) for a job. By default returns paired events with activity time totals. This endpoint does not support pagination. Required: id.
- **create_a_service_trade_job_clock_in** — Create a clock-in event. Creates a new clock-in event for the specified job. Clock-ins on completed jobs require the job.manage.completed permission. Required: job_id.
- **get_single_service_trade_job_clock_in_by_id** — Get a specific clock-in event. Required: id, job_id.
- **list_all_service_trade_job_clock_ins** — List clock-in events for a job. Returns all clock-in events for the specified job. By default, results are returned as paired events (matching clock-ins with their corresponding clock-outs). Results are paginated only when page or limit is passed; without either, every matching event is returned on a single page. The default page… Required: job_id. The connector pages with page / limit (limit = page size, default 100, at most 5000).
- **create_a_service_trade_job_clock_out** — Create a clock-out event. Creates a new clock-out event for the specified job. A corresponding clock-in must exist for the user on this job/appointment. Clock-outs on completed jobs require the job.manage.completed permission. Required: job_id.
- **get_single_service_trade_job_clock_out_by_id** — Get a specific clock-out event. Required: id, job_id.
- **list_all_service_trade_job_clock_outs** — List clock-out events for a job. Returns all clock-out events for the specified job. Results are paginated only when page or limit is passed; without either, every matching event is returned on a single page. The default page size for this endpoint is 5000. The maximum page size for this endpoint is 5000. Required: job_id. The connector pages with page / limit (limit = page size, default 100, at most 5000).
- **create_a_service_trade_job_context** — Create or retrieve a job context. Finds an existing job context matching the specified criteria, or creates a new one if none exists. This is an idempotent operation - calling it multiple times with the same parameters returns the same job context.
- **delete_a_service_trade_job_context_by_id** — Delete a job context. Deletes the specified job context. Any attachments associated with this context will no longer be automatically associated with matching jobs. Required: id.
- **get_single_service_trade_job_context_by_id** — Get a single job context. Required: id.
- **list_all_service_trade_job_contexts** — List all job contexts. Returns all job contexts defined in your account. The connector pages with page / limit (limit = page size, default 100, at most 2000).
- **create_a_service_trade_job_invoice** — Create invoice from job. Uses the job's items and the contract's pricing rules to generate invoice line items. Pass copyOrgStructure=true to copy the job's org layers onto the invoice. Requires the enterprise_organizational_layers feature (403 if copyOrgStructure is true and the feature is off). Defaults to false. Required: job_id, contractId.
- **create_a_service_trade_job_item** — Create a job item. Creates a new job item on the specified job. Either libItemId or serviceLineId must be provided. If libItemId is not provided, an "Other" item is created for the specified service line. Required: jobId, name, quantity.
- **delete_a_service_trade_job_item_by_id** — Delete a job item. Deletes a job item. The job item cannot be deleted if it is referenced by other entities (such as budget line items or change order items). Required: id.
- **get_single_service_trade_job_item_by_id** — Get a job item. Returns detailed information about a specific job item. Required: id.
- **list_all_service_trade_job_items** — List job items. Returns job items matching the specified filters. At least one of jobId, jobOfficeId, techId, or a date filter (createdBefore/createdAfter, updatedBefore/updatedAfter, usedOnBefore/usedOnAfter) is required. The connector pages with page / limit (limit = page size, default 100, at most 2000).
- **update_a_service_trade_job_item_by_id** — Update a job item. Updates an existing job item. Only provided fields are updated. Required: id.
- **create_a_service_trade_job_project** — Create a project. Creates a new project for a job. Each job can have only one project. Creating a project automatically sets the job's budgeted field to true. This endpoint does not support pagination. Required: job_id.
- **get_single_service_trade_job_project_by_id** — Get a project. Returns project details for a job's project. Required: id, job_id.
- **update_a_service_trade_job_project_by_id** — Update a project. Updates an existing project's dates. Required: id, job_id.
- **create_a_service_trade_job_type_group_label** — Create a new job type group label. Creates a new job type group label association. Requires admin.user permission. You can specify an existing group label by ID using groupLabelId, or create/find a group label by hex code using groupLabelHexCode. If using groupLabelHexCode, a matching group label will be found or created with type… Required: jobType.
- **delete_a_service_trade_job_type_group_label_by_id** — Delete a job type group label. Deletes a job type group label association. Requires admin.user permission. This does not delete the underlying group label. Required: id.
- **get_single_service_trade_job_type_group_label_by_id** — Get a single job type group label. Returns detailed information about a specific job type group label. Requires admin.user permission. Required: id.
- **list_all_service_trade_job_type_group_labels** — List all job type group labels. Returns all job type group labels matching the specified filters. The maximum page size for this endpoint is 200. The connector pages with page / limit (limit = page size, default 100, at most 200).
- **update_a_service_trade_job_type_group_label_by_id** — Update a job type group label. Updates an existing job type group label association. Requires admin.user permission. Required: id.
- **create_a_service_trade_job** — Create a new job. Creates a new job at the specified location. Permission notes: - Requires job.manage permission for the location - Setting salesId requires sales.edit permission - Setting budgeted requires budget.manage or budget.manage.owner permission. Required: locationId, type.
- **get_single_service_trade_job_by_id** — Get a single job. Returns detailed information about a specific job including notes, service requests, and scheduling comments. If the lat and lon query parameters are provided, the response's location.distance value will be the distance in miles from the provided latitude/longitude. Required: id.
- **list_all_service_trade_jobs** — List all jobs. Returns jobs matching the specified filters. Default status filtering: This endpoint defaults to filtering by status=scheduled. To retrieve jobs in other statuses, you must explicitly specify the status query parameter (e.g., status=* for all statuses, or status=completed,closed for specific… the connector pages with page / limit (limit = page size, default 100, at most 2000).
- **service_trade_jobs_submit_task_responses** — Submit task responses for a job. Submits responses for task instances associated with this job. The job must have at least one task list. Response format by input type: - text: Array with one string element, e.g., ["this is my response"] - date: Array with one date string in YYYY-MM-DD format, e.g., ["2023-07-04"] - number: Array… Required: job_id, taskResponses.
- **update_a_service_trade_job_by_id** — Update a job. Updates an existing job's properties. Permission notes: - Most fields require job.manage permission - Users with only job.tech permission can update customerPo and description on jobs they are assigned to - Completed jobs require job.manage.completed permission to modify certain fields - Setting… Required: id.
- **create_a_service_trade_library_item** — Create a new lib item. Creates a new library item. Requires the admin.libitem permission. Required: name, type.
- **get_single_service_trade_library_item_by_id** — Get a single lib item. To calculate the price field, provide either a contractId or a contract context consisting of contractorId, contracteeId, and locationId. Some items may not be specified in the given context and will have an unknown price. To see an item's cost for a specific technician, provide a techId. This is… Required: id.
- **list_all_service_trade_library_items** — List all lib items. Returns library items matching the provided filters. To calculate the price field, provide either a contractId or a contract context consisting of contractorId, contracteeId, and locationId. Some items may not be specified in the given context and will have an unknown price. To see an item's cost… the connector pages with page / limit (limit = page size, default 100, at most 2000).
- **update_a_service_trade_library_item_by_id** — Update a lib item. Updates an existing library item. Requires the admin.libitem permission. The built-in generic "other" item cannot be modified. Required: id.
- **service_trade_library_task_lists_copy** — Copy a library task list to your account. Creates a copy of the library task list as a task list template in your account. If you already have a copy with the same name, the new copy will be prefixed with "Copy of ...". Required: library_task_list_id.
- **get_single_service_trade_library_task_list_by_id** — Get a single library task list. Returns detailed information about a specific library task list. Required: id.
- **list_all_service_trade_library_task_lists** — List library task lists. Returns library task lists matching the specified filters. At least one query parameter must be provided. The connector pages with page / limit (limit = page size, default 100, at most 2000).
- **get_single_service_trade_library_task_by_id** — Get a single library task. Returns detailed information about a specific library task. Required: id.
- **list_all_service_trade_library_tasks** — List library tasks. Returns library tasks matching the specified filters. At least one filter parameter must be provided. The connector pages with page / limit (limit = page size, default 100, at most 2000).
- **create_a_service_trade_location** — Create a new location. Creates a new location for the specified company. If officeIds is not provided, the location is assigned to the vendor company's primary office. If lat and lon are not provided, the coordinates will be automatically determined asynchronously from the location's address. Required: name, companyId, address.
- **delete_a_service_trade_location_by_id** — Delete a location. Deletes a location. Locations that have associated data (jobs, assets, contacts, etc.) cannot be deleted. Required: id.
- **get_single_service_trade_location_by_id** — Get a single location. Returns detailed information about a specific location. Required: id.
- **list_all_service_trade_locations** — List all locations. Returns locations matching the specified filters. The default page size for this endpoint is 10, and the maximum page size is 5000. The connector pages with page / limit (limit = page size, default 100, at most 5000).
- **service_trade_locations_merge** — Merge a location into another. Merges all data about this location (the "loser") with the data for another location (the "winner"). Properties that have values only on the loser are added to the winner. For properties that exist on both loser and winner, the winner's value is kept and the loser's value is discarded. All… Required: location_id, replacementId.
- **update_a_service_trade_location_by_id** — Update a location. Updates an existing location. Required: id.
- **service_trade_master_agreement_accept** — Accept current master agreement. Records the current user's acceptance of the current master agreement. If no master agreement is configured, returns 204 No Content.
- **list_all_service_trade_master_agreement** — Get current master agreement status. Returns the current master agreement text and whether the authenticated user has accepted it. If no master agreement is configured, returns 204 No Content.
- **create_a_service_trade_message** — Create a new message. Creates a new message and optionally sends it immediately. The params object must contain the template-specific parameters required for the chosen template. Template-specific parameters: - ChangeOrder: - changeOrderId (integer, required) - ID of the change order - subject (string, optional) -… Required: contactIds, mode, template, params.
- **get_single_service_trade_message_by_id** — Retrieve a single message. Returns detailed information about a specific message including sender, recipients, and delivery statistics. Required: id.
- **service_trade_messages_send** — Send an existing message. Sends a previously created message. The API enforces that you can only send messages where you are the original sender (creator). Attempting to send another user's message returns a 403 error. Required: message_id.
- **create_a_service_trade_oauth_2_credential** — Create new credentials. Creates a new set of OAuth2 client credentials Important: The clientSecret is returned only once in this response and cannot be retrieved again.
- **service_trade_oauth_2_credentials_disable** — Disable credentials. Disables a set of credentials, preventing them from being used for authentication. These credentials can be re-enabled later. Required: oauth2_credential_id.
- **service_trade_oauth_2_credentials_enable** — Enable credentials. Re-enables previously disabled credentials. Required: oauth2_credential_id.
- **get_single_service_trade_oauth_2_credential_by_id** — Get a single set of credentials. Returns details for a single set of OAuth2 credentials by the client ID. Required: id.
- **list_all_service_trade_oauth_2_credentials** — List all credentials. Returns all OAuth2 credentials defined for the current account. The connector pages with page / limit (limit = page size, default 100, at most 2000).
- **service_trade_oauth_2_credentials_rotate** — Rotate client secret. Generates a new client secret for these credentials. The old secret is invalidated immediately. The new clientSecret is returned only once and cannot be retrieved again. Required: oauth2_credential_id.
- **update_a_service_trade_oauth_2_credential_by_id** — Update credentials. Updates the description of an existing set of credentials The status of an existing set of credentials cannot be changed using this endpoint. Use the /disable and /enable endpoints to change the credentials' status. Required: id.
- **create_a_service_trade_oauth_2_token** — Request an access token. Exchanges client credentials or a refresh token for an access token. Supports the client_credentials and refresh_token grant types. - For client_credentials: provide client_id and client_secret - For refresh_token: provide client_id and refresh_token Response Format: For OAuth2 compatibility, token… Sent without the connection's credentials. Required: grant_type, client_id.
- **service_trade_oauth_2_tokens_revoke** — Revoke a refresh token. Revokes a previously issued refresh token, preventing it from being used to obtain new access tokens. Requires valid client credentials to authenticate the revocation request. Sent without the connection's credentials. Required: client_id, client_secret, refresh_token.
- **list_all_service_trade_oauth_2_userinfo** — Get credential info for current token. Returns information about the OAuth2 credential set associated with the Bearer token in the Authorization header. Does not support pagination.
- **get_single_service_trade_payment_term_by_id** — Retrieve a single payment terms. Returns detailed information about a specific payment terms by its ID. Required: id.
- **list_all_service_trade_payment_terms** — List all payment terms. Returns all available payment terms. No query parameters or pagination are supported; all payment terms are returned in a single response. The connector pages with page / limit (limit = page size, default 100, at most 2000).
- **create_a_service_trade_payment** — Create a new payment. Records a new payment against an invoice. The payment is created with the specified amount, method, and source. The invoice's payment total is automatically recalculated. Required: invoiceId, customerId, paymentMethod, source, amount, referenceNumber, status.
- **get_single_service_trade_payment_by_id** — Get a single payment. Returns detailed information about a specific payment. Required: id.
- **list_all_service_trade_payments** — List all payments. Returns payments matching the specified filters. All query parameters are optional; if none are provided, returns all payments for the account. The connector pages with page / limit (limit = page size, default 100, at most 2000).
- **update_a_service_trade_payment_by_id** — Update a payment. Updates an existing payment. invoiceId and customerId cannot be modified. Status can only transition from applied to void (not the reverse). Required: id.
- **create_a_service_trade_quote_item** — Create a quote item. Adds a new line item to a quote. Note: Unlike the UI, which applies a single tax rate to all items at once, the API sets taxRate per item. To tax all items at the same rate, include taxRate on every item you create. Required: quoteId, quantity, price, description.
- **delete_a_service_trade_quote_item_by_id** — Delete a quote item. Removes a line item from a quote. Required: id.
- **get_single_service_trade_quote_item_by_id** — Get a single quote item. Retrieves detailed information about a specific quote item. Required: id.
- **list_all_service_trade_quote_items** — List quote items. Returns all line items for a specific quote. This endpoint does not support pagination. Required: quoteId.
- **update_a_service_trade_quote_item_by_id** — Update a quote item. Updates an existing line item on a quote. Note: Unlike the UI, which applies a single tax rate to all items at once, the API sets taxRate per item. To tax all items at the same rate, include taxRate on every item you update. Required: id.
- **get_single_service_trade_quote_request_by_id** — Get a single quote request. Returns detailed information about a specific quote request. Required: id.
- **list_all_service_trade_quote_requests** — List all quote requests. Returns quote requests matching the specified filters. The default page size for this endpoint is 5000. The connector pages with page / limit (limit = page size, default 100, at most 2000).
- **create_a_service_trade_quote_template_item** — Add an item to a quote template. Creates a new line item on the specified quote template. The quoteTemplateId must be provided in the request body. Required: quoteTemplateId, quantity.
- **delete_a_service_trade_quote_template_item_by_id** — Delete a quote template item. Removes a line item from a quote template. Required: id.
- **get_single_service_trade_quote_template_item_by_id** — Get a single quote template item. Returns detailed information about a specific quote template item. Required: id.
- **list_all_service_trade_quote_template_items** — List quote template items. Returns all line items for a specific quote template. This endpoint does not support pagination. Required: quoteTemplateId.
- **update_a_service_trade_quote_template_item_by_id** — Update a quote template item. Updates an existing quote template item. Required: id.
- **create_a_service_trade_quote_template** — Create a new quote template. Creates a new quote template. Requires admin.quotetemplate permission. Required: name.
- **delete_a_service_trade_quote_template_by_id** — Delete a quote template. Deletes a quote template. Requires quotetemplate.manage permission. Cannot delete a quote template that still has child quote template items. Required: id.
- **get_single_service_trade_quote_template_by_id** — Retrieve a single quote template. Required: id.
- **list_all_service_trade_quote_templates** — List all quote templates. Returns all quote templates in your account. The connector pages with page / limit (limit = page size, default 100, at most 2000).
- **update_a_service_trade_quote_template_by_id** — Update a quote template. Updates an existing quote template. Requires quotetemplate.manage permission. Required: id.
- **service_trade_quotes_approve** — Approve a quote. Approves a quote. Quote status is updated to accepted. Quote must be in submitted status. Required: quote_id.
- **service_trade_quotes_cancel** — Cancel a quote. Cancels a quote. Quote status is updated to canceled. Quote must not already be canceled. Can only be used for simple quote requests. Required: quote_id.
- **service_trade_quotes_copy** — Copy a quote. Creates a copy of a quote. Required: quote_id.
- **create_a_service_trade_quote** — Create a new quote. Creates a new quote. If no quoteRequestId is provided, a new quote request is automatically created with type simple (appropriate for most use cases). In most scenarios the POSTed values of description and notes should be identical. Required: vendorId, locationId, name, description, jobType, serviceRequestIds.
- **service_trade_quotes_create_job** — Add quote to a job. Applies the quote to a new or existing job and returns that job if successful. Quote must be in accepted status. With copyOrgStructure=true and the enterprise_organizational_layers feature enabled, the job inherits the quote's org layer assignments: - Office (assignedOffice / assignedOfficeId on… Required: quote_id.
- **get_single_service_trade_quote_by_id** — Retrieve a single quote. Required: id.
- **list_all_service_trade_quotes** — List all quotes. The connector pages with page / limit (limit = page size, default 100, at most 2000).
- **service_trade_quotes_make_changes** — Make changes to a quote. Returns a submitted quote to draft status so that further changes can be made. Quote must be in submitted status. Required: quote_id.
- **service_trade_quotes_mark_viewed** — Record that a quote was viewed. Creates a 'quote viewed' History entry for a quote and triggers quote viewed notifications. The quote status is not changed. Required: quote_id.
- **service_trade_quotes_pending_sales_tax** — Mark a quote as pending sales tax calculation. Sets the quote's status to pending_sales_tax, indicating a sales tax external system is calculating taxes for this quote. The quote remains editable while in this status. Required: quote_id.
- **service_trade_quotes_reject** — Reject a quote. Rejects a quote. Quote status is updated to rejected. Quote must be in submitted status. Required: quote_id.
- **service_trade_quotes_reopen** — Reopen a quote. Reopens a quote and updates its status to draft. Quote must be in canceled, rejected, or accepted status. Required: quote_id.
- **service_trade_quotes_request_changes** — Request changes for a quote. Records a request for changes to a submitted quote. The quote's status is returned to draft. Quote must be in submitted status. Required: quote_id.
- **service_trade_quotes_resubmit** — Resubmit a quote. Updates the latestSubmission timestamp for an already-submitted quote. Quote must not be in draft or new status. Required: quote_id.
- **service_trade_quotes_submit** — Submit a quote. Submits a quote. The quote status is updated to submitted. Quote must be in draft or new status. Required: quote_id.
- **update_a_service_trade_quote_by_id** — Update a quote. To update the description of the quote, PUT identical values to both description and notes. To change the status of a quote, use the provided custom POST actions (e.g., /quote/{id}/cancel for canceling a quote) rather than directly manipulating the status property. Required: id.
- **create_a_service_trade_region** — Create a new region. The points array must contain at least 3 coordinate pairs to define a valid polygon. Requires admin.location permission. Required: name, points.
- **delete_a_service_trade_region_by_id** — Delete a region. Requires admin.location permission. Required: id.
- **get_single_service_trade_region_by_id** — Get a single region. Required: id.
- **list_all_service_trade_regions** — List all regions. Returns all regions matching the specified filters. This endpoint does not support pagination.
- **update_a_service_trade_region_by_id** — Update a region. Updates an existing region. Requires admin.location permission. Note: When points are updated, the region automatically recalculates which locations fall within its boundaries. Required: id.
- **service_trade_resource_access_tokens_generate** — Generate an access token. Generates a token that grants a specific user or contact limited access to a specific resource. Exactly one recipient parameter (contactId or userId) and exactly one resource parameter (jobId, quoteId, invoiceId, or changeOrderId) must be provided. This endpoint does not support pagination. Valid…
- **get_single_service_trade_role_by_id** — Retrieve a single role. Returns detailed information about a specific role including all activities assigned to it. Required: id.
- **list_all_service_trade_roles** — List roles. Returns a list of roles. Use query parameters to filter by user assignment, activities, or global/custom status. The connector pages with page / limit (limit = page size, default 100, at most 2000).
- **create_a_service_trade_service_item** — Create a service item. Creates a new line item on a service request, service recurrence, or service template. Exactly one of serviceRequestId, serviceRecurrenceId, or serviceTemplateId must be provided to specify the parent. Required: quantity.
- **delete_a_service_trade_service_item_by_id** — Delete a service item. Deletes a service item. Items belonging to a service request that is already assigned to a job cannot be deleted. Required: id.
- **get_single_service_trade_service_item_by_id** — Get a single service item. Required: id.
- **list_all_service_trade_service_items** — List service items. Returns all service items belonging to a specified parent resource. Exactly one of serviceRequestId, serviceRecurrenceId, or serviceTemplateId must be provided. This endpoint does not support pagination.
- **update_a_service_trade_service_item_by_id** — Update a service item. Updates an existing service item. Items belonging to a service request that is already assigned to a job cannot be modified. Required: id.
- **get_single_service_trade_service_line_by_id** — Get a single service line. Required: id.
- **list_all_service_trade_service_lines** — List all service lines. Returns service lines available to the current user. By default, returns only the authenticated user's company's assigned service lines. This endpoint does not support pagination.
- **create_a_service_trade_service_recurrence** — Create a new service recurrence. Creates a new service recurrence. To modify the schedule of an existing recurrence, provide serviceRecurrenceId to create a child recurrence that inherits properties from the original. The original recurrence will be ended automatically. Schedule modification notes: - When serviceRecurrenceId is… Required: locationId, description, serviceLineId.
- **get_single_service_trade_service_recurrence_by_id** — Retrieve a single service recurrence. Required: id.
- **list_all_service_trade_service_recurrences** — List all service recurrences. Returns service recurrences matching the specified filters. The connector pages with page / limit (limit = page size, default 100, at most 2000).
- **service_trade_service_recurrences_list_events** — Get events for a task list service recurrence. Returns the list of scheduled events (date ranges) for a task list service recurrence within the specified date range. Only works with recurrences whose schedulingType is task_list. Required: service_recurrence_id, startEvents, endEvents.
- **service_trade_service_recurrences_regenerate** — Regenerate a task list service recurrence. Removes all service requests belonging to this recurrence that are not already assigned to a quote or job, then rebuilds task instances and creates new service requests. Use this after changes to task lists that affect this recurrence. Requirements: - The recurrence must have schedulingType of… Required: service_recurrence_id.
- **update_a_service_trade_service_recurrence_by_id** — Update a service recurrence. Updates properties of an existing service recurrence. Scheduling parameters (firstStart, firstEnd, frequency, interval, repeatWeekday, schedulingType, frequencyCategory, taskingDuration) cannot be changed via PUT. To modify the schedule, create a new recurrence via POST with serviceRecurrenceId.… Required: id.
- **create_a_service_trade_service_request** — Create a new service request. Required: description, serviceLineId.
- **get_single_service_trade_service_request_by_id** — Retrieve a single service request. Required: id.
- **list_all_service_trade_service_requests** — List all service requests. Returns service requests matching the specified filters. The connector pages with page / limit (limit = page size, default 100, at most 2000).
- **update_a_service_trade_service_request_by_id** — Update a service request. Required: id.
- **create_a_service_trade_service_template** — Create a service template. Creates a new service template. The frequency and interval fields must be set together. A service template cannot have both preferredTechIds and preferredVendorId. Requires admin.servicetemplate permission. Required: name, description, serviceLineId.
- **delete_a_service_trade_service_template_by_id** — Delete a service template. Deletes a service template. Service templates with associated items cannot be deleted; you must delete the items first. Requires admin.servicetemplate permission. Required: id.
- **get_single_service_trade_service_template_by_id** — Retrieve a single service template. Required: id.
- **list_all_service_trade_service_templates** — List all service templates. Returns service templates matching the specified filters. The connector pages with page / limit (limit = page size, default 100, at most 2000).
- **update_a_service_trade_service_template_by_id** — Update a service template. Updates an existing service template. The frequency and interval fields must be set together. A service template cannot have both preferredTechIds and preferredVendorId. Requires admin.servicetemplate permission. Required: id.
- **create_a_service_trade_session** — Authenticate with credentials. Authenticates a user with username and password. On success, creates a new session and returns user details with a session token (authToken). Note: The POST (create session) endpoint does not require authentication to access. Sent without the connection's credentials. Required: username, password.
- **service_trade_sessions_create_from_oauth_tokens** — Authenticate with OAuth tokens. Authenticates a user using OAuth2 tokens (id_token and access_token) from the Identity Provider (Auth0). On success, creates a new session and returns user details. Optionally accepts a refresh_token which will be stored for future use. For users with multiple accounts sharing the same email, an… Required: id_token, access_token.
- **service_trade_sessions_end** — End session. Terminates the current authenticated session. Returns 204 on success with no content body.
- **list_all_service_trade_sessions** — Get current session. Returns authentication information for the currently logged-in user. If no active session exists, returns a 404 error.
- **create_a_service_trade_tag** — Create a tag or attach to an entity. Creates a new tag or attaches an existing tag to an entity. Use name to create a new tag (or find an existing tag with that name). Use id to attach an existing tag to an entity. Usage patterns: - Create a new tag: Provide name only - Attach existing tag by name: Provide name, entityId, and…
- **get_single_service_trade_tag_by_id** — Get a single tag. Required: id.
- **list_all_service_trade_tags** — List all tags. Returns tags defined in your account. When entityId and entityType are provided, returns only tags attached to that specific entity. When counts=true is specified, each tag in the response includes a counts array showing how many entities of each type have that tag assigned. The maximum page size… the connector pages with page / limit (limit = page size, default 100, at most 25000).
- **service_trade_tags_merge** — Merge tags. Merges this tag into another tag. All entities assigned this tag will be reassigned to the replacement tag, and this tag will be deleted. Requires admin.account permission. Required: tag_id, replacementId.
- **service_trade_tags_remove** — Remove or delete a tag. Removes a tag from an entity or deletes the tag entirely. Provide entityId and entityType to remove the tag from a specific entity. Omit these parameters to delete the tag from all entities (requires admin.account permission).
- **update_a_service_trade_tag_by_id** — Rename a tag. Renames an existing tag. Requires admin.account permission. The new name must not already be in use by another tag. Required: id, name.
- **get_single_service_trade_task_instance_by_id** — Get a single task instance. Returns detailed information about a specific task instance. Required: id.
- **list_all_service_trade_task_instances** — List task instances. Returns task instances matching the filter criteria. At least one of taskListId, taskId, referenceNumber, serviceRequestId, status, jobId, or assetId is required. The connector pages with page / limit (limit = page size, default 100, at most 2000).
- **update_a_service_trade_task_instance_by_id** — Update a task instance. Updates a task instance with new values. If response is provided without responseDate, the response date is set to the current timestamp. If response is provided without responseUserId, the responding user is set to the current user. If response is provided without status, the status is… Required: id.
- **service_trade_task_lists_copy** — Copy a task list template. Creates a copy of a template. The copy can be either a new template (for editing independently) or a new task list assigned to a specific asset. Required: task_list_id, targetType.
- **create_a_service_trade_task_list** — Create a new task list. Creates a new task list, template, or section. Required and valid parameters depend on the type being created. Parameter validity by type: - Task list: Requires type, name. Accepts status, scheduleType, startsOn, endsOn, templateId, assetId. - Template: Requires type, name. Accepts status,… Required: type, name.
- **get_single_service_trade_task_list_by_id** — Get a single task list. Returns detailed information about a specific task list, template, or section. Required: id.
- **list_all_service_trade_task_lists** — List task lists. Returns task lists matching the specified filters. At least one filter parameter must be provided. The connector pages with page / limit (limit = page size, default 100, at most 2000).
- **update_a_service_trade_task_list_by_id** — Update a task list. Updates an existing task list, template, or section. Valid parameters depend on the task list type. Parameter validity by type: - Task list: Accepts status, name, startsOn, endsOn, shiftMonths. - Template: Accepts status, name, startsOn, endsOn, assetDefinitionIds. - Section: Accepts status, name,… Required: id.
- **create_a_service_trade_task** — Create a new task. Creates a new task on a task list or template. Requires tasking.edit permission. Required: taskListId, name, inputType, frequencyCategory.
- **get_single_service_trade_task_by_id** — Get a single task. Returns detailed information about a specific task. Required: id.
- **list_all_service_trade_tasks** — List all tasks. Returns tasks matching the specified filter criteria. At least one of taskListId, referenceNumber, or assetId must be provided. The connector pages with page / limit (limit = page size, default 100, at most 2000).
- **update_a_service_trade_task_by_id** — Update a task. Updates an existing task. Requires tasking.edit permission. Required: id.
- **create_a_service_trade_tax_group** — Create a new tax group. Provide either combinedRate or combinedRateDetails, but not both. When combinedRateDetails is provided, the combinedRate is automatically calculated from the sum of the individual rates. Requires admin.account permission. Required: code, name, state.
- **delete_a_service_trade_tax_group_by_id** — Delete a tax group. Requires admin.account permission. A tax group cannot be deleted if it is in use by quote or invoice line items or is assigned to locations. Required: id.
- **get_single_service_trade_tax_group_by_id** — Get a single tax group. Required: id.
- **list_all_service_trade_tax_groups** — List all tax groups. Returns tax groups matching the specified filters, ordered by code ascending. The connector pages with page / limit (limit = page size, default 100, at most 2000).
- **update_a_service_trade_tax_group_by_id** — Update a tax group. When updating, provide either combinedRate or combinedRateDetails, but not both. Setting combinedRate clears any existing combinedRateDetails. When postalCodes is provided, existing postal codes are replaced with the new set. Requires admin.account permission. Required: id.
- **list_all_service_trade_tax_rates** — Look up tax rates. Returns estimated sales tax rates for a postal code or location. Either postalCode or locationId must be provided, but not both. An empty array will be returned if neither is provided. If postalCode is provided, the tax rates associated with that postal code will be returned. If locationId is… the connector pages with page / limit (limit = page size, default 100, at most 2000).
- **create_a_service_trade_term** — Create new terms. Creates a new set of terms and conditions. Requires admin.account permission. Required: name, content.
- **delete_a_service_trade_term_by_id** — Delete terms. Deletes a set of terms and conditions. Requires admin.account permission. Cannot delete terms that are currently in use by jobs or quotes. Required: id.
- **get_single_service_trade_term_by_id** — Retrieve a single set of terms. Required: id.
- **list_all_service_trade_terms** — List all terms. Returns all terms and conditions defined in your account. No query parameters or pagination are supported; all terms are returned in a single response. The connector pages with page / limit (limit = page size, default 100, at most 2000).
- **update_a_service_trade_term_by_id** — Update existing terms. Updates an existing set of terms and conditions. Requires admin.account permission. Required: id.
- **create_a_service_trade_time_card_comment** — Create a time card comment. Creates a new comment on the specified time card. The author is automatically set to the authenticated user. The time card must not be locked. Required: time_card_id, content, visibility.
- **delete_a_service_trade_time_card_comment_by_id** — Delete a time card comment. Deletes a comment from the specified time card. Required: id, time_card_id.
- **get_single_service_trade_time_card_comment_by_id** — Retrieve a single time card comment. Required: id, time_card_id.
- **list_all_service_trade_time_card_comments** — List time card comments. Returns a paginated list of comments for the specified time card. If the current user does not have permission to manage the time card owner's time cards, only their own comments and public comments are returned. Required: time_card_id. The connector pages with page / limit (limit = page size, default 100, at most 2000).
- **update_a_service_trade_time_card_comment_by_id** — Update a time card comment. Updates an existing comment on the specified time card. The time card must not be locked. Required: id, time_card_id.
- **service_trade_time_card_day_logs_bulk_create** — Create multiple day logs. Creates multiple day log entries in a single request. The request body is a JSON array of day log objects (not wrapped in an outer object). Each object follows the same parameter rules as single day log creation. A maximum of 200 records can be created at once. Send the list as items: ServiceTrade takes it as a bare JSON array. Required: items.
- **service_trade_time_card_day_logs_bulk_update** — Update multiple day logs. Updates multiple day log entries in a single request. The request body is a JSON array of day log objects (not wrapped in an outer object). Each object must include an id field identifying which day log to update, plus any fields to change. A maximum of 200 records can be updated at once. Send the list as items: ServiceTrade takes it as a bare JSON array. Required: items.
- **create_a_service_trade_time_card_day_log** — Create a day log. Creates a single day log entry on a time card. Required parameters vary by type: - generic: Requires timeCardId, type, loggedDate, value, and labelId - clock_event: Requires timeCardId, type, and clockEventId (array of exactly 2 clock event IDs). Values for loggedDate and value are calculated… Required: timeCardId, type.
- **delete_a_service_trade_time_card_day_log_by_id** — Delete a day log. Deletes a single day log entry. Users without admin.user or timecard.manage permission can only delete their own day logs. Required: id.
- **get_single_service_trade_time_card_day_log_by_id** — Retrieve a single day log. Required: id.
- **list_all_service_trade_time_card_day_logs** — List all day logs. Returns day logs matching the provided filters. The maximum page size for this endpoint is 200. Notes: - When loggedDate, loggedDateBefore, or loggedDateAfter filters are provided, they accept either a timestamp or a date string in YYYY-MM-DD format - Users without admin.user or timecard.manage… the connector pages with page / limit (limit = page size, default 100, at most 200).
- **update_a_service_trade_time_card_day_log_by_id** — Update a day log. Updates a single day log entry. All parameters are optional. Which parameters are valid depends on the day log type: - value and loggedDate cannot be modified for clock_event or expense types (they are auto-calculated) - libItemId and serviceLineId can only be provided for labor_item type. Required: id.
- **list_all_service_trade_time_card_history** — List time card history. Returns a paginated list of user actions performed on time cards. The maximum page size for this endpoint is 200. The connector pages with page / limit (limit = page size, default 100, at most 200).
- **create_a_service_trade_time_card** — Create a time card. Creates a new time card for a user. If userId is not provided, the current user is used. The startDate must fall on the account's configured week start day (default: Sunday). If endDate is not provided, it is automatically set to 6 days after startDate. On Daily Timecard accounts, startDate may be… Required: status, type, startDate.
- **delete_a_service_trade_time_card_by_id** — Delete a time card. Deletes a time card and all associated day logs. Required: id.
- **service_trade_time_cards_generate** — Generate a time card. Generates a time card, creating it if it does not already exist or returning the existing one if a matching time card is found. Either timeCardId or type must be provided. - If timeCardId is provided, the existing time card is used as the basis. - If no status is provided, the default status is…
- **get_single_service_trade_time_card_by_id** — Retrieve a single time card. Required: id.
- **list_all_service_trade_time_cards** — List all time cards. The maximum page size for this endpoint is 200. The connector pages with page / limit (limit = page size, default 100, at most 200).
- **service_trade_time_cards_share** — Share a time card. Sends the time card via email to the specified users. A time card cannot be shared more than once within a short cooldown period (default: 5 minutes). Required: time_card_id, userIds.
- **update_a_service_trade_time_card_by_id** — Update a time card. Updates the status of an existing time card. The type, userId, startDate, and endDate fields cannot be changed after creation. On Daily Timecard accounts, startTime and endTime may also be updated to adjust the day's clock-in/clock-out boundary; timezone remains immutable. Changing status from… Required: id.
- **service_trade_user_absences_bulk_create** — Create multiple user absences. Creates multiple user absences in a single request. The request body must be a JSON array of absence objects. Each object must include userId. A maximum of 200 absences can be created at once. Send the list as items: ServiceTrade takes it as a bare JSON array. Required: items.
- **service_trade_user_absences_bulk_update** — Update multiple user absences. Updates multiple user absences in a single request. The request body must be a JSON array of absence objects. Each object must include id. A maximum of 200 absences can be updated at once. Send the list as items: ServiceTrade takes it as a bare JSON array. Required: items.
- **create_a_service_trade_user_absence** — Create a user absence. Creates a new absence. The userId must be provided in the request body. Required: userId, windowStart, windowEnd, type.
- **delete_a_service_trade_user_absence_by_id** — Delete a user absence. Required: id.
- **get_single_service_trade_user_absence_by_id** — Get a single user absence. Required: id.
- **list_all_service_trade_user_absences** — List user absences. Returns a paginated list of user absences for all users in the account. The default and maximum page size for this endpoint is 5000. The connector pages with page / limit (limit = page size, default 100, at most 5000).
- **update_a_service_trade_user_absence_by_id** — Update a user absence. Required: id.
- **create_a_service_trade_user_absences_by_user** — Create a user absence. Creates a new absence for the specified user. The userId from the URI is used as the user for this absence. Required: user_id, windowStart, windowEnd, type.
- **list_all_service_trade_user_absences_by_user** — List absences for a specific user. Returns a paginated list of absences for the specified user. The default and maximum page size for this endpoint is 5000. Required: user_id. The connector pages with page / limit (limit = page size, default 100, at most 5000).
- **list_all_service_trade_user_activities** — List user activities. Returns all activities (permissions) currently assigned to the specified user. Activities are returned as a sorted array of activity identifier strings. This endpoint does not support pagination. Requires user.view permission for the target user. Required: user_id.
- **create_a_service_trade_user_group_label** — Create a new user group label. A user can only have one pin_color group label assigned at a time. Requires admin.user permission. Required: assignedUserId, groupLabelId.
- **delete_a_service_trade_user_group_label_by_id** — Delete a user group label. Requires admin.user permission. Required: id.
- **get_single_service_trade_user_group_label_by_id** — Get a single user group label. Required: id.
- **list_all_service_trade_user_group_labels** — List all user group labels. The connector pages with page / limit (limit = page size, default 100, at most 2000).
- **update_a_service_trade_user_group_label_by_id** — Update a user group label. A user can only have one pin_color group label assigned at a time. Requires admin.user permission. Required: id.
- **create_a_service_trade_user_role** — Assign a role to a user. Assigns the specified role to the user. The user's isTech and isHelper flags are automatically updated based on whether the assigned roles include job.tech or job.helper activities. Requires admin.account or admin.user permission. Required: user_id, role_id.
- **delete_a_service_trade_user_role_by_id** — Remove a role from a user. Removes the specified role from the user. Requires admin.account or admin.user permission. The user's isTech and isHelper flags are automatically updated based on the remaining roles. Required: id, user_id.
- **list_all_service_trade_user_roles** — List roles assigned to a user. Returns the list of roles currently assigned to a specific user. This endpoint forwards to the Role list endpoint filtered by user ID. Required: user_id. The connector pages with page / limit (limit = page size, default 100, at most 2000).
- **create_a_service_trade_user_value** — Create a user value. Creates a new user value. Only settable user value names can be created. Required: userId, name, value.
- **delete_a_service_trade_user_value_by_id** — Delete a user value. Deletes a user value. Only settable user value names can be deleted. Required: id.
- **get_single_service_trade_user_value_by_id** — Get a single user value. Required: id.
- **list_all_service_trade_user_values** — List user values. Returns all user values for the specified user ID(s). The userId query parameter is required. This endpoint does not support pagination. Required: userId.
- **update_a_service_trade_user_value_by_id** — Update a user value. Updates the value of an existing user value. The name cannot be changed. Only settable user value names can be updated. Required: id, value.
- **create_a_service_trade_user** — Create a new user. Creates a new user in the account. Requires admin.account or admin.user permission. The password field is write-only — it is not included in any response or GET request. Required: username, firstName, lastName, password, email, companyId, locationId.
- **get_single_service_trade_user_by_id** — Retrieve a single user. Required: id.
- **list_all_service_trade_users** — List all users. Returns users matching the specified filters. Defaults to only active users in the logged-in user's company unless companyId and status are specified. This endpoint does not support pagination. Only one of isTech, isHelper, or isTechOrHelper may be provided per request. Combining these returns a…
- **update_a_service_trade_user_by_id** — Update a user. Updates an existing user. Requires admin.account or admin.user permission. The password field is write-only — it is not included in any response or GET request. - username and email cannot be changed in the same request - A user cannot change their own username - A user cannot deactivate themselves… Required: id.
- **create_a_service_trade_warehouse** — Create a new warehouse. Creates a new warehouse. Requires admin.account permission. Required: name.
- **get_single_service_trade_warehouse_by_id** — Retrieve a single warehouse. Returns detailed information about a specific warehouse including its associated office. Required: id.
- **list_all_service_trade_warehouses** — List all warehouses. Returns all warehouses in the account matching the specified filter criteria. The connector pages with page / limit (limit = page size, default 100, at most 2000).
- **update_a_service_trade_warehouse_by_id** — Update an existing warehouse. Updates the properties of an existing warehouse. Requires admin.account permission. Required: id.
- **create_a_service_trade_webhook** — Create a new webhook. Creates a new webhook subscription. The webhook will automatically be confirmed if the URL meets all requirements. Requires admin.account permission. Required: hookUrl.
- **delete_a_service_trade_webhook_by_id** — Delete a webhook. Permanently deletes a webhook subscription. Requires admin.account permission. Required: id.
- **get_single_service_trade_webhook_by_id** — Retrieve a single webhook. Required: id.
- **list_all_service_trade_webhooks** — List all webhooks. Returns all webhooks configured for the current account. This endpoint does not support pagination.
- **update_a_service_trade_webhook_by_id** — Update a webhook. Updates an existing webhook. Requires admin.account permission. Required: id.

## How it works

1. **Link your customer's ServiceTrade account.** Use Truto's frontend SDK; we handle every OAuth and API key flow so you don't need to create the OAuth app.
2. **Authentication is automatic.** Truto refreshes tokens, stores credentials securely, and injects them into every API request.
3. **Call Truto's API to reach ServiceTrade.** The Proxy API is a 1-to-1 mapping of the ServiceTrade API.
4. **Get a unified response format.** Every response uses a single shape, with cursor-based pagination and data in the `result` field.

## Use cases

- **Automate technician payroll from field time data** — Payroll and HR SaaS platforms can offer a native ServiceTrade integration that pulls time cards, clock events, day logs, and user absences to calculate accurate pay — eliminating manual timesheet entry for commercial contractors.
- **Sync quote-to-cash with accounting and ERP systems** — ERP and accounting products can build a bidirectional sync of invoices, payments, companies, and locations, so completed jobs flow to the back-office and payment statuses push back to dispatchers in real time.
- **Generate compliance and inspection reports automatically** — Compliance and reporting SaaS platforms for fire safety, HVAC, and life safety contractors can pull assets, deficiencies, and attachments by location to auto-populate jurisdiction forms and inspection certificates.
- **Power AI copilots for field technicians** — AI productivity tools can fetch upcoming appointments along with historical job items, comments, deficiencies, and attachments to brief technicians on site access, prior failures, and recommended parts before they arrive.
- **Trigger preventative maintenance marketing campaigns** — Marketing automation platforms can sync companies, contacts, contracts, and service recurrences to launch renewal and PM outreach campaigns tied to each customer's actual service cadence.

## What you can build

- **Bidirectional invoice and payment sync** — Pull invoices and invoice items from ServiceTrade into your accounting product and push payments back using the payments endpoints to keep AR aligned.
- **Automated weekly timesheet export** — Aggregate time cards, clock spans, job clock-ins/outs, and user absences per technician to generate payroll-ready timesheets with job-level cost allocation.
- **Quote-to-job conversion workflow** — Let your users build, submit, approve, and convert ServiceTrade quotes into live jobs — including change orders and budget revisions — without leaving your product.
- **Asset and deficiency compliance dashboard** — Surface asset definitions, deficiency reports, and inspection attachments by location to power compliance scorecards and auto-filled regulatory forms.
- **Appointment and dispatch intelligence layer** — Read and write appointments, service requests, and job contexts to offer smart scheduling, route optimization, or AI pre-visit briefings on top of ServiceTrade.
- **External sync state tracking** — Use ServiceTrade's external systems, external IDs, and external syncs endpoints to persist your own record mappings inside ServiceTrade and monitor sync health.
- **Webhook-driven event pipelines** — Register and manage ServiceTrade webhooks through Truto to react in real time to job, invoice, quote, and appointment changes.

## FAQs

### How does authentication work for ServiceTrade through Truto?

Truto handles the ServiceTrade authentication flow for your end users, including session creation and OAuth 2.0 credential/token management. Your app never has to store or rotate ServiceTrade credentials directly — Truto manages token lifecycle and injects auth on every API call.

### Is this a unified API or a native ServiceTrade integration?

This is a native ServiceTrade integration exposing ServiceTrade's own resources (jobs, quotes, invoices, assets, deficiencies, time cards, etc.) one-to-one. There is no CRM or FSM unified API layered on top yet, so you work with ServiceTrade's full native data model.

### Can we track our own record IDs inside ServiceTrade?

Yes. ServiceTrade has first-class support for integration state via its external systems, external IDs, and external syncs endpoints. You can register your product as an external system, store your mapping IDs on ServiceTrade entities, and monitor sync queues programmatically.

### What write operations are supported?

Truto exposes full CRUD across the major ServiceTrade entities including jobs, appointments, quotes, quote items, invoices, invoice items, payments, companies, locations, contacts, assets, deficiencies, comments, attachments, time cards, clock spans, budgets, change orders, and webhooks — plus action endpoints like quote approve/submit/reject, create job from quote, and budget revise.

### How do we receive real-time updates from ServiceTrade?

You can create and manage ServiceTrade webhooks through Truto using the webhook endpoints, allowing you to subscribe to entity changes and react to events like new appointments, completed jobs, or updated invoices without polling.

### Can we handle custom fields and tags?

Yes. ServiceTrade exposes tags, group labels, user values, job contexts, and configurable account settings through the API, so you can read and write custom categorization and metadata your users rely on.

### How granular is the labor and time data?

Very granular. The API provides clock events, clock spans, job clock-ins and clock-outs, time cards, time card day logs, time card comments, and user absences — all mappable to specific jobs, appointments, and users, which is ideal for payroll and job-costing use cases.
