---
title: "Criar tarefa"
method: POST
path: "/tasks"
tags: ["crm-v1-tasks"]
---

# Criar tarefa

`POST /tasks`

## Request

- Base URL: `https://crm.rdstation.com/api/v1`
- URL: `https://crm.rdstation.com/api/v1/tasks`
- Auth: API key in query parameter `token`

Criar tarefa

## Request body

- object
  - `task` object
    - `date` string
    - `deal_id` string
    - `done` boolean
    - `hour` string
    - `notes` string
    - `subject` string
    - `type` string
    - `user_ids` string[]

## Response `200`

Success

- object
  - `_id` string
  - `created_at` string
  - `date` string
  - `deal` object
    - `_id` string
    - `deal_stage_id` string
    - `hold` boolean, nullable
    - `id` string
    - `name` string
    - `rating` number
  - `done` boolean
  - `hour` string
  - `id` string
  - `markup` string
  - `notes` string
  - `subject` string
  - `type` string
  - `user_ids` string[]
  - `users` object[]
    - `_id` string
    - `id` string
    - `name` string
    - `nickname` string

---

[API](https://skmtc.dev/rdstation/apis/rd-station-crm-api-v1.md) - [All operations](https://skmtc.dev/rdstation/apis/rd-station-crm-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/rdstation/apis/rd-station-crm-api-v1/revisions/f83861e0c857?raw)
