Skip to content

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.

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 os
from alter_sdk import App
from 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()
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
pathobjectRequired within parentAdditional keys: not allowed
path.idstringRequired within parentMaximum length: 255
queryobjectOptionalAdditional keys: not allowed
query.modulestringOptionalOne of: Leads
query.include_inner_detailsstringOptionalOne of: user_type.active
query.from_timestringOptionalOne of: 10-11-2025 12:00:00
query.to_timestringOptionalOne of: 11-11-2025 12:00:00

Response media type: application/json. The table describes the pinned successful response. Referenced models link to their complete fields.

FieldTypePresenceDescription and constraints
$JSONRoot
$ (anyOf 1)ModelAlternativeExpand Retrieve a webform by ID — response body — webforms
$ (anyOf 2)nullAlternative

Referenced models: Retrieve a webform by ID — response body — webforms

23 more schemas are linked from the tables above, on the schema pages.

Retrieve a webform by ID — response body — webforms
FieldTypePresenceDescription and constraints
$objectRootRepresents the detailed response for a single webform retrieval, including configuration and all associated settings.
Additional keys: not allowed
webformsarrayRequired within parentContains the list of webform detail objects returned for the requested webform.
Maximum items: 1
webforms[]ModelEach itemExpand 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
FieldTypePresenceDescription and constraints
$objectRootRepresents the detailed configuration of a webform, including all settings such as form fields, analytics, notifications, and submission behavior.
Additional keys: not allowed
acknowledge_visitorModelRequired within parentExpand Retrieve a webform by ID — response body — webforms webforms item acknowledge visitor
action_on_submitstringRequired within parentRepresents 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_valuestringRequired within parentRepresents the value associated with the action performed after webform submission, such as the redirect URL or message content.
Maximum length: 2000
activebooleanRequired within parentIndicates whether the webform is active. Possible values: true - The webform is active. false - The webform is inactive.
adword_enabledbooleanRequired within parentIndicates whether Google AdWords tracking is enabled for the webform. Possible values: true - AdWords tracking is active. false - AdWords tracking is inactive.
analytics_dataModelRequired within parentExpand Retrieve a webform by ID — response body — webforms webforms item analytics data
approval_requestbooleanRequired within parentIndicates 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_ruleModelRequired within parentExpand Retrieve a webform by ID — response body — webforms webforms item assignment rule
button_attributesJSONRequired within parent
button_attributes (anyOf 1)arrayAlternativeContains the list of button attribute configurations for the webform, such as the Submit and Reset buttons.
Maximum items: 2
button_attributes (anyOf 1)[]ModelEach itemExpand Update webforms in Zoho CRM — request body — body webforms item button attributes item
button_attributes (anyOf 2)nullAlternativeContains the list of button attribute configurations for the webform, such as the Submit and Reset buttons.
Maximum items: 2
button_attributes (anyOf 2)[]ModelEach itemExpand Update webforms in Zoho CRM — request body — body webforms item button attributes item
create_contactbooleanRequired within parentSpecify 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_byModelRequired within parentExpand Retrieve a webform by ID — response body — webforms webforms item created by
created_timestringRequired within parentRepresents the timestamp of webform creation.
Maximum length: 255
double_optin_detailsModelRequired within parentExpand Retrieve a webform by ID — response body — webforms webforms item double optin details
double_optin_enabledbooleanRequired within parentIndicates 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_idstringRequired within parentRepresents the encrypted identifier of the webform, used for generating embed code.
Maximum length: 255
encrypted_modulestringRequired within parentRepresents the encrypted API name of the CRM module associated with the webform.
Maximum length: 255
encrypted_zgidstringRequired within parentRepresents the encrypted organization identifier associated with the webform.
Maximum length: 255
form_attributesModelRequired within parentExpand Retrieve a webform by ID — response body — webforms webforms item form attributes
form_fieldsarrayRequired within parentContains the list of form field configuration objects included in the webform.
Maximum items: 7
form_fields[]JSONEach item
form_fields[] (anyOf 1)ModelAlternativeExpand Retrieve a webform by ID — response body — webforms / webforms / item / form_fields / item / type: general, advanced, portal
google_sitenullRequired within parentRepresents the URL of the Google Site page where the webform is embedded.
idstringRequired within parentRepresents the unique identifier of the webform.
Maximum length: 255
layoutModelRequired within parentExpand Get webforms — response body — webforms item layout
location_urlarrayRequired within parentContains the list of URLs of the pages where the webform is hosted.
Maximum items: 2
location_url[]stringEach itemRepresents a single URL of a page where the webform is hosted.
Maximum length: 255
moduleModelRequired within parentExpand Get webforms — response body — webforms item module
namestringRequired within parentRepresents the name of the webform.
Maximum length: 255
notify_ownerModelRequired within parentExpand Retrieve a webform by ID — response body — webforms webforms item notify owner
ownerJSONRequired within parent
owner (anyOf 1)objectAlternativeRepresents the user assigned as the owner of the webform.
owner (anyOf 2)nullAlternativeRepresents the user assigned as the owner of the webform.
spam_controlModelRequired within parentExpand Retrieve a webform by ID — response body — webforms webforms item spam control
suggestionnullRequired within parentRepresents the AI-generated suggestion for improving the webform's performance.
tagsarrayRequired within parentContains the list of tags associated with the webform.
Maximum items: 2
tags[]ModelEach itemExpand Update webforms in Zoho CRM — request body — body webforms item tags item
typestringRequired within parentRepresents the type of the form. Possible values: webform - A standard webform. portalform - A portal form for registered portal users.
Maximum length: 255
visitor_trackingnullRequired within parentRepresents 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
FieldTypePresenceDescription and constraints
$objectRootRepresents the analytics configuration for a webform, including analytics status, tracking codes, and URL-based analytics settings.
Additional keys: not allowed
analytics_enabledbooleanRequired within parentIndicates 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_timestringRequired within parentRepresents the date and time at which analytics tracking was enabled for the webform.
Maximum length: 255
iframe_url_tracking_codestringRequired within parentRepresents the tracking code embedded within the iframe URL for analytics tracking of the webform.
Maximum length: 2000
tracking_codestringRequired within parentRepresents the analytics tracking code associated with the webform, used to monitor visitor interactions and form submissions.
Maximum length: 2000
url_analytics_enabledbooleanRequired within parentIndicates 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.

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]

Official provider source

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand how our website, product, and documentation are used.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

Advertising

Shares visits and sign-ups with Meta, Reddit, and X so we can measure which of our ads work.

You can change these choices at any time from Cookie settings.