---
title: "Create a task linked to a CRM entry"
method: POST
path: "/crm/objects/{objectName}/entries/{entryId}/tasks"
tags: ["crm"]
---

# Create a task linked to a CRM entry

`POST /crm/objects/{objectName}/entries/{entryId}/tasks`

## Request

- Base URL: `https://www.dench.com/api/v1`
- URL: `https://www.dench.com/api/v1/crm/objects/{objectName}/entries/{entryId}/tasks`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Create a task linked to a CRM entry.

## Path parameters

- `objectName` string, required
- `entryId` string, required

## Request body

- object
  - `name` string, required
  - `assigneeUserId` string
  - `dueDateKey` string: YYYY-MM-DD
  - `priority` string: One of the workspace's Priority options (default Low | Medium | High; case-insensitive).

## Response `200`

Successful response

- object

## Other responses

- `400`: Invalid request
- `401`: Missing or invalid authentication
- `404`: Operation or resource not found
- `500`: Server error

---

[API](https://skmtc.dev/dench/apis/dench-api.md) - [All operations](https://skmtc.dev/dench/apis/dench-api/llms.txt) - [OpenAPI document](https://skmtc.dev/dench/apis/dench-api/revisions/4a145b38f19c?raw)
