Skip to content

List global custom field definitions

GET
/custom-fields/definitions/global
curl --request GET \
--url 'https://projects.work.optidata.cloud/api/custom-fields/definitions/global?include_inactive=false' \
--header 'Authorization: Bearer <token>'

Returns tenant-wide (global) definitions that apply to every board. Pass include_inactive=1 to include deactivated ones.

include_inactive
boolean

Global definitions (board_id is null, is_global true).

Media typeapplication/json
Array<object>

Definition of a custom field. board_id null (and is_global true) means tenant-wide.

object
id
integer
board_id
integer | null
name
string
>= 1 characters <= 60 characters
type
string
Allowed values: text number select checkbox date person
description
string | null
<= 250 characters
config

Type-specific configuration. Examples — text: {multiline, max_length, placeholder, default_value}; select: {options: [{id, label, color}]}; checkbox: {default_value}.

object | null
order
integer
is_required

Required fields block card interactions (comments, files, timers) until filled.

boolean
is_active
boolean
is_global
boolean
created_at
string format: date-time
updated_at
string format: date-time
deleted_at
string | null format: date-time
Example
[
{
"id": 95,
"board_id": null,
"name": "Cost center",
"type": "text",
"description": null,
"config": {
"multiline": false,
"max_length": 500,
"placeholder": null,
"default_value": null
},
"order": 0,
"is_required": false,
"is_active": true,
"is_global": true,
"created_at": "2026-03-18T17:53:13.000000Z",
"updated_at": "2026-03-31T20:01:55.000000Z",
"deleted_at": null
}
]

Missing, invalid or expired bearer passport.

Media typeapplication/json
object
error
string
Example
{
"error": "JWT passport exception: Missing bearer token in request"
}

The authenticated user lacks the required board permission.

Media typeapplication/json
object
message
string
Example
{
"message": "This action is unauthorized."
}