---
title: "Create an object definition"
method: POST
path: "/v1/objects"
tags: ["Schema"]
---

# Create an object definition

`POST /v1/objects`

## Request

- Base URL: `https://app.nex.ai/api/developers`
- URL: `https://app.nex.ai/api/developers/v1/objects`
- Auth: API key in header `Authorization`

Creates a new object definition (entity type) in the workspace

## Request body

- DeveloperCreateObjectRequest
  - `name` string, required: Display name for the object
  - `name_plural` string: Plural display name
  - `slug` string, required: URL-safe identifier
  - `description` string: Description of the object type
  - `type` 'person' | 'company' | 'custom' | 'deal': Object type

## Response `200`

Created object definition

- DeveloperObjectResponse
  - `attributes` DeveloperAttributeDefinitionResponse[]
    - `description` string
    - `id` string
    - `name` string
    - `options` DeveloperAttributeOptionsResponse
      - `is_multi_value` boolean
      - `is_required` boolean
      - `is_unique` boolean
      - `is_whole_number` boolean
      - `select_options` DeveloperSelectOptionResponse[]
        - `id` string
        - `name` string
      - `use_raw_format` boolean
    - `slug` string
    - `type` string
  - `created_at` string
  - `description` string
  - `id` string
  - `name` string
  - `name_plural` string
  - `slug` string
  - `type` string

## Other responses

- `400`: Bad request - Invalid data
- `401`: Unauthorized - Invalid or missing API key
- `500`: Internal server error

## Changes

- **2026-02-17** `b05d8cb8cf43`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/nex/apis/nex-developer-api/changes/v1/objects/post.md)

---

[API](https://skmtc.dev/nex/apis/nex-developer-api.md) - [All operations](https://skmtc.dev/nex/apis/nex-developer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nex/apis/nex-developer-api/revisions/51003af13108?raw)
