---
title: "Create new sections and fields in %grammar %alias record"
method: POST
path: "/objects/fieldeditor"
tags: ["objects"]
---

# Create new sections and fields in %grammar %alias record

`POST /objects/fieldeditor`

Create sections, or fields within sections for a given %alias.

## Request body

- ObjectFieldeditor
  - `objectID` integer, required
  - `name` string
  - `description` string
  - `fields` array[]
    - FieldeditorField[]
      - `alias` string
      - `type` string
      - `required` integer
      - `unique` integer
      - `options` FieldeditorOptions
        - `add` string[]
        - `remove` string[]
        - `replace` string[]

## Response `200`

Successful object query

- Response
  - `code` integer, required
  - `data` object, required
  - `account_id` integer, required

---

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