VUZDevelopers

Add attachment to project

POST
/projects/{id}/attachments

Uploads a file and attaches it to a project.

Attachment Categories:

  • contract: Contracts and agreements
  • reference: Reference materials
  • deliverable: Project deliverables
  • notes: Notes and documentation
  • design: Design files
  • other: Other files

File Upload:

  • Max file size: Configured in app settings
  • Stored in S3 with presigned URL access
X-Api-Key<token>

Business API key, e.g. vuz_ab12cdef... Created via Settings → Integrations → API Keys. Unlike partner keys, a public API key's STRING does not encode its environment — isolation instead comes from a completely separate sandbox database: a key minted on the Sandbox server (above) only ever reads/writes sandbox data and can never see or affect production, regardless of what the key looks like.

In: header

Path Parameters

id*string

Project UUID

Request Body

multipart/form-data

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/projects/string/attachments" \  -F displayName="string"
{  "id": "string",  "displayName": "string",  "category": "contract",  "fileUrl": "string",  "uploadedAt": "2019-08-24T14:15:22Z"}