Onplana Custom Fields API

Custom field definitions and values for projects, tasks, proposals (PRO+)

GitHub OpenAPI

Operations 6

GET /custom-fields/definitions List custom-field definitions #
POST /custom-fields/definitions Create a custom-field definition #
PUT /custom-fields/definitions/{id} Update a custom-field definition #
DELETE /custom-fields/definitions/{id} Delete a custom-field definition #
GET /custom-fields/values Read custom-field values for an entity #
POST /custom-fields/values/bulk Set multiple custom-field values atomically #

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/onplana-com:onplana-com-custom-fields-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

onplana-com-custom-fields-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Onplana Custom Fields API
  version: 1.0.0
  description: AI-native Project Management System REST API. All org-scoped routes require the `X-Organization-Id` header. Most routes require a Bearer JWT obtained from `/auth/login`.
servers:
- url: /api
security:
- bearerAuth: []
- patAuth: []
tags:
- name: Custom Fields
  description: Custom field definitions and values for projects, tasks, proposals (PRO+)
paths:
  /custom-fields/definitions:
    get:
      tags:
      - Custom Fields
      summary: List custom-field definitions
      parameters:
      - $ref: '#/components/parameters/OrgHeader'
      - name: entityType
        in: query
        required: false
        schema:
          type: string
        description: PROJECT | TASK | PROPOSAL
      responses:
        '200':
          description: Array of CustomFieldDefinition
        '400':
          description: Validation error
        '401':
          description: Unauthorized - missing or invalid JWT
      operationId: getCustomFieldsDefinitions
      x-operation-id-source: derived
    post:
      tags:
      - Custom Fields
      summary: Create a custom-field definition
      description: 'Plan: `customFields` (PRO+).'
      parameters:
      - $ref: '#/components/parameters/OrgHeader'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  minLength: 1
                  maxLength: 100
                description:
                  type: string
                fieldType:
                  type: string
                  enum:
                  - TEXT
                  - TEXTAREA
                  - NUMBER
                  - DATE
                  - DROPDOWN
                  - MULTI_SELECT
                  - CHECKBOX
                  - URL
                  - EMAIL
                  - PHONE
                  - CURRENCY
                  - RATING
                entityType:
                  type: string
                  enum:
                  - PROJECT
                  - TASK
                  - PROPOSAL
                options:
                  maxItems: 1000
                  type: array
                  items:
                    type: string
                  description: The choices, for a choice field
                required:
                  type: boolean
                defaultValue:
                  type: string
                order:
                  type: number
                showInGrid:
                  type: boolean
                projectId:
                  nullable: true
                  type: string
                  description: A project id scopes the field to that project; null or left out makes it organization-wide
              required:
              - name
              - fieldType
              - entityType
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomFieldDefinition'
        '400':
          description: Validation error
        '401':
          description: Unauthorized - missing or invalid JWT
        '402':
          description: Plan gate - feature not available on current plan
        '403':
          description: Forbidden - insufficient role
      operationId: postCustomFieldsDefinitions
      x-operation-id-source: derived
  /custom-fields/definitions/{id}:
    put:
      tags:
      - Custom Fields
      summary: Update a custom-field definition
      parameters:
      - $ref: '#/components/parameters/OrgHeader'
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  minLength: 1
                  maxLength: 100
                description:
                  type: string
                fieldType:
                  type: string
                  enum:
                  - TEXT
                  - TEXTAREA
                  - NUMBER
                  - DATE
                  - DROPDOWN
                  - MULTI_SELECT
                  - CHECKBOX
                  - URL
                  - EMAIL
                  - PHONE
                  - CURRENCY
                  - RATING
                entityType:
                  type: string
                  enum:
                  - PROJECT
                  - TASK
                  - PROPOSAL
                options:
                  maxItems: 1000
                  type: array
                  items:
                    type: string
                required:
                  type: boolean
                defaultValue:
                  type: string
                order:
                  type: number
                showInGrid:
                  type: boolean
              description: Any subset of the fields; a field left out keeps its stored value. projectId is ignored here
      responses:
        '200':
          description: Updated
        '400':
          description: Validation error
        '401':
          description: Unauthorized - missing or invalid JWT
        '402':
          description: Plan gate - feature not available on current plan
        '403':
          description: Forbidden - insufficient role
        '404':
          description: Not found
      operationId: putCustomFieldsDefinitionsById
      x-operation-id-source: derived
    delete:
      tags:
      - Custom Fields
      summary: Delete a custom-field definition
      description: Existing values on records are also removed.
      parameters:
      - $ref: '#/components/parameters/OrgHeader'
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Deleted
        '400':
          description: Validation error
        '401':
          description: Unauthorized - missing or invalid JWT
        '402':
          description: Plan gate - feature not available on current plan
        '403':
          description: Forbidden - insufficient role
        '404':
          description: Not found
      operationId: deleteCustomFieldsDefinitionsById
      x-operation-id-source: derived
  /custom-fields/values:
    get:
      tags:
      - Custom Fields
      summary: Read custom-field values for an entity
      parameters:
      - $ref: '#/components/parameters/OrgHeader'
      - name: entityType
        in: query
        required: true
        schema:
          type: string
        description: PROJECT | TASK | PROPOSAL
      - name: entityId
        in: query
        required: true
        schema:
          type: string
      responses:
        '200':
          description: '{ values: { fieldId: value, … } }'
        '400':
          description: Validation error
        '401':
          description: Unauthorized - missing or invalid JWT
      operationId: getCustomFieldsValues
      x-operation-id-source: derived
  /custom-fields/values/bulk:
    post:
      tags:
      - Custom Fields
      summary: Set multiple custom-field values atomically
      parameters:
      - $ref: '#/components/parameters/OrgHeader'
      description: 'All or nothing: an entry for a record the caller may not edit refuses the whole request. An unticked checkbox ("false") is stored as no value.'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                values:
                  minItems: 1
                  maxItems: 2000
                  type: array
                  items:
                    type: object
                    properties:
                      fieldId:
                        type: string
                      entityId:
                        type: string
                      entityType:
                        type: string
                        enum:
                        - PROJECT
                        - TASK
                        - PROPOSAL
                      value:
                        nullable: true
                        type: string
                    required:
                    - fieldId
                    - entityId
                    - entityType
                    - value
                  description: One entry per field and record; value null clears it. At most 2000 entries per request
              required:
              - values
      responses:
        '200':
          description: The saved values
        '400':
          description: Validation error
        '401':
          description: Unauthorized - missing or invalid JWT
        '402':
          description: Plan gate - feature not available on current plan
        '403':
          description: Forbidden - insufficient role
      operationId: postCustomFieldsValuesBulk
      x-operation-id-source: derived
