List global custom field definitions
GET
/custom-fields/definitions/global
const url = 'https://projects.work.optidata.cloud/api/custom-fields/definitions/global?include_inactive=false';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”include_inactive
boolean
Responses
Section titled “Responses”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
type
string
description
string | null
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."}