attributed_leads_get
Retrieve filtered lead data from ServiceTitan API by specifying criteria such as lead type, date range, tenant ID, and pagination for efficient data analysis.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
fromUtc | Yes | Format - date-time (as date-time in RFC3339). Gets or sets the start date and time in UTC for the filtering period. | |
includeTotal | No | Whether total count should be returned | |
leadType | No | Gets or sets the type of lead for filtering purposes. Possible values are: LeadType.Call, LeadType.WebBooking, LeadType.WebLeadForm, LeadType.ManualJob. If null, data for all lead types is 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) | |
tenant | Yes | Format - int64. Tenant ID | |
toUtc | Yes | Format - date-time (as date-time in RFC3339). Gets or sets the end date and time in UTC for the filtering period. |