Create a new Custom Field on a board.
TrelloID
Requiredstring
Requiredstring
Requiredstring
Requiredstring
oneOf [string, number]
Requiredboolean
Success
1
2
3
4
5
6
7
8
9
10
11
12
13
curl --request POST \
--url 'https://api.trello.com/1/customFields?key=APIKey&token=APIToken' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"idModel": "5abbe4b7ddc1b351ef961414",
"modelType": "board",
"name": "<string>",
"type": "checkbox",
"options": "<string>",
"pos": "top",
"display_cardFront": true
}'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
"id": "5abbe4b7ddc1b351ef961414",
"idModel": "586e8f681d4fe9b06a928307",
"modelType": "board",
"fieldGroup": "f6177ba6839d6fff0f73922c1cea105e793fda8a1433d466104dacc0b7c56955",
"display": {
"cardFront": true,
"name": "Priority 🏔",
"pos": "98304,",
"options": [
{
"id": "5abbe4b7ddc1b351ef961414",
"idCustomField": "5abbe4b7ddc1b351ef961414",
"value": {
"text": "High"
},
"color": "red",
"pos": 16384
}
]
},
"type": "list"
}
TrelloID
RequiredSuccess
1
2
3
curl --request GET \
--url 'https://api.trello.com/1/customFields/{id}?key=APIKey&token=APIToken' \
--header 'Accept: application/json'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
"id": "5abbe4b7ddc1b351ef961414",
"idModel": "586e8f681d4fe9b06a928307",
"modelType": "board",
"fieldGroup": "f6177ba6839d6fff0f73922c1cea105e793fda8a1433d466104dacc0b7c56955",
"display": {
"cardFront": true,
"name": "Priority 🏔",
"pos": "98304,",
"options": [
{
"id": "5abbe4b7ddc1b351ef961414",
"idCustomField": "5abbe4b7ddc1b351ef961414",
"value": {
"text": "High"
},
"color": "red",
"pos": 16384
}
]
},
"type": "list"
}
Update a Custom Field definition.
TrelloID
Requiredstring
oneOf [string, number]
boolean
Success
1
2
3
4
5
6
7
8
9
curl --request PUT \
--url 'https://api.trello.com/1/customFields/{id}?key=APIKey&token=APIToken' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"pos": "top",
"display/cardFront": true
}'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
"id": "5abbe4b7ddc1b351ef961414",
"idModel": "586e8f681d4fe9b06a928307",
"modelType": "board",
"fieldGroup": "f6177ba6839d6fff0f73922c1cea105e793fda8a1433d466104dacc0b7c56955",
"display": {
"cardFront": true,
"name": "Priority 🏔",
"pos": "98304,",
"options": [
{
"id": "5abbe4b7ddc1b351ef961414",
"idCustomField": "5abbe4b7ddc1b351ef961414",
"value": {
"text": "High"
},
"color": "red",
"pos": 16384
}
]
},
"type": "list"
}
Delete a Custom Field from a board.
TrelloID
RequiredSuccess
1
2
curl --request DELETE \
--url 'https://api.trello.com/1/customFields/{id}?key=APIKey&token=APIToken'
Get the options of a drop down Custom Field
TrelloID
RequiredSuccess
1
2
curl --request GET \
--url 'https://api.trello.com/1/customFields/{id}/options?key=APIKey&token=APIToken'
Add an option to a dropdown Custom Field
TrelloID
RequiredSuccess
1
2
curl --request POST \
--url 'https://api.trello.com/1/customFields/{id}/options?key=APIKey&token=APIToken'
Retrieve a specific, existing Option on a given dropdown-type Custom Field
TrelloID
RequiredTrelloID
RequiredSuccess
1
2
curl --request GET \
--url 'https://api.trello.com/1/customFields/{id}/options/{idCustomFieldOption}?key=APIKey&token=APIToken'
Delete an option from a Custom Field dropdown.
TrelloID
RequiredTrelloID
RequiredSuccess
1
2
curl --request DELETE \
--url 'https://api.trello.com/1/customFields/{id}/options/{idCustomFieldOption}?key=APIKey&token=APIToken'
Rate this page: