---
title: "Create a task"
method: POST
path: "/v1/tasks"
tags: ["Tasks"]
---

# Create a task

`POST /v1/tasks`

## Request

- Base URL: `https://app.nex.ai/api/developers`
- URL: `https://app.nex.ai/api/developers/v1/tasks`
- Auth: API key in header `Authorization`

Creates a new task, optionally associated with records and assignees

## Request body

- DeveloperCreateTaskRequest
  - `title` string, required: Task title (non-empty)
  - `description` string: Task description
  - `priority` 'unspecified' | 'low' | 'medium' | 'high' | 'urgent': Task priority
  - `due_date` string, date-time: Due date (RFC3339)
  - `entity_ids` string[]: Associated record IDs
  - `assignee_ids` string[]: Assigned user IDs

## Response `200`

Created task

- DeveloperTaskResponse
  - `id` string
  - `title` string
  - `description` string
  - `priority` string
  - `due_date` string, date-time
  - `is_completed` boolean
  - `completed_at` string, date-time
  - `assignee_ids` string[]
  - `entity_ids` string[]
  - `created_by` string
  - `created_by_id` string
  - `created_at` string, date-time
  - `archived_at` string, date-time

## Other responses

- `400`: Bad request - Invalid data
- `401`: Unauthorized - Invalid or missing API key
- `500`: Internal server error

## Changes

- **2026-02-17** `b05d8cb8cf43`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/nex/apis/nex-developer-api/changes/v1/tasks/post.md)

---

[API](https://skmtc.dev/nex/apis/nex-developer-api.md) - [All operations](https://skmtc.dev/nex/apis/nex-developer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nex/apis/nex-developer-api/revisions/51003af13108?raw)
