---
title: "Alternar vínculo do funil de projeto"
method: POST
path: "/api/management/project-funnel-link-toggle"
tags: ["project-funnels", "Vínculo com projetos"]
---

# Alternar vínculo do funil de projeto

`POST /api/management/project-funnel-link-toggle`

Liga ou desliga o projeto do funil, conforme o estado atual: se ainda não estiver vinculado, vincula e já coloca o projeto na primeira etapa; se estiver, desvincula e remove o projeto de todas as etapas daquele funil. Funis inativos não aceitam vínculo. Ver [Mover projetos entre etapas](https://docs.olie.ai/guides/funnels/moving-projects).

## Request body

- object
  - `project_id` string, uuid, required — ID (UUID) do projeto. Obrigatório.
  - `project_funnel_id` integer — ID do funil.

## Response `200`

Sucesso

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

## Other responses

- `422` — Funil inativo

## Changes

- **2026-08-24** `3c590152d5b5` — 5 breaking, 4 info
  - the request property `project_funnel_id` became not nullable
  - the request property `project_id` became not nullable
  - the request property `project_id` became required
  - the `project_funnel_id` request property type changed from no type to `integer`
  - …5 more
- **2026-08-19** `159cf36842c5` — 2 info
  - added the media type `application/json` for the response with the status `200`
  - added the non-success response with the status `422`
- **2026-08-19** `f521a8dfa4f7` — 1 info
  - added optional request body
- **2026-08-19** `f3efb100a3fc` — 2 info
  - api tag `Vínculo com projetos` added
  - api tag `{project_funnel_id}` removed

[Change history](https://skmtc.dev/olie-ai/apis/olie-api/changes/api/management/project-funnel-link-toggle/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)
