Skip to main content
PUT
/
api
/
v1
/
form
/
{form_id}
Update Form By Id
curl --request PUT \
  --url 'https://api.example.com/api/v1/form/{form_id}?api_key=' \
  --header 'Content-Type: application/json' \
  --data '
{
  "org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "trigger_instructions": "<string>",
  "form_type": "natural",
  "attributes": {},
  "fields": [
    "<unknown>"
  ],
  "webhook_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "trigger_tools": [
    "<unknown>"
  ],
  "contact_mapping": {}
}
'
{
  "message": "Data updated successfully",
  "meta": {},
  "data": {
    "org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "trigger_instructions": "<string>",
    "form_type": "natural",
    "attributes": {},
    "fields": [
      "<unknown>"
    ],
    "webhook_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "trigger_tools": [
      "<unknown>"
    ],
    "contact_mapping": {}
  }
}

Authorizations

api_key
string
query
required

Your API key for authentication. You can generate it from the Settings page. Format: starts with in-.

Path Parameters

form_id
string<uuid>
required

Body

application/json
org_id
string<uuid> | null
name
string | null
trigger_instructions
string | null
form_type
enum<string> | null
Available options:
natural,
simple
attributes
Attributes · object
fields
any[] | null
webhook_id
string<uuid> | null
trigger_tools
any[] | null
contact_mapping
Contact Mapping · object

Response

Successful Response

message
string | null
default:Data updated successfully
meta
Meta · object
data
IFormUpdate · object