Skip to main content
Glama

contacts_get_by_relationship_id

Retrieve filtered contact details by specifying a relationship ID and optional parameters like name, title, or date ranges in the ServiceTitan API.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
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
isArchivedNoFilters by contact archive status
modifiedBeforeNoFormat - date-time (as date-time in RFC3339). Return items modified before certain date/time (in UTC)
modifiedOnOrAfterNoFormat - date-time (as date-time in RFC3339). Return items modified on or after certain date/time (in UTC)
nameNoFilters by contact name
pageNoFormat - int32. The logical number of page to return, starting from 1
pageSizeNoFormat - int32. How many records to return (50 by default)
referenceIdNoFilters by external reference ID
relationshipIdYesFormat - int64.
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
titleNoFilters by contact title

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/JordanDalton/ServiceTitanMcpServer'

If you have feedback or need assistance with the MCP directory API, please join our Discord server