# Create a task Required scopes: task-management:write Endpoint: POST /tasks Version: v1 Security: http, oauth2 ## Request fields (application/json): - `external_id` (string,null) Can be used to add an identifier from an external system, must be unique within integration (integration's slug) - `external_origin` (string) If not set, integration's slug will be used as default - `title` (string, required) - `description` (string) In HTML - `estimated_hours` (number,null) - `due_date` (string,null) - `is_public` (boolean) - `watchers` (array) - `status` (string) | | |---| | Backlog | | New In Todo | | WIP In progress | | Completed | | Approved | | Closed Task was archived | Enum: "Backlog", "New", "WIP", "Completed", "Approved", "Closed" - `project_id` (string, required) - `insert_before` (string,null) - `insert_after` (string,null) - `parent_task_id` (string,null) - `assignee_id` (string,null) - `epic_id` (string,null) - `phase_id` (string,null) - `milestone_id` (string,null) ## Response 401 fields (application/json): - `message` (string, required) Error overview. ## Response 422 fields (application/json): - `message` (string, required) Errors overview. - `errors` (object, required) A detailed description of each field that failed validation.