Skip to content

Start Upload (File) ​

MCP Tool
start_file_comment_attachment_uploadStart File Comment Attachment Upload
Rate Limit
Tier 3
Scope
comments:write
Project Role
OwnerManagerMemberReviewerRestricted Reviewer

Starts uploading an attachment for a file comment.

Info

Upload each part to its URL, then call Complete Upload.

Example ​

bash
curl -X POST 'https://api.youvico.com/api/files/FX1234567890ABCD/comment-attachments/upload.multipart' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{ "name": "review-note.pdf", "size": 1250000 }'
json
{
  "data": {
    "id": "CA1234567890ABCD",
    "parts": [
      {
        "partNumber": 1,
        "url": "https://files.youvico.com/upload/eyJhbGciOiJFZERTQSIsImtpZCI6..."
      }
    ]
  }
}

Request ​

Path ​

idstringrequired
File ID

Body ​

namestringrequired

1-255 characters

Attachment file name

Example: review-note.pdf

sizenumberrequired

Integer, 1-1000000000

Attachment size in bytes

Example: 1250000

Response ​

Returns 201 Created.

dataobject
Upload session
data.idstring
Created comment attachment ID

Example: CA1234567890ABCD

data.partsarray
Upload parts
data.parts[].partNumbernumber
Part number

Example: 1

data.parts[].urlstring
Part upload URL

Example: https://files.youvico.com/upload/eyJhbGciOiJFZERTQSIsImtpZCI6...