---
title: "Set ticket custom fields"
method: PUT
path: "/api/v1/tickets/{ticket_id}/custom-fields"
tags: ["tickets"]
---

# Set ticket custom fields

`PUT /api/v1/tickets/{ticket_id}/custom-fields`

Set custom field values for a ticket (current desk only).

## Path parameters

- `ticket_id` string, required

## Request body

- CustomFieldValuesRequest — Request schema for setting custom field values on a ticket.
  - `custom_fields` object, required — Custom field values as key-value pairs for the current desk

## Response `200`

Successful Response

- CustomFieldValuesResponse — Response schema for custom field values.
  - `custom_fields` object — Custom field values for the current desk

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/harmony/apis/service-desk.md) · [All operations](https://skmtc.net/harmony/apis/service-desk/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/harmony/service-desk/revisions/abcdc6e980f3/schema)
