> ## 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: Users Territories Get Specific Territory Of User

> Get one territory assigned to a Zoho CRM user. Includes SDK V2 guidance, input constraints, response fields, and Deepline credit cost.

Get one territory assigned to a Zoho CRM user.

> [!NOTE]
>
> Tool ID: `zoho_crm_users_territories_get_specific_territory_of_user`

## Run this action

Use the TypeScript SDK for one call. Use `ctx.tools.execute(...)` inside a Play for durable calls, scheduled calls, or CSV processing.

```ts theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
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={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute zoho_crm_users_territories_get_specific_territory_of_user --input '{
  "user": "example",
  "territory": "example"
}' --json
```

## Example response

The SDK returns this shape at `result.toolResponse.raw`. The example values illustrate the response.

```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
{
  "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 describe 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={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "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={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "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](https://deepline.com/docs/sdk-v2/quickstart.md)
* [SDK reference](https://deepline.com/docs/sdk-v2/sdk-reference.md)
* [Run tools across a CSV](https://deepline.com/docs/sdk-v2/batch-csv.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.