---
title: "Create Deal"
method: POST
path: "/v1/public/deals"
tags: ["Deals"]
---

# Create Deal

`POST /v1/public/deals`

## Request body

- PublicCaseRequest
  - `externalId` string, nullable
  - `name` string, nullable
  - `status` string, nullable
  - `caseStatus` string, nullable
  - `currency` string, nullable
  - `contactId` string, nullable
  - `contactExternalId` string, nullable
  - `companyId` string, nullable
  - `companyExternalId` string, nullable

## Response `200`

OK

- PublicCaseResponse
  - `ok` boolean, required
  - `status` string, required
  - `external_id` string, nullable
  - `case_id` string, nullable
  - `ctx_id` string, nullable

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/sankahq/apis/ninjaapi.md) · [All operations](https://skmtc.net/sankahq/apis/ninjaapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sankahq/ninjaapi/revisions/c273ff62266a/schema)
