Zoho: Retrieve a webform by ID
Zoho webforms.getWebform: arguments, response, policy and SDK examples.
← Webforms operations · Get started
Operation zoho.getwebform
Provider route: GET /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"]["getWebform"]>[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.getWebform(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.get_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 | Optional | Additional keys: not allowed |
query.module | string | Optional | One of: Leads |
query.include_inner_details | string | Optional | One of: user_type.active |
query.from_time | string | Optional | One of: 10-11-2025 12:00:00 |
query.to_time | string | Optional | One of: 11-11-2025 12:00:00 |
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 |
|---|---|---|---|
$ | JSON | Root | |
$ (anyOf 1) | Model | Alternative | Expand Retrieve a webform by ID — response body — webforms |
$ (anyOf 2) | null | Alternative |
Referenced models: Retrieve a webform by ID — response body — webforms
Schemas
Section titled “Schemas”23 more schemas are linked from the tables above, on the schema pages.
Retrieve a webform by ID — response body — webforms
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the detailed response for a single webform retrieval, including configuration and all associated settings. Additional keys: not allowed |
webforms | array | Required within parent | Contains the list of webform detail objects returned for the requested webform. Maximum items: 1 |
webforms[] | Model | Each item | Expand Retrieve a webform by ID — response body — webforms webforms item |
Referenced models: Retrieve a webform by ID — response body — webforms webforms item
Retrieve a webform by ID — response body — webforms webforms item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the detailed configuration of a webform, including all settings such as form fields, analytics, notifications, and submission behavior. Additional keys: not allowed |
acknowledge_visitor | Model | Required within parent | Expand Retrieve a webform by ID — response body — webforms webforms item acknowledge visitor |
action_on_submit | string | Required within parent | Represents 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. Maximum length: 255 |
action_value | string | Required within parent | Represents the value associated with the action performed after webform submission, such as the redirect URL or message content. Maximum length: 2000 |
active | boolean | Required within parent | Indicates whether the webform is active. Possible values: true - The webform is active. false - The webform is inactive. |
adword_enabled | boolean | Required within parent | Indicates whether Google AdWords tracking is enabled for the webform. Possible values: true - AdWords tracking is active. false - AdWords tracking is inactive. |
analytics_data | Model | Required within parent | Expand Retrieve a webform by ID — response body — webforms webforms item analytics data |
approval_request | boolean | Required within parent | Indicates 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 | Required within parent | Expand Retrieve a webform by ID — response body — webforms webforms item assignment rule |
button_attributes | JSON | Required within parent | |
button_attributes (anyOf 1) | array | Alternative | Contains the list of button attribute configurations for the webform, such as the Submit and Reset buttons. Maximum items: 2 |
button_attributes (anyOf 1)[] | Model | Each item | Expand Update webforms in Zoho CRM — request body — body webforms item button attributes item |
button_attributes (anyOf 2) | null | Alternative | Contains the list of button attribute configurations for the webform, such as the Submit and Reset buttons. Maximum items: 2 |
button_attributes (anyOf 2)[] | Model | Each item | Expand Update webforms in Zoho CRM — request body — body webforms item button attributes item |
create_contact | boolean | Required within parent | 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. |
created_by | Model | Required within parent | Expand Retrieve a webform by ID — response body — webforms webforms item created by |
created_time | string | Required within parent | Represents the timestamp of webform creation. Maximum length: 255 |
double_optin_details | Model | Required within parent | Expand Retrieve a webform by ID — response body — webforms webforms item double optin details |
double_optin_enabled | boolean | Required within parent | Indicates whether double opt-in confirmation is enabled for the webform. Possible values: true - Double opt-in is enabled. false - Double opt-in is disabled. |
encrypted_form_id | string | Required within parent | Represents the encrypted identifier of the webform, used for generating embed code. Maximum length: 255 |
encrypted_module | string | Required within parent | Represents the encrypted API name of the CRM module associated with the webform. Maximum length: 255 |
encrypted_zgid | string | Required within parent | Represents the encrypted organization identifier associated with the webform. Maximum length: 255 |
form_attributes | Model | Required within parent | Expand Retrieve a webform by ID — response body — webforms webforms item form attributes |
form_fields | array | Required within parent | Contains the list of form field configuration objects included in the webform. Maximum items: 7 |
form_fields[] | JSON | Each item | |
form_fields[] (anyOf 1) | Model | Alternative | Expand Retrieve a webform by ID — response body — webforms / webforms / item / form_fields / item / type: general, advanced, portal |
google_site | null | Required within parent | Represents the URL of the Google Site page where the webform is embedded. |
id | string | Required within parent | Represents the unique identifier of the webform. Maximum length: 255 |
layout | Model | Required within parent | Expand Get webforms — response body — webforms item layout |
location_url | array | Required within parent | Contains the list of URLs of the pages where the webform is hosted. Maximum items: 2 |
location_url[] | string | Each item | Represents a single URL of a page where the webform is hosted. Maximum length: 255 |
module | Model | Required within parent | Expand Get webforms — response body — webforms item module |
name | string | Required within parent | Represents the name of the webform. Maximum length: 255 |
notify_owner | Model | Required within parent | Expand Retrieve a webform by ID — response body — webforms webforms item notify owner |
owner | JSON | Required within parent | |
owner (anyOf 1) | object | Alternative | Represents the user assigned as the owner of the webform. |
owner (anyOf 2) | null | Alternative | Represents the user assigned as the owner of the webform. |
spam_control | Model | Required within parent | Expand Retrieve a webform by ID — response body — webforms webforms item spam control |
suggestion | null | Required within parent | Represents the AI-generated suggestion for improving the webform's performance. |
tags | array | Required within parent | Contains the list of tags associated with the webform. Maximum items: 2 |
tags[] | Model | Each item | Expand Update webforms in Zoho CRM — request body — body webforms item tags item |
type | string | Required within parent | Represents the type of the form. Possible values: webform - A standard webform. portalform - A portal form for registered portal users. Maximum length: 255 |
visitor_tracking | null | Required within parent | Represents the visitor tracking configuration for the webform. |
Referenced models: Retrieve a webform by ID — response body — webforms webforms item analytics data, Retrieve a webform by ID — response body — webforms webforms item created by, Retrieve a webform by ID — response body — webforms webforms item acknowledge visitor, Retrieve a webform by ID — response body — webforms webforms item assignment rule, Retrieve a webform by ID — response body — webforms webforms item double optin details, Retrieve a webform by ID — response body — webforms webforms item notify owner, Retrieve a webform by ID — response body — webforms webforms item spam control, Update webforms in Zoho CRM — request body — body webforms item button attributes item, Retrieve a webform by ID — response body — webforms webforms item form attributes, Retrieve a webform by ID — response body — webforms / webforms / item / form_fields / item / type: general, advanced, portal, 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
Retrieve a webform by ID — response body — webforms webforms item analytics data
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the analytics configuration for a webform, including analytics status, tracking codes, and URL-based analytics settings. Additional keys: not allowed |
analytics_enabled | boolean | Required within parent | Indicates whether analytics tracking is enabled for the webform. Possible values: true - Analytics tracking is active for the webform. false - Analytics tracking is inactive for the webform. |
analytics_enabled_time | string | Required within parent | Represents the date and time at which analytics tracking was enabled for the webform. Maximum length: 255 |
iframe_url_tracking_code | string | Required within parent | Represents the tracking code embedded within the iframe URL for analytics tracking of the webform. Maximum length: 2000 |
tracking_code | string | Required within parent | Represents the analytics tracking code associated with the webform, used to monitor visitor interactions and form submissions. Maximum length: 2000 |
url_analytics_enabled | boolean | Required within parent | Indicates whether URL-based analytics tracking is enabled for the webform. Possible values: true - URL-based analytics tracking is active for the form. false - URL-based analytics tracking is inactive for the form. |
Policy, approvals and errors
Section titled “Policy, approvals and errors”SDK function policy ID: zoho.getwebform. Catalog operation: getWebform. 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.
No-content response statuses: [204]