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

# Apollo: Create Task

> Create an Apollo task, such as a call or email, for a contact, with a due date and priority. Includes inputs, outputs, SDK V2 examples, and Deepline cost.

Create an Apollo task, such as a call or email, for a contact, with a due date and priority.

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

## 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(
  'apollo_create_task',
  {
    "contact_id": "contact_123",
    "user_id": "user_123",
    "type": "action_item",
    "priority": "no_priority",
    "due_at": "2026-01-15T12:00:00Z",
    "status": "scheduled"
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute apollo_create_task --input '{
  "contact_id": "contact_123",
  "user_id": "user_123",
  "type": "action_item",
  "priority": "no_priority",
  "due_at": "2026-01-15T12:00:00Z",
  "status": "scheduled"
}' --json
```

## Example response

The static output schema lacks the details for a reliable example. Use `deepline describe apollo_create_task --json` for the complete live contract.

## Input reference

Create a single task in Apollo. Apollo does not deduplicate tasks. Requires master API key.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.contact_id` | `string` | Yes | — | Apollo contact ID to associate the task with. |
| `payload.user_id` | `string` | Yes | — | Apollo user ID who owns the task. Get IDs from apollo\_list\_users. |
| `payload.type` | `"action_item" \| "call" \| "outreach_manual_email" \| "linkedin_step_connect" \| "linkedin_step_message" \| "linkedin_step_view_profile" \| "linkedin_step_interact_post"` | Yes | — | Apollo task type. Allowed: `action_item`, `call`, `outreach_manual_email`, `linkedin_step_connect`, `linkedin_step_message`, `linkedin_step_view_profile`, `linkedin_step_interact_post`. |
| `payload.priority` | `"no_priority" \| "high" \| "medium" \| "low"` | Yes | — | Apollo task priority level. Allowed: `no_priority`, `high`, `medium`, `low`. |
| `payload.due_at` | `string` | Yes | — | Due date/time in ISO 8601 format (e.g., 2026-04-15T10:00:00.000+00:00). |
| `payload.status` | `"scheduled" \| "completed" \| "skipped" \| "overdue"` | Yes | — | Apollo task status. Allowed: `scheduled`, `completed`, `skipped`, `overdue`. |
| `payload.note` | `string` | No | — | Note or description for the task. |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Create a single task in Apollo. Apollo does not deduplicate tasks. Requires master API key.",
    "properties": {
      "contact_id": {
        "type": "string",
        "description": "Apollo contact ID to associate the task with."
      },
      "user_id": {
        "type": "string",
        "description": "Apollo user ID who owns the task. Get IDs from apollo_list_users."
      },
      "type": {
        "type": "string",
        "description": "Apollo task type.",
        "enum": [
          "action_item",
          "call",
          "outreach_manual_email",
          "linkedin_step_connect",
          "linkedin_step_message",
          "linkedin_step_view_profile",
          "linkedin_step_interact_post"
        ]
      },
      "priority": {
        "type": "string",
        "description": "Apollo task priority level.",
        "enum": [
          "no_priority",
          "high",
          "medium",
          "low"
        ]
      },
      "due_at": {
        "type": "string",
        "description": "Due date/time in ISO 8601 format (e.g., 2026-04-15T10:00:00.000+00:00)."
      },
      "status": {
        "type": "string",
        "description": "Apollo task status.",
        "enum": [
          "scheduled",
          "completed",
          "skipped",
          "overdue"
        ]
      },
      "note": {
        "type": "string",
        "description": "Note or description for the task."
      }
    },
    "required": [
      "contact_id",
      "user_id",
      "type",
      "priority",
      "due_at",
      "status"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Apollo create task result.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `record` | Yes | — | Payload with the created `task` object. |
| `result.meta` | `record` | 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": "Apollo create task result.",
    "properties": {
      "data": {
        "type": [
          "object",
          "null"
        ],
        "description": "Payload with the created `task` object.",
        "additionalProperties": {}
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": {}
      }
    },
    "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

* [Apollo provider guide](https://deepline.com/docs/providers/apollo/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.