Skip to main content
POST
/
api
/
v2
/
tasks
/
{taskId}
/
attachments
Cria um anexo para uma tarefa
curl --request POST \
  --url https://app.tarefy.com/nodeapi/api/v2/tasks/{taskId}/attachments \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file' \
  --form 'commentId=<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

taskId
string
required

Body

multipart/form-data
file
file
required

Arquivo a ser anexado à tarefa.

commentId
string

ID opcional do comentário ao qual o anexo será vinculado.

Response

200 - application/json

Anexo criado com sucesso

The response is of type object.