> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Zoho CRM: README

> Get Child Territories By Id. Includes SDK V2 and CLI requests, input constraints, response fields, and Deepline credit cost.

Get Child Territories By Id.

<Info>
  Tool ID: `zoho_crm_territories_get_child_territories_by_id`
</Info>

## Run this action

Use the TypeScript SDK for a single call. Put `ctx.tools.execute(...)` inside a Play when the call should be durable, scheduled, or run across a CSV.

```ts theme={null}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'zoho_crm_territories_get_child_territories_by_id',
  {
    "id": "id_123"
  },
);

console.log(result.toolResponse.raw);
```

### CLI

```bash theme={null}
deepline tools execute zoho_crm_territories_get_child_territories_by_id --input '{
  "id": "id_123"
}' --json
```

## Example response

The SDK exposes this shape at `result.toolResponse.raw`. Values below are representative.

```json theme={null}
{
  "data": {
    "territories": [
      {
        "created_time": "2026-01-15T12:00:00Z",
        "modified_time": "2026-01-15T12:00:00Z",
        "manager": {},
        "reporting_to": "null",
        "permission_type": "read_write_delete",
        "modified_by": {
          "name": "Example",
          "id": "id_123"
        },
        "description": {},
        "id": "id_123",
        "created_by": {
          "name": "Example",
          "id": "id_123"
        },
        "name": "Example",
        "api_name": "Example"
      }
    ],
    "info": {
      "per_page": 123,
      "count": 123,
      "page": 123,
      "more_records": true
    }
  }
}
```

Use `deepline tools get zoho_crm_territories_get_child_territories_by_id --json` for the latest machine-readable contract.

## Input reference

Auto-generated description for operation `Get Child Territories By Id`.

