LeanLaw Custom Field API

The CustomField API from LeanLaw — 1 operation(s) for customfield.

Operations 1

GET /v2/custom-fields Get custom field definitions #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/leanlaw-customfield-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

leanlaw-customfield-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: LeanLaw Custom Field API
  description: This API enables access to a LeanLaw account. For documentation, see https://platform.leanlaw.io
  version: v1
servers:
- url: https://api.leanlaw.io
security:
- BearerAuth: []
tags:
- name: CustomField
paths:
  /v2/custom-fields:
    get:
      tags:
      - CustomField
      summary: Get custom field definitions
      description: "Lists the firm's custom field definitions across all entity types. \nField definitions are managed in the LeanLaw application; this endpoint is read-only."
      operationId: ListCustomFields
      parameters:
      - name: entity
        in: query
        description: Only return custom fields for this entity type
        schema:
          $ref: '#/components/schemas/CustomFieldEntityType'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomFieldListIEnumerableResponse'
components:
  schemas:
    CustomFieldOption:
      required:
      - label
      - optionId
      type: object
      properties:
        optionId:
          type: string
          description: The id of the option. This is the value to use when setting the field on a record.
          format: uuid
        label:
          minLength: 1
          type: string
          description: The label of the option
      additionalProperties: false
      description: An option available on an "enum" custom field
    CustomFieldValueType:
      enum:
      - text
      - boolean
      - number
      - date
      - enum
      type: string
      description: The type of the custom field. "Enum" fields are enumerated fields with a set of possible values, the values are outlined in the 'options' property.
    CustomFieldList:
      required:
      - entity
      - id
      - name
      - valueType
      type: object
      properties:
        id:
          minLength: 1
          type: string
          description: The id of the custom field.
        entity:
          $ref: '#/components/schemas/CustomFieldEntityType'
        name:
          minLength: 1
          type: string
          description: The current name (label) of the field
        valueType:
          $ref: '#/components/schemas/CustomFieldValueType'
        options:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/CustomFieldOption'
          description: The options available for "enum" fields, in display order. Omitted for other value types.
      additionalProperties: false
      description: A custom field definition
    CustomFieldListIEnumerableResponse:
      type: object
      properties:
        data:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/CustomFieldList'
          description: The data returned by the API
      additionalProperties: false
      description: Standardized API response wrapper for single item responses
    CustomFieldEntityType:
      enum:
      - client
      - matter
      - user
      type: string
      description: The entity type a custom field belongs to
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer