> ## Documentation Index
> Fetch the complete documentation index at: https://developers.portao3.com.br/llms.txt
> Use this file to discover all available pages before exploring further.

# /realms/{realmId}/organizations/{organizationId}/custom-fields



## OpenAPI

````yaml /api-reference/identity.openapi.json post /realms/{realmId}/organizations/{organizationId}/custom-fields
openapi: 3.0.3
info:
  title: Identity
  version: 1.0.0
  description: >-
    Portão 3 identity API. Generated by tools/openapi from code (routes +
    security) and the hand-written spec (request/response bodies). 5 app groups
    run without the identity authorizer; publicPatterns is a best-effort subset.
    Confidence tiers: generated:typed=34 copied:manual=4 unknown=108.
servers:
  - url: https://api.identity.v2.portao3.com.br/
    description: production
  - url: https://api.identity.dev.3pers.com.br/
    description: development
security:
  - bearerAuth: []
tags:
  - name: Authentication
  - name: Current User
  - name: Custom Fields
  - name: API Clients
  - name: Users
  - name: Organizations
  - name: Realms
  - name: Feature Flags
  - name: Global Config
  - name: Push
  - name: Support
  - name: User Onboarding
  - name: Internal
paths:
  /realms/{realmId}/organizations/{organizationId}/custom-fields:
    post:
      tags:
        - Custom Fields
      summary: /realms/{realmId}/organizations/{organizationId}/custom-fields
      operationId: postRealmsByRealmIdOrganizationsByOrganizationIdCustomFields
      parameters:
        - name: realmId
          in: path
          required: true
          schema:
            type: string
        - name: organizationId
          in: path
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                status:
                  type: string
                  enum:
                    - ACTIVE
                    - DEACTIVATED
                label:
                  type: string
                  minLength: 1
                type:
                  type: string
                  enum:
                    - TEXT
                    - NUMBER
                    - DATE
                    - BOOLEAN
                    - SELECT
                    - MULTI_SELECT
                    - CUSTOMER
                    - FILE
                    - MULTI_FILE
                    - NF
                identifier:
                  type: string
                  nullable: true
                externalIdentifier:
                  type: string
                location:
                  type: array
                  items:
                    type: string
                    enum:
                      - TRANSACTION
                      - SOLICITATION
                      - CARD
                      - WALLET
                      - CUSTOMER
                      - TRIP
                      - TRAVEL_PASSENGER
                values:
                  type: array
                  items: {}
                  nullable: true
                mask:
                  type: string
                  nullable: true
                required:
                  type: boolean
                description:
                  type: string
                  nullable: true
              required:
                - label
                - type
                - location
                - required
      responses:
        default:
          description: Undocumented response (no code type, no existing spec).
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````