---
title: "Anexar arquivo ao negócio"
method: POST
path: "/api/v1/business/{businessId}/attachments"
tags: ["Anexos do negócio"]
---

# Anexar arquivo ao negócio

`POST /api/v1/business/{businessId}/attachments`

## Request

- Base URL: `https://api.g1.datacrazy.io`
- URL: `https://api.g1.datacrazy.io/api/v1/business/{businessId}/attachments`
- Auth: HTTP bearer

Adicionar um novo arquivo anexo ao negócio

## Path parameters

- `businessId` string, required

## Request body

- CreateAttachmentDto
  - `attachmentUrl` string, required: Url do documento
  - `fileName` string, required: Nome do documento
  - `description` string: Descrição do documento

## Response `200`

- AttachmentDto
  - `fileName` string: Nome do anexo
  - `mimeType` string: Formato do anexo
  - `url` string: URL do anexo
  - `type` 'IMAGE' | 'VIDEO' | 'AUDIO' | 'FILE': Tipo do anexo

## Changes

- **2026-11-03** `ca79161fb949`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/datacrazy/apis/api-crm-datacrazy/changes/api/v1/business/:businessId/attachments/post.md)

---

[API](https://skmtc.dev/datacrazy/apis/api-crm-datacrazy.md) - [All operations](https://skmtc.dev/datacrazy/apis/api-crm-datacrazy/llms.txt) - [OpenAPI document](https://skmtc.dev/datacrazy/apis/api-crm-datacrazy/revisions/ca79161fb949?raw)
