List a card's custom field values
const url = 'https://projects.work.optidata.cloud/api/boards/1/cards/1/custom-fields';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/boards/1/cards/1/custom-fields \ --header 'Authorization: Bearer <token>'Returns the card’s stored custom field values (active definitions only), each with its definition embedded.
Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”Board id.
Card id (must belong to the board).
Responses
Section titled “ Responses ”Custom field values.
A stored custom field value. Exactly one value_* column is populated, matching the definition’s type.
object
Definition of a custom field. board_id null (and is_global true) means tenant-wide.
object
Type-specific configuration. Examples — text: {multiline, max_length, placeholder, default_value};
select: {options: [{id, label, color}]}; checkbox: {default_value}.
Required fields block card interactions (comments, files, timers) until filled.
Example
[ { "id": 800, "card_id": 9001, "definition_id": 12, "value_text": "High", "value_integer": null, "value_decimal": null, "value_datetime": null, "value_boolean": null, "value_json": null, "definition": { "id": 12, "board_id": 42, "name": "Priority", "type": "select", "description": null, "config": { "options": [ { "id": "opt-1", "label": "High", "color": "#ef4444" }, { "id": "opt-2", "label": "Low", "color": "#22c55e" } ] }, "order": 0, "is_required": false, "is_active": true, "is_global": false } }]Missing, invalid or expired bearer passport.
object
Example
{ "error": "JWT passport exception: Missing bearer token in request"}The authenticated user lacks the required board permission.
object
Example
{ "message": "This action is unauthorized."}Resource not found, or a nested resource does not belong to its parent in the path.
object
Example
{ "message": "Not found."}