---
title: "Retrieve custom fields for a contract"
method: GET
path: "/contracts/{contract_id}/custom_fields"
tags: ["customFieldsContracts"]
---

# Retrieve custom fields for a contract

`GET /contracts/{contract_id}/custom_fields`

## Request

- Base URL: `https://api.letsdeel.com/rest`
- URL: `https://api.letsdeel.com/rest/contracts/{contract_id}/custom_fields`
- Auth: HTTP bearer

Returns the custom field values set on the specified contract. Use it to read the values recorded for one contract, for example to show or sync them in your own system, rather than the contract custom field definitions; GET /contracts/custom_fields lists those definitions, and GET /contracts/custom_fields/{id} returns one of them.

 **Token scopes**: `contracts:read`

## Path parameters

- `contract_id` string, required

## Response `200`

Successful response

- CustomFieldsContractsGetContractCustomFieldsResponse200
  - `data` ContractsContractIdCustomFieldsGetResponsesContentApplicationJsonSchemaDataItems[], required
    - `id` string, uuid, required: UUID for the custom field value
    - `data` union, required
      - ContractsContractIdCustomFieldsGetResponsesContentApplicationJsonSchemaDataItemsData0: Text type
        - `value` string
      - ContractsContractIdCustomFieldsGetResponsesContentApplicationJsonSchemaDataItemsData1: Number type
        - `value` number, double
      - ContractsContractIdCustomFieldsGetResponsesContentApplicationJsonSchemaDataItemsData2: Date type: YYYY-MM-DD
        - `value` string, date
      - ContractsContractIdCustomFieldsGetResponsesContentApplicationJsonSchemaDataItemsData3: Percentage type
        - `text` string
        - `value` number, double
      - ContractsContractIdCustomFieldsGetResponsesContentApplicationJsonSchemaDataItemsData4: Currency type
        - `amount` number, double
        - `currency` string: The currency code in ISO 4217 format
      - ContractsContractIdCustomFieldsGetResponsesContentApplicationJsonSchemaDataItemsData5: List type
        - `option` string
      - ContractsContractIdCustomFieldsGetResponsesContentApplicationJsonSchemaDataItemsData6: Multiselect type
        - `options` string[]
    - `name` string, required: Name of the custom field
    - `type` 'text' | 'number' | 'currency' | 'date' | 'percentage' | 'list' | 'multiselect' | 'hyperlink', required: Type of the custom field

## Other responses

- `400`: Operation failed.
- `401`: Operation failed.
- `403`: Operation failed.
- `404`: Custom fields Not found
- `500`: Operation failed.

## Changes

- **2026-10-16** `f82dab25414a`: 1 warning
  - added the new `hyperlink` enum value to the `data/items/type` response property for the response status `200`

[Operation history](https://skmtc.dev/deel/apis/hris-endpoints/changes/contracts/:contract_id/custom_fields/get.md)

---

[API](https://skmtc.dev/deel/apis/hris-endpoints.md) - [All operations](https://skmtc.dev/deel/apis/hris-endpoints/llms.txt) - [OpenAPI document](https://skmtc.dev/deel/apis/hris-endpoints/revisions/b7b456c45a40?raw)
