Skip to main content
POST
/
api
/
v2
/
tasks
/
{id}
/
projects
Add the task to a new project
curl --request POST \
  --url https://app.tarefy.com/nodeapi/api/v2/tasks/{id}/projects \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "projectId": 123,
  "columnId": 123
}
'
{
  "status": true,
  "message": "<string>",
  "project": {
    "id": 123,
    "name": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://developers.tarefy.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Path Parameters

id
integer
required

ID da tarefa

Body

application/json
projectId
integer
required
Example:

123

columnId
integer | null

ID da coluna alvo para vincular a tarefa

Response

Projeto adicionado à tarefa com sucesso

status
boolean
message
string
project
object