Create an Attachment

Upload an attachment to a task or to a file type Custom Field.

Once a file has been uploaded to a custom_fields entity, use Set Custom Field Value to associate the uploaded file with a task.

To retrieve the ID of a Custom Field, you can use Get List Custom Fields or Get task.

Path Params
integer
required

The ID of the Workspace.

string
enum
required

The entity type. Options include attachments for tasks or custom_fields for a Files Custom Field.

Allowed:
string
required

The ID of the task or Custom Field.

Body Params
string

Override the filename of the attachment

Responses

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json