---
title: "Bulk create account fields"
method: POST
path: "/v1/accounts/fields/bulk"
tags: ["CRM"]
---

# Bulk create account fields

`POST /v1/accounts/fields/bulk`

## Request

- Base URL: `https://api.octolane.com`
- URL: `https://api.octolane.com/v1/accounts/fields/bulk`
- Auth: API key in header `x-api-key`

Creates account custom field definitions in bulk.

## Request body

- FieldCreateInput[]
  - `name` string, required
  - `property_name` string: Optional stable field key. If omitted, Octolane generates a unique property name.
  - `attribute_type` 'string' | 'number' | 'checkbox' | 'date' | 'date_range' | 'rating' | 'timestamp' | 'select' | 'multi_select' | 'currency' | 'percentage' | 'location' | 'time' | 'datetime' | 'email' | 'phone' | 'website' | 'url' | 'radio' | 'team_members', required
  - `metadata` object, nullable: Optional field metadata. For select fields, include `select_options` with label/value/color/order entries.
  - `order` integer, nullable
  - `is_hidden` boolean

## Response `200`

Account fields were created.

- ApiResponse
  - `success` boolean
  - `message` string
  - `data` unknown

## Other responses

- `201`: Account fields were created.
- `400`: The request failed validation.
- `401`: The API key is missing, invalid, or not allowed to access this route.
- `429`: The route rate limit was exceeded.

## Changes

- **2026-06-16** `9647d7c49947`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/octolane-org/apis/octolane-public-api/changes/v1/accounts/fields/bulk/post.md)

---

[API](https://skmtc.dev/octolane-org/apis/octolane-public-api.md) - [All operations](https://skmtc.dev/octolane-org/apis/octolane-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/octolane-org/apis/octolane-public-api/revisions/d248d0a2be5d?raw)
