ServiceTitan MCP Server

contacts_getcontactrelationship_list

Retrieve a list of contact relationships by specifying filters like contact ID, date range, relationship type, and sorting options using the ServiceTitan MCP Server API.

Input Schema

NameRequiredDescriptionDefault
contactIdYesFormat - guid.
createdBeforeNoFormat - date-time (as date-time in RFC3339). Return items created before certain date/time (in UTC)
createdOnOrAfterNoFormat - date-time (as date-time in RFC3339). Return items created on or after certain date/time (in UTC)
includeTotalNoWhether total count should be returned
pageNoFormat - int32. The logical number of page to return, starting from 1
pageSizeNoFormat - int32. How many records to return (50 by default)
relatedEntityIdNoFormat - int64. Filters by related entity id
sortNoApplies sorting by the specified field: "?sort=+FieldName" for ascending order, "?sort=-FieldName" for descending order. Available fields are: ID, ModifiedOn, CreatedOn.
tenantYesFormat - int64. Tenant ID
typeNameNoRelationship type name: Customer, Location, Booking
typeSlugNoRelationship type slug: customer, location, booking

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "contactId": { "description": "Format - guid.", "format": "uuid", "type": "string" }, "createdBefore": { "anyOf": [ { "anyOf": [ { "not": {} }, { "format": "date-time", "type": "string" } ] }, { "type": "null" } ], "description": "Format - date-time (as date-time in RFC3339). Return items created before certain date/time (in UTC)" }, "createdOnOrAfter": { "anyOf": [ { "anyOf": [ { "not": {} }, { "format": "date-time", "type": "string" } ] }, { "type": "null" } ], "description": "Format - date-time (as date-time in RFC3339). Return items created on or after certain date/time (in UTC)" }, "includeTotal": { "anyOf": [ { "anyOf": [ { "not": {} }, { "type": "boolean" } ] }, { "type": "null" } ], "description": "Whether total count should be returned" }, "page": { "anyOf": [ { "anyOf": [ { "not": {} }, { "type": "integer" } ] }, { "type": "null" } ], "description": "Format - int32. The logical number of page to return, starting from 1" }, "pageSize": { "anyOf": [ { "anyOf": [ { "not": {} }, { "type": "integer" } ] }, { "type": "null" } ], "description": "Format - int32. How many records to return (50 by default)" }, "relatedEntityId": { "anyOf": [ { "anyOf": [ { "not": {} }, { "type": "integer" } ] }, { "type": "null" } ], "description": "Format - int64. Filters by related entity id" }, "sort": { "anyOf": [ { "anyOf": [ { "not": {} }, { "type": "string" } ] }, { "type": "null" } ], "description": "Applies sorting by the specified field:\n\"?sort=+FieldName\" for ascending order,\n\"?sort=-FieldName\" for descending order.\n\nAvailable fields are: ID, ModifiedOn, CreatedOn." }, "tenant": { "description": "Format - int64. Tenant ID", "type": "integer" }, "typeName": { "anyOf": [ { "anyOf": [ { "not": {} }, { "type": "string" } ] }, { "type": "null" } ], "description": "Relationship type name: Customer, Location, Booking" }, "typeSlug": { "anyOf": [ { "anyOf": [ { "not": {} }, { "type": "string" } ] }, { "type": "null" } ], "description": "Relationship type slug: customer, location, booking" } }, "required": [ "contactId", "tenant" ], "type": "object" }

You must be authenticated.

Other Tools from ServiceTitan MCP Server

Related Tools

ID: mrnu4dtu2r