Skip to main content
Glama

Leads_GetList

Retrieve and filter leads in ServiceTitan by tenant ID, creation/modification dates, status, customer details, and more, with options for sorting and pagination.

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)
customerCityNoFilters by customer city
customerCreatedBeforeNoFormat - date-time (as date-time in RFC3339). Returns customers who were created after a certain date/time (in UTC)
customerCreatedOnOrAfterNoFormat - date-time (as date-time in RFC3339). Returns customers who were created on or before a certain date/time (in UTC)
customerIdNoFormat - int64. Filters by associated customer
customerModifiedOnOrAfterNoFormat - date-time (as date-time in RFC3339). Returns customers who were modified on or before a certain date/time (in UTC)
customerStateNoFilters by customer state
customerZipNoFilters by customer zip
genPermUrlNoIf true, generates a permanent URL for the lead
idsNoPerform lookup by multiple IDs (maximum 50)
includeTotalNoWhether total count should be returned
isProspectNoAllows to filter leads where the customer doesn't have a job, or there is no customer. Possible values are: null (return all leads); true (return leads without customer/jobs); false (return leads with customer and job)
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)
pageNoFormat - int32. The logical number of page to return, starting from 1
pageSizeNoFormat - int32. How many records to return (50 by default)
sortNoApplies sorting by the specified field: "?sort=+FieldName" for ascending order, "?sort=-FieldName" for descending order. Available fields are: Id, ModifiedOn, CreatedOn.
statusNoFilters by status Values: [Open, Dismissed, Converted]
tenantYesFormat - int64. Tenant ID
withoutCustomerNoAllows to filter leads that don't have a customer or location record associated to it. Possible values are: null (return all leads); true (return leads without customers or locations only); false (return leads with customers and locations only)

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