| Name                            | Type                                                                      | Required | Default | Details                                                                                                                 |
| ------------------------------- | ------------------------------------------------------------------------- | -------- | ------- | ----------------------------------------------------------------------------------------------------------------------- |
| `payload.include`               | `"account_rule_criteria" \| "lead_rule_criteria" \| "deal_rule_criteria"` | No       | —       | Parameter `include` in `query`. Allowed: `account_rule_criteria`, `lead_rule_criteria`, `deal_rule_criteria`.           |
| `payload.id`                    | `string`                                                                  | Yes      | —       | Parameter `id` in `path`. Maximum length: 100.                                                                          |
| `payload.page`                  | `integer`                                                                 | No       | —       | Parameter `page` in `query`. Format: `int32`.                                                                           |
| `payload.per_page`              | `integer`                                                                 | No       | —       | Parameter `per_page` in `query`. Format: `int32`.                                                                       |
| `payload.filters`               | `string`                                                                  | No       | —       | Parameter `filters` in `query`. Maximum length: 100.                                                                    |
| `payload.include_inner_details` | `"manager.zuid,manager.status" \| "manager.zuid" \| "manager.status"`     | No       | —       | Parameter `include_inner_details` in `query`. Allowed: `manager.zuid,manager.status`, `manager.zuid`, `manager.status`. |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Auto-generated description for operation `Get Child Territories By Id`.",
    "properties": {
      "include": {
        "type": "string",
        "description": "Parameter `include` in `query`.",
        "enum": [
          "account_rule_criteria",
          "lead_rule_criteria",
          "deal_rule_criteria"
        ]
      },
      "id": {
        "type": "string",
        "description": "Parameter `id` in `path`.",
        "maxLength": 100
      },
      "page": {
        "type": "integer",
        "description": "Parameter `page` in `query`.",
        "format": "int32"
      },
      "per_page": {
        "type": "integer",
        "description": "Parameter `per_page` in `query`.",
        "format": "int32"
      },
      "filters": {
        "type": "string",
        "description": "Parameter `filters` in `query`.",
        "maxLength": 100
      },
      "include_inner_details": {
        "type": "string",
        "description": "Parameter `include_inner_details` in `query`.",
        "enum": [
          "manager.zuid,manager.status",
          "manager.zuid",
          "manager.status"
        ]
      }
    },
    "required": [
      "id"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name                                                          | Type                                 | Required | Default | Details                                                                     |
| ------------------------------------------------------------- | ------------------------------------ | -------- | ------- | --------------------------------------------------------------------------- |
| `result.data`                                                 | `object`                             | Yes      | —       | A `object` value.                                                           |
| `result.data.territories`                                     | `array`                              | Yes      | —       | The `territories` property. Maximum items: 200.                             |
| `result.data.territories[].created_time`                      | `string`                             | Yes      | —       | The `created_time` property. Format: `date-time`.                           |
| `result.data.territories[].modified_time`                     | `string`                             | Yes      | —       | The `modified_time` property. Format: `date-time`.                          |
| `result.data.territories[].manager`                           | `record`                             | Yes      | —       | —                                                                           |
| `result.data.territories[].reporting_to`                      | `object \| "null"`                   | Yes      | —       | —                                                                           |
| `result.data.territories[].reporting_to.name`                 | `string`                             | Yes      | —       | The `name` property.                                                        |
| `result.data.territories[].reporting_to.id`                   | `string`                             | Yes      | —       | The `id` property.                                                          |
| `result.data.territories[].permission_type`                   | `"read_write_delete" \| "read_only"` | Yes      | —       | The `permission_type` property. Allowed: `read_write_delete`, `read_only`.  |
| `result.data.territories[].modified_by`                       | `object`                             | Yes      | —       | The `modified_by` property.                                                 |
| `result.data.territories[].modified_by.name`                  | `string`                             | Yes      | —       | The `name` property. Maximum length: 100.                                   |
| `result.data.territories[].modified_by.id`                    | `string`                             | Yes      | —       | The `id` property. Maximum length: 100.                                     |
| `result.data.territories[].description`                       | `record`                             | Yes      | —       | —                                                                           |
| `result.data.territories[].id`                                | `string`                             | Yes      | —       | The `id` property. Maximum length: 100.                                     |
| `result.data.territories[].created_by`                        | `object`                             | Yes      | —       | The `created_by` property.                                                  |
| `result.data.territories[].created_by.name`                   | `string`                             | Yes      | —       | The `name` property. Maximum length: 100.                                   |
| `result.data.territories[].created_by.id`                     | `string`                             | Yes      | —       | The `id` property. Maximum length: 100.                                     |
| `result.data.territories[].account_rule_criteria`             | `record`                             | No       | —       | The `account_rule_criteria` property.                                       |
| `result.data.territories[].deal_rule_criteria`                | `object \| null`                     | No       | —       | The `deal_rule_criteria` property.                                          |
| `result.data.territories[].deal_rule_criteria.comparator`     | `string \| null`                     | No       | —       | comparator value                                                            |
| `result.data.territories[].deal_rule_criteria.field`          | `object`                             | No       | —       | field to compare the value with                                             |
| `result.data.territories[].deal_rule_criteria.field.api_name` | `string \| null`                     | No       | —       | API name of the field                                                       |
| `result.data.territories[].deal_rule_criteria.field.id`       | `string \| null`                     | No       | —       | field id                                                                    |
| `result.data.territories[].deal_rule_criteria.value`          | `record`                             | No       | —       | —                                                                           |
| `result.data.territories[].deal_rule_criteria.group_operator` | `string`                             | Yes      | —       | The `group_operator` property of the `Group_Criteria_GET` schema.           |
| `result.data.territories[].deal_rule_criteria.group`          | `array`                              | Yes      | —       | The `group` property of the `Group_Criteria_GET` schema.                    |
| `result.data.territories[].lead_rule_criteria`                | `object \| null`                     | No       | —       | The `lead_rule_criteria` property.                                          |
| `result.data.territories[].lead_rule_criteria.comparator`     | `string \| null`                     | No       | —       | comparator value                                                            |
| `result.data.territories[].lead_rule_criteria.field`          | `object`                             | No       | —       | field to compare the value with                                             |
| `result.data.territories[].lead_rule_criteria.field.api_name` | `string \| null`                     | No       | —       | API name of the field                                                       |
| `result.data.territories[].lead_rule_criteria.field.id`       | `string \| null`                     | No       | —       | field id                                                                    |
| `result.data.territories[].lead_rule_criteria.value`          | `record`                             | No       | —       | —                                                                           |
| `result.data.territories[].lead_rule_criteria.group_operator` | `string`                             | Yes      | —       | The `group_operator` property of the `Group_Criteria_GET` schema.           |
| `result.data.territories[].lead_rule_criteria.group`          | `array`                              | Yes      | —       | The `group` property of the `Group_Criteria_GET` schema.                    |
| `result.data.territories[].name`                              | `string`                             | Yes      | —       | The `name` property. Maximum length: 50.                                    |
| `result.data.territories[].api_name`                          | `string`                             | Yes      | —       | The `api_name` property. Maximum length: 100. Pattern: `(.?)([A-Za-z])(.)`. |
| `result.data.info`                                            | `object`                             | Yes      | —       | The `info` property.                                                        |
| `result.data.info.per_page`                                   | `integer`                            | Yes      | —       | The `per_page` property. Format: `int32`.                                   |
| `result.data.info.count`                                      | `integer`                            | Yes      | —       | The `count` property. Format: `int32`.                                      |
| `result.data.info.page`                                       | `integer`                            | Yes      | —       | The `page` property. Format: `int32`.                                       |
| `result.data.info.more_records`                               | `boolean`                            | Yes      | —       | The `more_records` property.                                                |
| `result.meta`                                                 | `object`                             | No       | —       | Additional response metadata (status, paging).                              |

<Info>
  This output schema is too large to embed without slowing the page. Get the complete live contract with `deepline tools get zoho_crm_territories_get_child_territories_by_id --json`.
</Info>

## Deepline cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.

## Related documentation

* [SDK V2 quickstart](/docs/sdk-v2/quickstart)
* [SDK reference](/docs/sdk-v2/sdk-reference)
* [Run tools across a CSV](/docs/sdk-v2/batch-csv)
