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
Name | Required | Description | Default |
---|---|---|---|
contactId | Yes | Format - guid. | |
createdBefore | No | Format - date-time (as date-time in RFC3339). Return items created before certain date/time (in UTC) | |
createdOnOrAfter | No | Format - date-time (as date-time in RFC3339). Return items created on or after certain date/time (in UTC) | |
includeTotal | No | Whether total count should be returned | |
page | No | Format - int32. The logical number of page to return, starting from 1 | |
pageSize | No | Format - int32. How many records to return (50 by default) | |
relatedEntityId | No | Format - int64. Filters by related entity id | |
sort | No | Applies sorting by the specified field: "?sort=+FieldName" for ascending order, "?sort=-FieldName" for descending order. Available fields are: ID, ModifiedOn, CreatedOn. | |
tenant | Yes | Format - int64. Tenant ID | |
typeName | No | Relationship type name: Customer, Location, Booking | |
typeSlug | No | Relationship type slug: customer, location, booking |