campaigns_create
Create targeted marketing campaigns within ServiceTitan by defining tenant, name, source, medium, business unit, and phone numbers to streamline campaign management.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| businessUnit | No | Business unit | |
| campaignPhoneNumbers | No | List of campaign phone numbers | |
| medium | No | Campaign medium | |
| name | Yes | Campaign name | |
| otherMedium | No | Other campaign medium | |
| otherSource | No | Other campaign source | |
| source | No | Campaign source | |
| tenant | Yes | Format - int64. Tenant ID |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"businessUnit": {
"description": "Business unit",
"type": "string"
},
"campaignPhoneNumbers": {
"description": "List of campaign phone numbers",
"items": {
"type": "string"
},
"type": "array"
},
"medium": {
"description": "Campaign medium",
"type": "string"
},
"name": {
"description": "Campaign name",
"type": "string"
},
"otherMedium": {
"description": "Other campaign medium",
"type": "string"
},
"otherSource": {
"description": "Other campaign source",
"type": "string"
},
"source": {
"description": "Campaign source",
"type": "string"
},
"tenant": {
"description": "Format - int64. Tenant ID",
"type": "integer"
}
},
"required": [
"tenant",
"name"
],
"type": "object"
}