---
title: "Listing custom-fields of a job template"
method: GET
path: "/job-templates/{jobTemplateId}/custom-fields"
tags: ["Job Templates"]
---

# Listing custom-fields of a job template

`GET /job-templates/{jobTemplateId}/custom-fields`

Returns a list of custom fields of a job template.

## Path parameters

- `jobTemplateId` integer, required

## Response `200`

An array of job template custom fields

- JobTemplateCustomFields — An array of job template custom field
  - `results` JobCustomField[], required
    - `id` string — Custom field id
    - `label` string — Custom field label
    - `value` union — Custom field provided value
      - string
      - string[]
    - `type` 'select' | 'multiSelect' | 'text' | 'boolean' | 'number' | 'date' | 'time' — Custom field type
    - `order` integer — Custom field order of appearance when editing a job
    - `required` boolean — Informs if this custom field response is mandatory
    - `enum` string[] — Possible options to be provided as value
  - `totalResults` integer
  - `page` integer
  - `totalPages` integer

## Other responses

- `400` — BadRequest / Invalid Input
- `401` — Unauthorized
- `403` — Forbidden

---

[API](https://skmtc.net/gupy/apis/gupy-public-api.md) · [All operations](https://skmtc.net/gupy/apis/gupy-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gupy/gupy-public-api/revisions/3f26defa2a42/schema)
