---
title: "Create a list"
method: POST
path: "/v1/objects/{slug}/lists"
tags: ["Lists"]
---

# Create a list

`POST /v1/objects/{slug}/lists`

## Request

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

Creates a new list associated with a specific object type

## Path parameters

- `slug` string, required

## Request body

- DeveloperCreateListRequest
  - `name` string, required: List display name
  - `name_plural` string: Plural name
  - `slug` string, required: URL-safe identifier
  - `description` string: List description

## Response `200`

Created list

- 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
- `404`: Object not found
- `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/:slug/lists/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)
