> ## 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: User Groups Get Sources

> List the members of a Zoho CRM user group, such as users, roles and territories. Includes inputs, outputs, SDK V2 examples, and Deepline cost.

List the members of a Zoho CRM user group, such as users, roles and territories.

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

## 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_user_groups_get_sources',
  {
    "group": "1234567890"
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute zoho_crm_user_groups_get_sources --input '{
  "group": "1234567890"
}' --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": {
    "sources": [
      {
        "source": {
          "name": "Example",
          "id": "id_123"
        },
        "type": "users"
      }
    ],
    "info": {
      "per_page": 123,
      "count": 123,
      "page": 123,
      "more_records": true
    }
  }
}
```

Use `deepline describe zoho_crm_user_groups_get_sources --json` for the latest machine-readable contract.

## Input reference

Get the list of members for the specified user group.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.group` | `"1234567890"` | Yes | — | The unique identifier of the user group Allowed: `1234567890`. |
| `payload.page` | `integer` | No | — | Page number to retrieve Format: `int32`. Minimum: 1. |
| `payload.per_page` | `integer` | No | — | Number of items to return per page Format: `int32`. Minimum: 1. Maximum: 200. |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Get the list of members for the specified user group.",
    "properties": {
      "group": {
        "type": "string",
        "description": "The unique identifier of the user group",
        "enum": [
          "1234567890"
        ]
      },
      "page": {
        "type": "integer",
        "description": "Page number to retrieve",
        "minimum": 1,
        "format": "int32"
      },
      "per_page": {
        "type": "integer",
        "description": "Number of items to return per page",
        "minimum": 1,
        "maximum": 200,
        "format": "int32"
      }
    },
    "required": [
      "group"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Response containing list of sources for the user group |
| `result.data.sources` | `array` | Yes | — | Array of sources for the user group Maximum items: 200. |
| `result.data.sources[].source` | `object` | Yes | — | Source information |
| `result.data.sources[].source.name` | `string` | Yes | — | Name of the source Maximum length: 250. |
| `result.data.sources[].source.id` | `string` | Yes | — | ID of the source Maximum length: 19. |
| `result.data.sources[].type` | `"users" \| "roles" \| "territories" \| "groups"` | Yes | — | Type of the source Allowed: `users`, `roles`, `territories`, `groups`. |
| `result.data.sources[].subordinates` | `boolean` | No | — | Include subordinates flag |
| `result.data.sources[].sub_territories` | `boolean` | No | — | Include sub-territories flag |
| `result.data.info` | `object` | Yes | — | Information about pagination |
| `result.data.info.per_page` | `integer` | Yes | — | Number of records per page Format: `int32`. |
| `result.data.info.count` | `integer` | Yes | — | Number of records Format: `int32`. |
| `result.data.info.page` | `integer` | Yes | — | Current page number Format: `int32`. |
| `result.data.info.more_records` | `boolean` | Yes | — | Indicates if there are more records available |
| `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 containing list of sources for the user group",
        "properties": {
          "sources": {
            "type": "array",
            "description": "Array of sources for the user group",
            "maxItems": 200,
            "items": {
              "type": "object",
              "description": "Source details",
              "properties": {
                "source": {
                  "type": "object",
                  "description": "Source information",
                  "properties": {
                    "name": {
                      "type": "string",
                      "description": "Name of the source",
                      "maxLength": 250
                    },
                    "id": {
                      "type": "string",
                      "description": "ID of the source",
                      "maxLength": 19
                    }
                  },
                  "required": [
                    "name",
                    "id"
                  ],
                  "additionalProperties": false
                },
                "type": {
                  "type": "string",
                  "description": "Type of the source",
                  "enum": [
                    "users",
                    "roles",
                    "territories",
                    "groups"
                  ]
                },
                "subordinates": {
                  "type": "boolean",
                  "description": "Include subordinates flag"
                },
                "sub_territories": {
                  "type": "boolean",
                  "description": "Include sub-territories flag"
                }
              },
              "required": [
                "source",
                "type"
              ],
              "additionalProperties": false
            }
          },
          "info": {
            "type": "object",
            "description": "Information about pagination",
            "properties": {
              "per_page": {
                "type": "integer",
                "description": "Number of records per page",
                "format": "int32"
              },
              "count": {
                "type": "integer",
                "description": "Number of records",
                "format": "int32"
              },
              "page": {
                "type": "integer",
                "description": "Current page number",
                "format": "int32"
              },
              "more_records": {
                "type": "boolean",
                "description": "Indicates if there are more records available"
              }
            },
            "required": [
              "per_page",
              "count",
              "page",
              "more_records"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "sources",
          "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.