---
title: "Atualizar vídeo obrigatório da etapa"
method: POST
path: "/api/management/update-required-step-attachment"
tags: ["funnel-steps", "Anexos"]
---

# Atualizar vídeo obrigatório da etapa

`POST /api/management/update-required-step-attachment`

Marca ou desmarca um anexo de vídeo como de visualização obrigatória. Quando obrigatório, o vídeo abre sozinho para quem move o projeto para a etapa e a janela não pode ser dispensada enquanto a movimentação está em curso; a visualização fica registrada no histórico do projeto. Ver [Anexos do funil e da etapa](https://docs.olie.ai/guides/funnels/attachments).

## Request body

- object
  - `id` integer, required — ID do anexo de etapa a atualizar. Obrigatório.
  - `watch` boolean, required — Define se a visualização passa a ser obrigatória. Obrigatório.

## Response `200`

Sucesso

- object
  - `response` boolean, required — Sempre true quando a operação é concluída.

## Other responses

- `404` — Anexo não encontrado
- `422` — Validação falhou

## Changes

- **2026-08-24** `3c590152d5b5` — 4 breaking, 2 warning, 8 info
  - the request property `id` became not nullable
  - the request property `id` became required
  - the request property `watch` became required
  - the `id` request property type changed from no type to `integer`
  - …10 more
- **2026-08-19** `a7c4c54005a5` — 3 info
  - added the media type `application/json` for the response with the status `200`
  - added the non-success response with the status `404`
  - added the non-success response with the status `422`
- **2026-08-19** `d6832ed1714a` — 1 info
  - added optional request body
- **2026-08-19** `d85127746782` — 2 info
  - api tag `Anexos` added
  - api tag `update-required-step-attachment` removed

[Change history](https://skmtc.dev/olie-ai/apis/olie-api/changes/api/management/update-required-step-attachment/post.md)

---

[API](https://skmtc.dev/olie-ai/apis/olie-api.md) · [All operations](https://skmtc.dev/olie-ai/apis/olie-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/olie-ai/olie-api/revisions/8c9bac94e5ad/schema)
