> ## Documentation Index
> Fetch the complete documentation index at: https://fliqr.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Create custom field

> Create a custom field



## OpenAPI

````yaml POST /accounts/custom_fields
openapi: 3.0.0
info:
  title: Fliqr AI API
  version: '1.1'
  description: >-
    REST API for Fliqr AI. Authenticate every request with the `X-ACCESS-TOKEN`
    header.
servers:
  - url: https://app.fliqr.ai/api
    description: Production
security:
  - APIKeyHeader: []
tags:
  - name: Accounts
  - name: Contacts
  - name: AI Agents
  - name: Pipelines
  - name: Ecommerce
  - name: Appointment Management
  - name: Templates
paths:
  /accounts/custom_fields:
    post:
      tags:
        - Accounts
      summary: Create Custom Field
      description: Create a custom field
      operationId: createCustomField
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                type:
                  type: integer
                  enum:
                    - 0
                    - 1
                    - 2
                    - 3
                    - 4
                  description: >-
                    0 - text | 1 - number | 2 - date | 3 - datetime | 4 -
                    true/false
                isBotField:
                  type: boolean
                  default: false
                value:
                  type: string
                  description: >-
                    The value of the bot field. It is ignored for the contact
                    custom field.
                description:
                  type: string
              example:
                name: lead_score
                type: 1
        required: true
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: integer
                    format: int64
                    description: The ID of the new custom field
                  name:
                    type: string
                example:
                  id: 1995
                  name: lead_score
components:
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-ACCESS-TOKEN
      description: >-
        API access token from your Fliqr AI dashboard (**Settings → API**). Send
        it in the `X-ACCESS-TOKEN` header on every request.

````