components:
  parameters:
    OrgHeader:
      name: X-Organization-Id
      in: header
      required: true
      description: UUID of the active organization. Sets org context for all scoped operations.
      schema:
        type: string
  schemas:
    CustomFieldDefinition:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        entityType:
          type: string
          enum:
          - PROJECT
          - TASK
          - PROPOSAL
        fieldType:
          type: string
          enum:
          - TEXT
          - NUMBER
          - DATE
          - DROPDOWN
          - USER
          - CHECKBOX
        options:
          type: array
          items:
            type: string
          description: 'For DROPDOWN: choice values.'
        required:
          type: boolean
        order:
          type: integer
        organizationId:
          type: string
          format: uuid
      required:
      - id
      - name
      - entityType
      - fieldType
      - organizationId
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    patAuth:
      type: apiKey
      in: header
      name: Authorization
      description: 'Personal Access Token: `Authorization: Bearer pat_<token>`. Org context is embedded in the token - no `X-Organization-Id` header required.'
    oauthApp:
      type: oauth2
      description: Third-party OAuth app (confidential client). Register the app under Settings > Developer > OAuth apps; the person approving picks the workspace the token acts in. Tokens last 90 days and extend while in use; there is no refresh token, so a dormant connection re-consents.
      flows:
        authorizationCode:
          authorizationUrl: /oauth/authorize
          tokenUrl: /oauth/token
          scopes:
            tasks: Read and write the tasks assigned to the person, read their projects, log their time.
            schedule: Read projects and create or update them (publish a schedule).
            mcp: The MCP tool surface, as a member-capped agent persona.
            webhooks: Create, list, change and delete the app's own webhook subscriptions.