Skip to content

Fetch a Custom Field Definition

GET https://api.copper.com/developer_api/v1/custom_field_definitions/{{custom_field_definition_id}}

Example Requests

Custom Field Definitioin

curl --request GET "https://api.copper.com/developer_api/v1/custom_field_definitions/126240" \
  --header "X-PW-AccessToken: YOUR_TOKEN_HERE" \
  --header "X-PW-Application: developer_api" \
  --header "X-PW-UserEmail: YOUR_EMAIL_HERE" \
  --header "Content-Type: application/json"
{
  "id": 126240,
  "name": "Color option",
  "data_type": "Dropdown",
  "available_on": [
    "opportunity",
    "project"
  ],
  "is_filterable": false,
  "options": [
    {
      "id": 167776,
      "name": "Yellow",
      "rank": 4
    },
    {
      "id": 167775,
      "name": "Orange",
      "rank": 3
    },
    {
      "id": 167774,
      "name": "Blue",
      "rank": 2
    },
    {
      "id": 167773,
      "name": "Green",
      "rank": 1
    },
    {
      "id": 167772,
      "name": "Red",
      "rank": 0
    }
  ]
}