---
title: "Fetch Custom Field"
method: GET
path: "/api/v2/custom_fields/{id}"
tags: ["Custom Fields"]
---

# Fetch Custom Field

`GET /api/v2/custom_fields/{id}`

Fetch a Custom Field

## Path parameters

- `id` string, uuid, required

## Response `200`

The request has succeeded.

- ResponsesCustomFieldShow
  - `id` string, uuid, required
  - `transition_type` 'pre_offer' | 'offer' | 'post_offer' | 'onboarding' | 'offboarding', required
  - `name` string, required
  - `key` string, required
  - `data_type` string, required
  - `mandatory` boolean, required
  - `mapping` string
  - `validation_rule` string
  - `regexp_pattern` string — Required if validation_rule is regexp
  - `allowed_values` string[], required — Required if validation_rule is list
  - `list_of_values_map_id` string, required — Required if validation_rule is list_of_values_map
  - `created_at` string, required
  - `deactivated` boolean
  - `rule_settable` boolean — Used in Assignment Rules
  - `placeholderable` boolean — Used in placeholders
  - `allowed_rule_set_types` string[], required
  - `allowed_placeholder_type` string[], required
  - `workday_organization_type` string — Required if validation_rule is workday_organization

## Other responses

- `404` — The server cannot find the requested resource.

---

[API](https://skmtc.net/xpand-io/apis/xpand-api.md) · [All operations](https://skmtc.net/xpand-io/apis/xpand-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/xpand-io/xpand-api/versions/85bece7875fd/schema)
