---
title: "Edit one of the caller company's custom questions"
method: PUT
path: "/api/c2c-custom-questions/{id}"
tags: ["Companies"]
---

# Edit one of the caller company's custom questions

`PUT /api/c2c-custom-questions/{id}`

## Request

- Base URL: `https://api.retraced.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.retraced.com/api/c2c-custom-questions/{id}`
- Auth: none declared

Writes the given `title`, `hintText` and/or `apiFieldIdentifier` to one of the caller company's own live questions, stamping who changed it, and answers it as stored, with its options. An omitted key is left as stored; a null hint or identifier clears it. 404 `not_found` for an unknown or removed question, or another company's; 403 `default_question_cannot_be_modifies_by_non_admin` for a default question; 409 `api_field_identifier_is_already_in_use` when another of the company's live questions has the identifier — legacy meant to refuse that but never did. Legacy also took `isRemoved`, a second delete path next to `bulk-remove`; any key but these three is a 400. Legacy answered the bare question without its options; this answers `{ data, metadata }`.

## Path parameters

- `id` string, required

## Request body

- object
  - `title` string
  - `hintText` string, nullable
  - `apiFieldIdentifier` string, nullable

## Response `200`

Default Response

- object
  - `metadata` object, required
    - `success` boolean, required: True when the request succeeded.
  - `data` object, required
    - `id` string, required
    - `isDefault` number, required
    - `isRemoved` number, required
    - `title` string, required
    - `hintText` string, nullable, required
    - `type` string, required
    - `apiFieldIdentifier` string, nullable, required
    - `fromCompanyId` string, nullable, required
    - `createdAt` string, nullable, required
    - `createdByImpersonateId` string, nullable, required
    - `createdByUserId` string, nullable, required
    - `createdByCompanyId` string, nullable, required
    - `createdByApiKeyId` string, nullable, required
    - `createdByApiKeyLabel` string, nullable, required
    - `updatedAt` string, nullable, required
    - `updatedByImpersonateId` string, nullable, required
    - `updatedByImpersonateName` string, nullable, required
    - `updatedByUserId` string, nullable, required
    - `updatedByUserName` string, nullable, required
    - `updatedByCompanyId` string, nullable, required
    - `updatedByCompanyName` string, nullable, required
    - `updatedByApiKeyId` string, nullable, required
    - `updatedByApiKeyLabel` string, nullable, required
    - `options` object[], required
      - `id` string, required
      - `questionId` string, required
      - `key` string, nullable, required
      - `value` string, nullable, required
      - `unit` string, nullable, required
      - `retracedMapId` string, nullable, required

## Other responses

- `400`: Default Response
- `401`: Default Response
- `403`: Default Response
- `404`: Default Response
- `409`: Default Response

## Changes

> 108 revisions in range; 2 not diffed.

- **2026-10-18** `635b52ded6a8`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/retraced/apis/api-reference/changes/api/c2c-custom-questions/:id/put.md)

---

[API](https://skmtc.dev/retraced/apis/api-reference.md) - [All operations](https://skmtc.dev/retraced/apis/api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/retraced/apis/api-reference/revisions/83309c4abd20?raw)
