Add a custom field
Add the specified custom field to the card, with the given value.
Parameters
custom_field
string
required
ID of the custom field.
value
string|array|number|date|boolean|url|email
Custom field value associated with the card.
value.*
string (required when type is multi_list)
ID of the option.
Returns
Returns the added custom field value object. Throws an error if some parameters are not valid.
post
/api/cards/{id}/custom-fields
curl -X POST https://{workspace}.kitchen.co/api/cards/{id}/custom-fields \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'X-Requested-With: XMLHttpRequest' \
-H 'Authorization: Bearer {API_KEY}'
Response
{
"id": "cf_b5fa830bd5d732626231ff89",
"value": [
"uL3haLfAeE258Lt6E8sjtyqg",
"XN8Lb7veiE6w7qrEFuHMstnS"
]
}