> ## 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 specific Territory of User. Includes SDK V2 and CLI requests, input constraints, response fields, and Deepline credit cost.

Get specific Territory of User.

<Info>
  Tool ID: `zoho_crm_users_territories_get_specific_territory_of_user`
</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_users_territories_get_specific_territory_of_user',
  {
    "user": "example",
    "territory": "example"
  },
);

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

### CLI

```bash theme={null}
deepline tools execute zoho_crm_users_territories_get_specific_territory_of_user --input '{
  "user": "example",
  "territory": "example"
}' --json
```

## Example response

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

```json theme={null}
{
  "data": {
    "territories": [
      {
        "id": "id_123",
        "Manager": {
          "Name": "Example",
          "id": "id_123"
        },
        "Reporting_To": {
          "Name": "Example",
          "id": "id_123"
        },
        "Name": "Example"
      }
    ],
    "info": {
      "count": 123,
      "page": 123,
      "per_page": 123,
      "more_records": true
    }
  }
}
```

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

## Input reference

Get specific territory of a user

| Name                | Type     | Required | Default | Details                                  |
| ------------------- | -------- | -------- | ------- | ---------------------------------------- |
| `payload.user`      | `string` | Yes      | —       | The ID of the user Format: `int64`.      |
| `payload.territory` | `string` | Yes      | —       | The ID of the territory Format: `int64`. |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Get specific territory of a user",
    "properties": {
      "user": {
        "type": "string",
        "description": "The ID of the user",
        "format": "int64"
      },
      "territory": {
        "type": "string",
        "description": "The ID of the territory",
        "format": "int64"
      }
    },
    "required": [
      "user",
      "territory"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name                                          | Type      | Required | Default | Details                                                                                              |
| --------------------------------------------- | --------- | -------- | ------- | ---------------------------------------------------------------------------------------------------- |
| `result.data`                                 | `object`  | Yes      | —       | Response schema for getting territories of a user                                                    |
| `result.data.territories`                     | `array`   | Yes      | —       | List of territories assigned to the user Minimum items: 0. Maximum items: 200. Items must be unique. |
| `result.data.territories[].id`                | `string`  | Yes      | —       | Territory ID Format: `int64`.                                                                        |
| `result.data.territories[].Manager`           | `object`  | Yes      | —       | Territory manager details                                                                            |
| `result.data.territories[].Manager.Name`      | `string`  | No       | —       | Manager name Maximum length: 255.                                                                    |
| `result.data.territories[].Manager.id`        | `string`  | No       | —       | Manager ID Format: `int64`.                                                                          |
| `result.data.territories[].Reporting_To`      | `object`  | Yes      | —       | Reporting manager details                                                                            |
| `result.data.territories[].Reporting_To.Name` | `string`  | Yes      | —       | Reporting manager name Maximum length: 255.                                                          |
| `result.data.territories[].Reporting_To.id`   | `string`  | Yes      | —       | Reporting manager ID Format: `int64`.                                                                |
| `result.data.territories[].Name`              | `string`  | Yes      | —       | Territory name Maximum length: 255.                                                                  |
| `result.data.info`                            | `object`  | Yes      | —       | Pagination information                                                                               |
| `result.data.info.count`                      | `integer` | Yes      | —       | Number of records returned Format: `int32`.                                                          |
| `result.data.info.page`                       | `integer` | Yes      | —       | Current page number Format: `int32`.                                                                 |
| `result.data.info.per_page`                   | `integer` | Yes      | —       | Records per page Format: `int32`.                                                                    |
| `result.data.info.more_records`               | `boolean` | Yes      | —       | Whether more records exist                                                                           |
| `result.meta`                                 | `object`  | No       | —       | Additional response metadata (status, paging).                                                       |

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

  ### Output JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Response schema for getting territories of a user",
        "properties": {
          "territories": {
            "type": "array",
            "description": "List of territories assigned to the user",
            "minItems": 0,
            "maxItems": 200,
            "uniqueItems": true,
            "items": {
              "type": "object",
              "description": "Territory details",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "Territory ID",
                  "format": "int64"
                },
                "Manager": {
                  "type": "object",
                  "description": "Territory manager details",
                  "properties": {
                    "Name": {
                      "type": "string",
                      "description": "Manager name",
                      "maxLength": 255
                    },
                    "id": {
                      "type": "string",
                      "description": "Manager ID",
                      "format": "int64"
                    }
                  },
                  "additionalProperties": false
                },
                "Reporting_To": {
                  "type": "object",
                  "description": "Reporting manager details",
                  "properties": {
                    "Name": {
                      "type": "string",
                      "description": "Reporting manager name",
                      "maxLength": 255
                    },
                    "id": {
                      "type": "string",
                      "description": "Reporting manager ID",
                      "format": "int64"
                    }
                  },
                  "required": [
                    "Name",
                    "id"
                  ],
                  "additionalProperties": false
                },
                "Name": {
                  "type": "string",
                  "description": "Territory name",
                  "maxLength": 255
                }
              },
              "required": [
                "id",
                "Manager",
                "Reporting_To",
                "Name"
              ],
              "additionalProperties": false
            }
          },
          "info": {
            "type": "object",
            "description": "Pagination information",
            "properties": {
              "count": {
                "type": "integer",
                "description": "Number of records returned",
                "format": "int32"
              },
              "page": {
                "type": "integer",
                "description": "Current page number",
                "format": "int32"
              },
              "per_page": {
                "type": "integer",
                "description": "Records per page",
                "format": "int32"
              },
              "more_records": {
                "type": "boolean",
                "description": "Whether more records exist"
              }
            },
            "required": [
              "count",
              "page",
              "per_page",
              "more_records"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "territories",
          "info"
        ],
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## 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)
