Skip to main content
POST
/
tasks
Create a task
curl --request POST \
  --url https://api.projectcor.com/v1/tasks \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "<string>",
  "project_id": 123
}
'
{
  "id": 123,
  "title": "<string>",
  "project_id": 123,
  "description": "<string>",
  "deadline": "2023-11-07T05:31:56Z",
  "status": "nueva",
  "priority": 0,
  "archived": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
title
string
required

Task Title

project_id
integer

Project ID

Response

200 - application/json

Task created successfully

id
integer
title
string
project_id
integer
description
string
deadline
string<date-time>
status
enum<string>
Available options:
nueva,
en_proceso,
estancada,
finalizada
priority
enum<integer>

0 = Low, 1 = Medium, 2 = High, 3 = Urgent

Available options:
0,
1,
2,
3
archived
boolean