---
title: "Update Form By Id"
method: PUT
path: "/api/v1/form/{form_id}"
tags: ["Form"]
---

# Update Form By Id

`PUT /api/v1/form/{form_id}`

Update variable

## Path parameters

- `form_id` string, uuid, required

## Request body

- IFormUpdate
  - `org_id` string, uuid, nullable
  - `name` string, nullable
  - `trigger_instructions` string, nullable
  - `form_type` 'natural' | 'simple'
  - `attributes` object, nullable
  - `fields` unknown[], nullable
    - unknown
  - `webhook_id` string, uuid, nullable
  - `trigger_tools` unknown[], nullable
    - unknown
  - `contact_mapping` object, nullable

## Response `200`

Successful Response

- IPutResponseBaseIFormUpdate
  - `message` string, nullable
  - `meta` union
    - object
    - unknown
  - `data` IFormUpdate
    - `org_id` string, uuid, nullable
    - `name` string, nullable
    - `trigger_instructions` string, nullable
    - `form_type` 'natural' | 'simple'
    - `attributes` object, nullable
    - `fields` unknown[], nullable
      - unknown
    - `webhook_id` string, uuid, nullable
    - `trigger_tools` unknown[], nullable
      - unknown
    - `contact_mapping` object, nullable

## Other responses

- `422` — Validation Error

---

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