> ## 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: Record Share Email Share Bulk Emails

> Share the emails of several Zoho CRM records with other users in your organization. Includes inputs, outputs, SDK V2 examples, and Deepline cost.

Share the emails of several Zoho CRM records with other users in your organization.

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

## 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_record_share_email_share_bulk_emails',
  {
    "moduleApiName": "Leads",
    "ids": [
      "id_123"
    ]
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute zoho_crm_record_share_email_share_bulk_emails --input '{
  "moduleApiName": "Leads",
  "ids": [
    "id_123"
  ]
}' --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": {
    "data": [
      {
        "code": "SUCCESS",
        "details": {
          "id": "id_123"
        },
        "message": "Successfully shared",
        "status": "success"
      }
    ]
  }
}
```

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

## Input reference

Request body for sharing emails in bulk.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.moduleApiName` | `"Leads" \| "Contacts" \| "Accounts" \| "Deals" \| "CustomModule1"` | Yes | — | Module Api Name of the record Allowed: `Leads`, `Contacts`, `Accounts`, `Deals`, `CustomModule1`. |
| `payload.ids` | `array` | Yes | — | A list of record IDs to share emails for. Maximum items: 100. |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Request body for sharing emails in bulk.",
    "properties": {
      "moduleApiName": {
        "type": "string",
        "description": "Module Api Name of the record",
        "enum": [
          "Leads",
          "Contacts",
          "Accounts",
          "Deals",
          "CustomModule1"
        ]
      },
      "ids": {
        "type": "array",
        "description": "A list of record IDs to share emails for.",
        "maxItems": 100,
        "items": {
          "type": "string",
          "description": "The ID of a record.",
          "format": "string"
        }
      }
    },
    "required": [
      "moduleApiName",
      "ids"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Response schema for successful bulk email sharing. |
| `result.data.data` | `array` | No | — | List of results for the bulk sharing operation. Maximum items: 100. |
| `result.data.data[].code` | `"SUCCESS"` | Yes | — | Status code of the operation. Allowed: `SUCCESS`. |
| `result.data.data[].details` | `object` | Yes | — | Details of the shared record. |
| `result.data.data[].details.id` | `string` | Yes | — | The ID of the record. Format: `string`. |
| `result.data.data[].message` | `"Successfully shared"` | Yes | — | A message indicating the result. Allowed: `Successfully shared`. |
| `result.data.data[].status` | `"success"` | Yes | — | The status of the operation. Allowed: `success`. |
| `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 successful bulk email sharing.",
        "properties": {
          "data": {
            "type": "array",
            "description": "List of results for the bulk sharing operation.",
            "maxItems": 100,
            "items": {
              "type": "object",
              "description": "Result for a single record.",
              "properties": {
                "code": {
                  "type": "string",
                  "description": "Status code of the operation.",
                  "enum": [
                    "SUCCESS"
                  ]
                },
                "details": {
                  "type": "object",
                  "description": "Details of the shared record.",
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "The ID of the record.",
                      "format": "string"
                    }
                  },
                  "required": [
                    "id"
                  ],
                  "additionalProperties": false
                },
                "message": {
                  "type": "string",
                  "description": "A message indicating the result.",
                  "enum": [
                    "Successfully shared"
                  ]
                },
                "status": {
                  "type": "string",
                  "description": "The status of the operation.",
                  "enum": [
                    "success"
                  ]
                }
              },
              "required": [
                "code",
                "details",
                "message",
                "status"
              ],
              "additionalProperties": false
            }
          }
        },
        "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.