ServiceTitan MCP Server

campaigns_get_list

Retrieve a filtered list of campaigns from ServiceTitan using parameters like active status, phone number, creation/modification dates, or ID lookup. Supports pagination and sorting for efficient data access.

Input Schema

NameRequiredDescriptionDefault
activeNoWhat kind of items should be returned (only active items will be returned by default) Values: [True, Any, False]
campaignPhoneNumberNoFilters campaigns by phone number (as string).
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)
idsNoPerform lookup by multiple IDs (maximum 50)
includeTotalNoWhether total count should be returned
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 records by name (case-insensitive 'contains' operation)
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, Name, CreatedOn, ModifiedOn
tenantYesFormat - int64. Tenant ID

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "active": { "description": "What kind of items should be returned (only active items will be returned by default)\nValues: [True, Any, False]", "type": "string" }, "campaignPhoneNumber": { "description": "Filters campaigns by phone number (as string).", "type": "string" }, "createdBefore": { "description": "Format - date-time (as date-time in RFC3339). Return items created before certain date/time (in UTC)", "format": "date-time", "type": "string" }, "createdOnOrAfter": { "description": "Format - date-time (as date-time in RFC3339). Return items created on or after certain date/time (in UTC)", "format": "date-time", "type": "string" }, "ids": { "description": "Perform lookup by multiple IDs (maximum 50)", "type": "string" }, "includeTotal": { "description": "Whether total count should be returned", "type": "boolean" }, "modifiedBefore": { "description": "Format - date-time (as date-time in RFC3339). Return items modified before certain date/time (in UTC)", "format": "date-time", "type": "string" }, "modifiedOnOrAfter": { "description": "Format - date-time (as date-time in RFC3339). Return items modified on or after certain date/time (in UTC)", "format": "date-time", "type": "string" }, "name": { "description": "Filters records by name (case-insensitive 'contains' operation)", "type": "string" }, "page": { "description": "Format - int32. The logical number of page to return, starting from 1", "type": "integer" }, "pageSize": { "description": "Format - int32. How many records to return (50 by default)", "type": "integer" }, "sort": { "description": "Applies sorting by the specified field:\n'?sort=+FieldName' for ascending order,\n'?sort=-FieldName' for descending order.\n\nAvailable fields are: Id, Name, CreatedOn, ModifiedOn", "type": "string" }, "tenant": { "description": "Format - int64. Tenant ID", "type": "integer" } }, "required": [ "tenant" ], "type": "object" }

You must be authenticated.

Other Tools from ServiceTitan MCP Server

Related Tools

ID: mrnu4dtu2r