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

# Salesloft: Conversations Calls Create

> Create a new call. Salesloft Conversations Calls Create reference includes SDK V2 and CLI requests, input constraints, response fields, and Deepline cost.

Create a new call.

<Info>
  Tool ID: `salesloft_conversations_calls_create`
</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(
  'salesloft_conversations_calls_create',
  {
    "to": "example",
    "from": "example",
    "duration": 123,
    "recording": {
      "url": "https://example.com"
    }
  },
);

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

### CLI

```bash theme={null}
deepline tools execute salesloft_conversations_calls_create --input '{
  "to": "example",
  "from": "example",
  "duration": 123,
  "recording": {
    "url": "https://example.com"
  }
}' --json
```

## Example response

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

```json theme={null}
{
  "data": {
    "to": "example",
    "from": "example",
    "duration": 123,
    "recording": {
      "url": "https://example.com"
    }
  }
}
```

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

## Input reference

Creates a dialer call

| Name                      | Type                      | Required | Default | Details                                                                                                                                     |
| ------------------------- | ------------------------- | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
| `payload.to`              | `string`                  | Yes      | —       | Phone number that call was made to                                                                                                          |
| `payload.from`            | `string`                  | Yes      | —       | Phone number that call was made from                                                                                                        |
| `payload.duration`        | `number`                  | Yes      | —       | Duration of call in seconds                                                                                                                 |
| `payload.call_created_at` | `string`                  | No       | —       | Timestamp for when the call started. If not provided, will default to the time the request was received Format: `date-time`.                |
| `payload.user_guid`       | `string`                  | No       | —       | Guid of the Salesloft User to assign the call to. If not provided, will default to the user within the authentication token Format: `uuid`. |
| `payload.direction`       | `"inbound" \| "outbound"` | No       | —       | Direction of the call Allowed: `inbound`, `outbound`.                                                                                       |
| `payload.recording`       | `object`                  | Yes      | —       | —                                                                                                                                           |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Creates a dialer call",
    "properties": {
      "to": {
        "type": "string",
        "description": "Phone number that call was made to"
      },
      "from": {
        "type": "string",
        "description": "Phone number that call was made from"
      },
      "duration": {
        "type": "number",
        "description": "Duration of call in seconds"
      },
      "call_created_at": {
        "type": "string",
        "description": "Timestamp for when the call started. If not provided, will default to the time the request was received",
        "format": "date-time"
      },
      "user_guid": {
        "type": "string",
        "description": "Guid of the Salesloft User to assign the call to. If not provided, will default to the user within the authentication token",
        "format": "uuid"
      },
      "direction": {
        "type": "string",
        "description": "Direction of the call",
        "enum": [
          "inbound",
          "outbound"
        ]
      },
      "recording": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string"
          }
        },
        "required": [
          "url"
        ],
        "additionalProperties": false
      }
    },
    "required": [
      "to",
      "from",
      "duration",
      "recording"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name                          | Type                      | Required | Default | Details                                                                                                                                     |
| ----------------------------- | ------------------------- | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
| `result.data`                 | `object`                  | Yes      | —       | Provider response payload.                                                                                                                  |
| `result.data.to`              | `string`                  | Yes      | —       | Phone number that call was made to                                                                                                          |
| `result.data.from`            | `string`                  | Yes      | —       | Phone number that call was made from                                                                                                        |
| `result.data.duration`        | `number`                  | Yes      | —       | Duration of call in seconds                                                                                                                 |
| `result.data.call_created_at` | `string`                  | No       | —       | Timestamp for when the call started. If not provided, will default to the time the request was received Format: `date-time`.                |
| `result.data.user_guid`       | `string`                  | No       | —       | Guid of the Salesloft User to assign the call to. If not provided, will default to the user within the authentication token Format: `uuid`. |
| `result.data.direction`       | `"inbound" \| "outbound"` | No       | —       | Direction of the call Allowed: `inbound`, `outbound`.                                                                                       |
| `result.data.recording`       | `object`                  | Yes      | —       | —                                                                                                                                           |
| `result.data.recording.url`   | `string`                  | Yes      | —       | —                                                                                                                                           |
| `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": "Provider response payload.",
        "properties": {
          "to": {
            "type": "string",
            "description": "Phone number that call was made to"
          },
          "from": {
            "type": "string",
            "description": "Phone number that call was made from"
          },
          "duration": {
            "type": "number",
            "description": "Duration of call in seconds"
          },
          "call_created_at": {
            "type": "string",
            "description": "Timestamp for when the call started. If not provided, will default to the time the request was received",
            "format": "date-time"
          },
          "user_guid": {
            "type": "string",
            "description": "Guid of the Salesloft User to assign the call to. If not provided, will default to the user within the authentication token",
            "format": "uuid"
          },
          "direction": {
            "type": "string",
            "description": "Direction of the call",
            "enum": [
              "inbound",
              "outbound"
            ]
          },
          "recording": {
            "type": "object",
            "properties": {
              "url": {
                "type": "string"
              }
            },
            "required": [
              "url"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "to",
          "from",
          "duration",
          "recording"
        ],
        "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

* [Salesloft provider guide](/docs/providers/salesloft/guide)
* [SDK V2 quickstart](/docs/sdk-v2/quickstart)
* [SDK reference](/docs/sdk-v2/sdk-reference)
* [Run tools across a CSV](/docs/sdk-v2/batch-csv)
