---
title: "Create funnel"
method: POST
path: "/crm/v1/entities/{entity}/funnel"
tags: ["pipeline"]
---

# Create funnel

`POST /crm/v1/entities/{entity}/funnel`

## Request

- Base URL: `https://{domain}.uspacy.ua`
- URL: `https://{domain}.uspacy.ua/crm/v1/entities/{entity}/funnel`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/uspacy/apis/crm-service-2/docs/crm/v1/entities/:entity/funnel/post.ts> (a function with typed inputs; its response is checked against the schema)

Creates a new funnel (sales pipeline) for the entity.
Example: `POST /crm/v1/entities/deals/funnel`

## Request body

- Funnel
  - `title` string
  - `funnel_code` string
  - `active` boolean
  - `default` boolean

## Response `201`

Created

- Funnel
  - `title` string
  - `funnel_code` string
  - `active` boolean
  - `default` boolean

## Other responses

- `401`: Access token is missing or invalid
- `422`: Validation error response

---

[API](https://skmtc.dev/uspacy/apis/crm-service-2.md) - [All operations](https://skmtc.dev/uspacy/apis/crm-service-2/llms.txt) - [OpenAPI document](https://skmtc.dev/uspacy/apis/crm-service-2/revisions/f80578d43845?raw)
