> ## 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: Tasks Show

> Get one Salesloft task by its ID, with its subject, type, due date, person and state. Includes inputs, outputs, SDK V2 examples, and Deepline cost.

Get one Salesloft task by its ID, with its subject, type, due date, person and state.

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

## 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(
  'salesloft_tasks_show',
  {
    "id": "id_123"
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute salesloft_tasks_show --input '{
  "id": "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": {
    "id": 123,
    "created_at": "2026-01-15T12:00:00Z",
    "updated_at": "2026-01-15T12:00:00Z"
  }
}
```

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

## Input reference

Fetches a task, by ID only.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.id` | `string` | Yes | — | Task ID |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Fetches a task, by ID only.",
    "properties": {
      "id": {
        "type": "string",
        "description": "Task ID"
      }
    },
    "required": [
      "id"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.id` | `integer` | No | — | ID of Task |
| `result.data.created_at` | `string` | No | — | Datetime of when the Task was created Format: `date-time`. |
| `result.data.updated_at` | `string` | No | — | Datetime of when the Task was last updated Format: `date-time`. |
| `result.data.description` | `string` | No | — | A description of the task recorded for person at completion time |
| `result.data.due_date` | `string` | No | — | Date of when the Task is due, ISO-8601 date format required Format: `date`. |
| `result.data.due_at` | `string` | No | — | Datetime of when the Task is due, can be null. ISO-8601 datetime format required Format: `date-time`. |
| `result.data.subject` | `string` | No | — | Subject line of the task |
| `result.data.current_state` | `string` | No | — | The state of the task. Valid states are: scheduled, completed |
| `result.data.person` | `object` | No | — | The person to be contacted |
| `result.data.person.id` | `integer` | No | — | — |
| `result.data.person._href` | `string` | No | — | — |
| `result.data.opportunity` | `object` | No | — | The opportunity associated with task |
| `result.data.opportunity.id` | `integer` | No | — | — |
| `result.data.opportunity._href` | `string` | No | — | — |
| `result.data.user` | `object` | No | — | User who is assigned the task |
| `result.data.user.id` | `integer` | No | — | — |
| `result.data.user._href` | `string` | No | — | — |
| `result.data.created_by_user` | `object` | No | — | User who created the task |
| `result.data.created_by_user.id` | `integer` | No | — | — |
| `result.data.created_by_user._href` | `string` | No | — | — |
| `result.data.task_type` | `string` | No | — | The type of the task. Valid types are: call, email, general |
| `result.data.remind_at` | `string` | No | — | Datetime of when the user will be reminded of the task, ISO-8601 datetime format required Format: `date-time`. |
| `result.data.expires_after` | `string` | No | — | Datetime of when the the task will expire, ISO-8601 datetime format required Format: `date-time`. |
| `result.data.completed_at` | `string` | No | — | Datetime of when the task was completed, ISO-8601 datetime format required Format: `date-time`. |
| `result.data.completed_by` | `object` | No | — | User who completed the task |
| `result.data.completed_by.id` | `integer` | No | — | — |
| `result.data.completed_by._href` | `string` | No | — | — |
| `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": "Provider response payload.",
        "properties": {
          "id": {
            "type": "integer",
            "description": "ID of Task"
          },
          "created_at": {
            "type": "string",
            "description": "Datetime of when the Task was created",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "description": "Datetime of when the Task was last updated",
            "format": "date-time"
          },
          "description": {
            "type": "string",
            "description": "A description of the task recorded for person at completion time"
          },
          "due_date": {
            "type": "string",
            "description": "Date of when the Task is due, ISO-8601 date format required",
            "format": "date"
          },
          "due_at": {
            "type": "string",
            "description": "Datetime of when the Task is due, can be null. ISO-8601 datetime format required",
            "format": "date-time"
          },
          "subject": {
            "type": "string",
            "description": "Subject line of the task"
          },
          "current_state": {
            "type": "string",
            "description": "The state of the task. Valid states are: scheduled, completed"
          },
          "person": {
            "type": "object",
            "description": "The person to be contacted",
            "properties": {
              "id": {
                "type": "integer"
              },
              "_href": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "opportunity": {
            "type": "object",
            "description": "The opportunity associated with task",
            "properties": {
              "id": {
                "type": "integer"
              },
              "_href": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "user": {
            "type": "object",
            "description": "User who is assigned the task",
            "properties": {
              "id": {
                "type": "integer"
              },
              "_href": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "created_by_user": {
            "type": "object",
            "description": "User who created the task",
            "properties": {
              "id": {
                "type": "integer"
              },
              "_href": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "task_type": {
            "type": "string",
            "description": "The type of the task. Valid types are: call, email, general"
          },
          "remind_at": {
            "type": "string",
            "description": "Datetime of when the user will be reminded of the task, ISO-8601 datetime format required",
            "format": "date-time"
          },
          "expires_after": {
            "type": "string",
            "description": "Datetime of when the the task will expire, ISO-8601 datetime format required",
            "format": "date-time"
          },
          "completed_at": {
            "type": "string",
            "description": "Datetime of when the task was completed, ISO-8601 datetime format required",
            "format": "date-time"
          },
          "completed_by": {
            "type": "object",
            "description": "User who completed the task",
            "properties": {
              "id": {
                "type": "integer"
              },
              "_href": {
                "type": "string"
              }
            },
            "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

* [Salesloft provider guide](https://deepline.com/docs/providers/salesloft/guide.md)
* [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.