---
title: "Create Custom Field Template"
method: POST
path: "/v3/custom-fields/template/create"
tags: ["[v3] Custom Fields"]
---

# Create Custom Field Template

`POST /v3/custom-fields/template/create`

Create Custom Field Template

## Headers

- `Accept` string
- `Content-Type` string

## Request body

- object
  - `name` string, required — Name of the custom field template
  - `resourceType` 'user' | 'task' | 'entry', required — Key of the resource type this template applies to
  - `required` boolean — Whether this field is required
  - `status` integer — Status of the template
  - `fieldType` 'number' | 'string', required — Type of the custom field
  - `defaultValue` string, nullable — Default value for the field (must match field type), must be provided if field is required
  - `fieldOptions` object[], nullable — Configuration options for the field

## Response `200`

Custom field template created successfully

- object
  - `data` object
    - `id` integer — ID of the created template
    - `name` string — Name of the template
    - `resourceType` string — Resource type
    - `required` boolean — Whether the field is required
    - `status` integer — Template status
    - `fieldType` string — Field type
    - `defaultValue` string, nullable — Default value
    - `fieldOptions` object[], nullable — Field options

## Other responses

- `400` — Bad Request - Validation errors
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

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