---
title: "Create an attachment for a contact"
method: POST
path: "/v1/contacts/{contactId}/attachments"
tags: ["Contacts"]
---

# Create an attachment for a contact

`POST /v1/contacts/{contactId}/attachments`

## Request

- Base URL: `https://api.bigchange.com`
- URL: `https://api.bigchange.com/v1/contacts/{contactId}/attachments`
- Auth: HTTP bearer

Creates a new attachment for a contact (required scope attachments:write)

## Path parameters

- `contactId` integer, required

## Headers

- `Customer-Id` integer, required

## Request body `multipart/form-data`

- object
  - `file` string, binary, required: The file to upload
  - `folderId` integer: The ID of the folder where the attachment should be stored (optional)
  - `isResourceVisible` boolean: Whether the attachment should be visible to resources (mobile field engineers)

## Response `201`

Created

- PostResponseInt64: Represents a response for a POST request, containing the ID of the newly created record
  - `id` integer: Identifier of the newly created record

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `422`: Unprocessable Content
- `500`: Internal Server Error

## Changes

- **2026-10-16** `c8953989f731`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/bigchange/apis/bigchange-dx/changes/v1/contacts/:contactId/attachments/post.md)

---

[API](https://skmtc.dev/bigchange/apis/bigchange-dx.md) - [All operations](https://skmtc.dev/bigchange/apis/bigchange-dx/llms.txt) - [OpenAPI document](https://skmtc.dev/bigchange/apis/bigchange-dx/revisions/b262bfdb1dd0?raw)
