---
title: "Buscar os arquivos anexados ao lead"
method: GET
path: "/api/v1/leads/{leadId}/attachments"
tags: ["Anexos do lead"]
---

# Buscar os arquivos anexados ao lead

`GET /api/v1/leads/{leadId}/attachments`

## Path parameters

- `leadId` string, required

## Response `200`

- object
  - `count` number, required
  - `data` AttachmentDto[]
    - `id` string — ID do anexo
    - `createdAt` string, date-time — Data de envio do anexo
    - `updatedAt` string, date-time — Data de atualizacao do anexo
    - `deletedAt` string, date-time — Data de exclusão do anexo
    - `fileName` string — Nome do anexo
    - `mimeType` string — Formato do anexo
    - `url` string — URL do anexo
    - `type` string — Tipo do anexo
    - `size` number — Tamanho do anexo

---

[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-service-production.skmtc.workers.dev/v1/apis/datacrazy/api-crm-datacrazy/revisions/681f3b1fe7c8/schema)
