> ## 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: Recycle Bin Restore Recycle Bin Record

> Restore one deleted record from the Zoho CRM recycle bin. Includes SDK V2 guidance, input constraints, response fields, and Deepline credit cost.

Restore one deleted record from the Zoho CRM recycle bin.

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

## 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_recycle_bin_restore_recycle_bin_record',
  {
    "recordId": "record_123"
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute zoho_crm_recycle_bin_restore_recycle_bin_record --input '{
  "recordId": "record_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": {
    "recycle_bin": [
      {
        "status": "success",
        "code": "example",
        "message": "Example message",
        "details": {}
      }
    ]
  }
}
```

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

## Input reference

Restores a single recycle-bin record identified by the path parameter `record_id`.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.recordId` | `string` | Yes | — | Identifier of the recycle-bin record. Format depends on CRM configuration (e.g., numeric or UUID). Maximum length: 500. |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Restores a single recycle-bin record identified by the path parameter `record_id`.",
    "properties": {
      "recordId": {
        "type": "string",
        "description": "Identifier of the recycle-bin record. Format depends on CRM configuration (e.g., numeric or UUID).",
        "maxLength": 500
      }
    },
    "required": [
      "recordId"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | List of results from the operation. |
| `result.data.recycle_bin` | `array` | Yes | — | Array of result items. Maximum items: 200. |
| `result.data.recycle_bin[].status` | `"success" \| "error"` | Yes | — | Per-item status Allowed: `success`, `error`. |
| `result.data.recycle_bin[].code` | `string` | Yes | — | Machine-readable result code Maximum length: 100. |
| `result.data.recycle_bin[].message` | `string` | Yes | — | Human-readable message Maximum length: 500. |
| `result.data.recycle_bin[].details` | `record` | Yes | — | Optional additional details about the item |
| `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": "List of results from the operation.",
        "properties": {
          "recycle_bin": {
            "type": "array",
            "description": "Array of result items.",
            "maxItems": 200,
            "items": {
              "type": "object",
              "description": "Individual result item with status and details.",
              "properties": {
                "status": {
                  "type": "string",
                  "description": "Per-item status",
                  "enum": [
                    "success",
                    "error"
                  ]
                },
                "code": {
                  "type": "string",
                  "description": "Machine-readable result code",
                  "maxLength": 100
                },
                "message": {
                  "type": "string",
                  "description": "Human-readable message",
                  "maxLength": 500
                },
                "details": {
                  "type": "object",
                  "description": "Optional additional details about the item",
                  "additionalProperties": true
                }
              },
              "required": [
                "status",
                "code",
                "message",
                "details"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "recycle_bin"
        ],
        "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.