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

> ## Endpoint essentials **API key access:** `api/v1/tasks/create` or `Master API key` **OAuth scopes:** `tasks_create` **Credit usage:** `0 credits` — [Learn.

## Endpoint essentials **API key access:** `api/v1/tasks/create` or `Master API key` **OAuth scopes:** `tasks_create` **Credit usage:** `0 credits` — \[Learn.

<Info>
  Tool ID: `apollo_create_task`
</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(
  '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={null}
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 is not detailed enough to generate a reliable example. Use `deepline tools get 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={null}
  {
    "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={null}
  {
    "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](/docs/providers/apollo/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)
