---
title: "Create Property"
method: POST
path: "/v1/public/properties/{object_name}"
tags: ["Properties"]
---

# Create Property

`POST /v1/public/properties/{object_name}`

## Path parameters

- `object_name` string, required

## Request body

- PublicPropertyUpsertRequest
  - `name` string, nullable
  - `internal_name` string, nullable
  - `type` string, nullable
  - `description` string, nullable
  - `number_format` string, nullable
  - `choice_values` union
    - object
    - string[]
  - `conditional_choice_mapping` object, nullable
  - `tag_values` string[], nullable
  - `unique` boolean, nullable
  - `required_field` boolean, nullable
  - `multiple_select` boolean, nullable
  - `show_badge` boolean, nullable
  - `badge_color` string, nullable
  - `order` integer, nullable

## Response `200`

OK

- PublicPropertyMutationResponse
  - `ok` boolean, required
  - `status` string, required
  - `object` string, required
  - `property_id` string, required
  - `ctx_id` string, required

## 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/versions/c273ff62266a/schema)
