## Create a custom object type

**post** `/v1/objects`

> [!WARNING]
This endpoint is in beta and isn't available to every workspace yet. Its parameters and response schemas may change, including breaking changes.

Creates a custom object type with its default attributes and relationships. Returns its public metadata. Requires the custom objects entitlement.

When the slug belongs to an archived custom object type, restores that type with its records and applies the request as if creating it: omitted optional fields take their defaults. Its lists stay archived. Returns 409 when the slug belongs to an active custom object type in this workspace.

**[Required scope](/using-the-api/scopes/):** `config:create`

**[Rate limit category](/using-the-api/rate-limits/):** Write

### Body Parameters

- `labelSingular: string`

  Singular display label.

- `slug: string`

  Unique custom object slug within the workspace. Immutable after creation.

- `description: optional string`

  Description of the custom object type, or null.

- `icon: optional "Add" or "Agent" or "AlarmClock" or 64 more`

  Display icon, or null to use the default.

  - `"Add"`

  - `"Agent"`

  - `"AlarmClock"`

  - `"Archive"`

  - `"Attachment"`

  - `"Bell"`

  - `"Book"`

  - `"Briefcase"`

  - `"Calendar"`

  - `"CameraOutline"`

  - `"ChartArea"`

  - `"ChartLine"`

  - `"ChartPie"`

  - `"Checkmark"`

  - `"ChevronRightDouble"`

  - `"CircleAdd"`

  - `"Clock"`

  - `"Code"`

  - `"Command"`

  - `"Competitors"`

  - `"Compose"`

  - `"CreditCard"`

  - `"DealValue"`

  - `"DeviceDesktop"`

  - `"Dice"`

  - `"Document"`

  - `"Download"`

  - `"Draggable"`

  - `"EmployeeBadge"`

  - `"EngagementAnalyticsAlt"`

  - `"Enrich"`

  - `"Folder"`

  - `"Funding"`

  - `"Grid"`

  - `"Hashtag"`

  - `"Help"`

  - `"Key"`

  - `"Keyboard"`

  - `"LightBulb"`

  - `"Link"`

  - `"Mail"`

  - `"MicrophoneOutline"`

  - `"Money"`

  - `"Moon"`

  - `"MultiplePagesPortrait"`

  - `"OpenQuote"`

  - `"PageLandscape"`

  - `"Paperplane"`

  - `"People"`

  - `"Phone"`

  - `"Preferences"`

  - `"Search"`

  - `"Shapes"`

  - `"Sparkle"`

  - `"SquareStack"`

  - `"Star"`

  - `"Suggestions"`

  - `"Sun"`

  - `"Table"`

  - `"TableColumn"`

  - `"Tag"`

  - `"Teams"`

  - `"ThreeDCube"`

  - `"ThreeDStack"`

  - `"VideoAlt"`

  - `"View"`

  - `"Waveform"`

- `labelPlural: optional string`

  Plural label. Defaults to the pluralized singular label when omitted or null.

### Returns

- `ObjectCreateTypeResponse object { id, archived, archivedAt, 7 more }`

  - `id: string`

    Stable public ID of the custom object definition.

  - `archived: boolean`

    Whether this custom object type is archived.

  - `archivedAt: string`

    ISO 8601 archive timestamp, or null when active.

  - `createdAt: string`

    ISO 8601 creation timestamp.

  - `description: string`

    Description of the custom object type, or null.

  - `icon: string`

    Display icon, or null when no icon is configured.

  - `labelPlural: string`

    Plural display label, or null.

  - `labelSingular: string`

    Singular display label.

  - `slug: string`

    Custom object slug used in API paths.

  - `updatedAt: string`

    ISO 8601 last-update timestamp.

### Example

```http
curl https://api.lightfield.app/v1/objects \
    -H 'Content-Type: application/json' \
    -H 'Lightfield-Version: 2026-03-01' \
    -H "Authorization: Bearer $API_KEY" \
    -d '{
          "labelSingular": "labelSingular",
          "slug": "slug"
        }'
```

#### Response

```json
{
  "id": "id",
  "archived": true,
  "archivedAt": "archivedAt",
  "createdAt": "createdAt",
  "description": "description",
  "icon": "icon",
  "labelPlural": "labelPlural",
  "labelSingular": "labelSingular",
  "slug": "slug",
  "updatedAt": "updatedAt"
}
```
