Zoho: Update a specific webform by ID
Zoho webforms.updateWebform: arguments, response, policy and SDK examples.
← Webforms operations · Get started
Operation zoho.updatewebform
Provider route: PUT /crm/v8/settings/webforms/{id}. Alter supplies the connection’s credentials and routing.
Call through Alter
Section titled “Call through Alter”Install @alter-ai/sdk @alter-ai/zoho with npm, or alter-sdk-zoho with pip. Supply your connected customer’s grant ID and the arguments described below.
import { App } from "@alter-ai/sdk";import { ZohoIntegration } from "@alter-ai/zoho";
async function execute(input: Parameters<ZohoIntegration["webforms"]["updateWebform"]>[0]) { const app = new App({ apiKey: process.env.ALTER_API_KEY! }); try { const provider = new ZohoIntegration(app, { grantId: process.env.PROVIDER_GRANT_ID! }); const call = await provider.webforms.updateWebform(input); const result = await call.wait(); return result.bodyJson(); } finally { await app.close(); }}import osfrom alter_sdk import Appfrom alter_sdk_zoho import ZohoIntegration
async def execute(arguments): async with App(api_key=os.environ["ALTER_API_KEY"]) as app: provider = ZohoIntegration(app, {"grant_id": os.environ["PROVIDER_GRANT_ID"]}) call = await provider.webforms.update_webform(arguments) result = await call.wait() return result.body_json()| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: not allowed |
path | object | Required within parent | Additional keys: not allowed |
path.id | string | Required within parent | Maximum length: 255 |
query | object | Required within parent | Additional keys: not allowed |
query.module | string | Required within parent | One of: Leads |
body | Model | Optional | Expand Update webforms in Zoho CRM — request body — body |
Referenced models: Update webforms in Zoho CRM — request body — body
Response
Section titled “Response”Response media type: application/json. The table describes the pinned successful response. Referenced models link to their complete fields.
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | Model | Root | Expand Delete a webform by ID — response body |
Referenced models: Delete a webform by ID — response body
Schemas
Section titled “Schemas”25 more schemas are linked from the tables above, on the schema pages.
Delete a webform by ID — response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the success response for a webform create or update operation, including the result status for each webform. Additional keys: not allowed |
webforms | array | Optional | Contains the list of webform result objects in the success response. Maximum items: 1 |
webforms[] | Model | Each item | Expand Delete a webform by ID — response body — webforms item |
Referenced models: Delete a webform by ID — response body — webforms item
Update webforms in Zoho CRM — request body — body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the request body for creating or updating webforms. The request body must contain a webforms array with one object. Additional keys: not allowed |
webforms | array | Required within parent | Contains the list of webform configuration objects included in the request body. Maximum items: 1 |
webforms[] | Model | Each item | Expand Update webforms in Zoho CRM — request body — body webforms item |
Referenced models: Update webforms in Zoho CRM — request body — body webforms item
Delete a webform by ID — response body — webforms item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents an API success response, including the status code, message, and additional details. Additional keys: not allowed |
code | string | Optional | Represents the status code of the API response. Known values: SUCCESS |
details | object | Optional | Represents additional details about the API response, such as the ID of the created or modified resource. Additional keys: allowed |
message | string | Optional | Represents the response message describing the outcome of the operation. Maximum length: 255 |
status | string | Optional | Represents the status of the API response. Possible values: success - The operation was successful. Known values: success |
Update webforms in Zoho CRM — request body — body webforms item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the request body schema for creating or updating webforms. The request body must contain a webforms array with one object. Additional keys: not allowed |
acknowledge_visitor | Model | Optional | Expand Update webforms in Zoho CRM — request body — body webforms item acknowledge visitor To acknowledge the visitor auto response rule after the submission |
action_on_submit | string | Required within parent | Specify the action performed after the visitor submits the webform. Possible values: splash_message - Displays a splash message. thank_you_message - Displays a thank-you message. redirect_url - Redirects the visitor to a specified URL. One of: splash_message, thank_you_message, redirect_url Maximum length: 20 |
action_value | null or string | Optional | Specify the value associated with the action performed after webform submission, such as the redirect URL or message content. Maximum length: 2000 |
analytics_data | Model | Optional | Expand Update webforms in Zoho CRM — request body — body webforms item analytics data contains analytic data |
approval_request | boolean or null | Optional | Specify whether submitted records require manual approval before being added to Zoho CRM. Possible values: true - Manual approval is required. false - Records are added without manual approval. |
assignment_rule | Model | Optional | Expand Update webforms in Zoho CRM — request body — body webforms item assignment rule Contains assignment rule details |
button_attributes | array or null | Optional | Specify the button attribute configurations for the webform, such as the Submit and Reset buttons. Maximum items: 2 |
button_attributes[] | Model | Each item | Expand Update webforms in Zoho CRM — request body — body webforms item button attributes item |
create_contact | boolean or null | Optional | Specify whether the system also creates a Contacts record when the webform is submitted. Possible values: true - The system also creates a Contacts record. false - The system creates only a Leads record. |
double_optin_details | Model | Optional | Expand Update webforms in Zoho CRM — request body — body webforms item double optin details Contain template details |
double_optin_enabled | boolean or null | Optional | Specify whether double opt-in confirmation is enabled for the webform. Possible values: true - Double opt-in is enabled. false - Double opt-in is disabled. |
form_attributes | Model | Optional | Expand Update webforms in Zoho CRM — request body — body webforms item form attributes Attributes of the form like font, style,size etc., |
form_fields | array | Required within parent | Specify the list of form field configurations to include in the webform. Maximum items: 50 |
form_fields[] | Model | Each item | Expand Update webforms in Zoho CRM — request body — body webforms item form fields item |
id | string | Optional | Specify the unique identifier of the webform to update. Maximum length: 255 |
layout | Model | Required within parent | Expand Get webforms — response body — webforms item layout Layout of the module (Required) |
location_url | array | Required within parent | Specify the list of URLs of the pages where the webform is hosted. Maximum items: 20 |
location_url[] | string | Each item | Specify a single URL of a page where the webform is hosted. Maximum length: 2000 |
module | Model | Required within parent | Expand Get webforms — response body — webforms item module Details of the module for which form was created (Required) |
name | string | Required within parent | Specify the name of the webform. Maximum length: 128 |
notify_owner | Model | Optional | Expand Update webforms in Zoho CRM — request body — body webforms item notify owner We can notify the owner once form submitted by the user through system generated mail or custom template |
owner | Model | Optional | Expand Update webforms in Zoho CRM — request body — body webforms item owner Owner to whom which form should assign |
spam_control | Model | Optional | Expand Update webforms in Zoho CRM — request body — body webforms item spam control spam control |
tags | array or null | Optional | Specify the list of tags to associate with the webform. Maximum items: 10 |
tags[] | Model | Each item | Expand Update webforms in Zoho CRM — request body — body webforms item tags item |
type | string | Required within parent | Specify the type of the form. Possible values: webform - A standard webform. portalform - A portal form for registered portal users. One of: webform, portalform Maximum length: 255 |
user_type | Model | Optional | Expand Update webforms in Zoho CRM — request body — body webforms item user type portal form details |
visitor_tracking | Model | Optional | Expand Update webforms in Zoho CRM — request body — body webforms item visitor tracking To track visitors, record active history and to generate analytics |
Referenced models: Update webforms in Zoho CRM — request body — body webforms item acknowledge visitor, Update webforms in Zoho CRM — request body — body webforms item analytics data, Update webforms in Zoho CRM — request body — body webforms item assignment rule, Update webforms in Zoho CRM — request body — body webforms item double optin details, Update webforms in Zoho CRM — request body — body webforms item notify owner, Update webforms in Zoho CRM — request body — body webforms item button attributes item, Get webforms — response body — webforms item layout, Get webforms — response body — webforms item module, Update webforms in Zoho CRM — request body — body webforms item tags item, Update webforms in Zoho CRM — request body — body webforms item spam control, Update webforms in Zoho CRM — request body — body webforms item visitor tracking, Update webforms in Zoho CRM — request body — body webforms item form attributes, Update webforms in Zoho CRM — request body — body webforms item form fields item, Update webforms in Zoho CRM — request body — body webforms item owner, Update webforms in Zoho CRM — request body — body webforms item user type
Update webforms in Zoho CRM — request body — body webforms item assignment rule
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object or null | Root | Represents the Assignment Rule associated with a webform, used to automatically assign submitted records to a CRM user. Additional keys: not allowed |
id | string | Optional | Represents the unique identifier of the Assignment Rule associated with the webform. Maximum length: 19 Minimum length: 1 Pattern: ^[1-9][0-9]{0,18}$ |
name | string | Optional | Represents the name of the Assignment Rule associated with the webform. Maximum length: 255 |
Policy, approvals and errors
Section titled “Policy, approvals and errors”SDK function policy ID: zoho.updatewebform. Catalog operation: updateWebform. Rules can name either ID; function rules distinguish managed calls and conservatively cover raw calls sharing the route. Existing grant permissions and policy rules apply. wait() returns an immediate result or waits for a required approval; it never approves the request itself. Persist the approval ID to resume after a restart.
Provider errors retain their response; JSON decoding raises ProviderAPIError for provider failures. ManagedOperationError identifies contract/input/retention errors. See error handling and provider-specific behavior. Sensitive input may be refused before approval storage. A decoding error never resubmits a write.