Skip to navigation

Add task attachment

External add attachment.

Path parameters

task_idstringRequired

Headers

licenseKeystringRequired
appSecretstringRequired

Request

This endpoint expects an object.
namestringRequired1-200 characters
File name
sizeintegerOptional>=0Defaults to 0

File size in bytes (limited by CP_TASK_MAX_ATTACHMENT_BYTES)

typestringOptional<=200 charactersDefaults to application/octet-stream
MIME type

Response

Created
statusstring
Response status
messagestring

Human-readable success message

statusCodeinteger
HTTP status code
codestring
Custom application status code
datamap from strings to any or list of any or string or double or boolean or nullOptional
Payload for this endpoint

Errors

422
Unprocessable Entity Error