---
title: "Create reason"
method: POST
path: "/crm/v1/reasons/{funnelId}"
tags: ["pipeline"]
---

# Create reason

`POST /crm/v1/reasons/{funnelId}`

## Request

- Base URL: `https://{domain}.uspacy.ua`
- URL: `https://{domain}.uspacy.ua/crm/v1/reasons/{funnelId}`
- Auth: HTTP bearer

Creates a new reason for closing a deal (success or failure).

## Request body

- CreateReason
  - `title` string
  - `sort` integer

## Response `201`

Created

- Reason
  - `id` integer
  - `title` string
  - `sort` integer

## 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)
