locations_get_all_or_email_sms_templates
Fetch all email, SMS, or WhatsApp templates for a location. Filter by type, pagination, or deleted status to retrieve specific templates.
Instructions
GET all or email/sms templates
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"originId": "<originId>"
},
"name": "locations_get_all_or_email_sms_templates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skip | No | ||
| type | No | ||
| limit | No | ||
| deleted | No | ||
| originId | Yes | Origin Id | |
| locationId | No | Location Id Defaults to GHL_LOCATION_ID when omitted. |