Skip to content

Zoho: Get Approval Processes

Zoho approvalProcess.getApprovalProcess: arguments, response, policy and SDK examples.

← Approval process operations · Get started

Operation zoho.getapprovalprocess

Provider route: GET /crm/v8/settings/approval_process. 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["approvalProcess"]["getApprovalProcess"]>[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.approvalProcess.getApprovalProcess(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.approval_process.get_approval_process(arguments)
result = await call.wait()
return result.body_json()
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
queryobjectOptionalAdditional keys: not allowed
query.modulestringOptionalMaximum length: 3000
query.filterstringOptionalMaximum length: 10000
query.pageintegerOptionalFormat: int32
Minimum: 1
query.per_pageintegerOptionalFormat: int32
Maximum: 200
Minimum: 1
query.idsstringOptionalFormat: int64
Maximum length: 19
Minimum length: 1
Pattern: ^[0-9]+$
query.generated_typestringOptionalOne of: custom, internal
query.activebooleanOptional

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 Get Approval Processes — response body — approval process, info
$ (anyOf 2)nullAlternative

Referenced models: Get Approval Processes — response body — approval process, info

Get Approval Processes — response body — approval process, info
FieldTypePresenceDescription and constraints
$objectRootIf approval processes were configured in the org, then list of approval processes were returned.
Additional keys: not allowed
approval_processarrayRequired within parentField: approval_process
Maximum items: 200
approval_process[]JSONEach item
approval_process[] (anyOf 1)ModelAlternativeExpand Get Approval Processes — response body — approval process, info approval process item Nested schema for approval process — GETApproval Process Nested1
approval_process[] (anyOf 2)ModelAlternativeExpand Get Approval Processes — response body — approval process, info approval process item Nested schema for approval process — GETApproval Process Nested2
infoModelRequired within parentExpand Get Approval Processes — response body — approval process, info info

Referenced models: Get Approval Processes — response body — approval process, info info, Get Approval Processes — response body — approval process, info approval process item Nested schema for approval process — GETApproval Process Nested1, Get Approval Processes — response body — approval process, info approval process item Nested schema for approval process — GETApproval Process Nested2

Get Approval Processes — response body — approval process, info info
FieldTypePresenceDescription and constraints
$objectRootNested schema for info
Additional keys: not allowed
countJSONRequired within parent
count (anyOf 1)integerAlternativeField: count
Format: int32
count (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
more_recordsbooleanRequired within parentField: more_records
pageJSONRequired within parent
page (anyOf 1)integerAlternativeField: page
Format: int32
page (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
per_pageJSONRequired within parent
per_page (anyOf 1)integerAlternativeField: per_page
Format: int32
per_page (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
Get Approval Processes — response body — approval process, info approval process item Nested schema for approval process — GETApproval Process Nested1
FieldTypePresenceDescription and constraints
$objectRootNested schema for approval_process
Additional keys: not allowed
activebooleanRequired within parentField: active
created_byModelRequired within parentExpand Get a single Approval Process — response body — approval process approval process item created by
created_timestringRequired within parentField: created_time
Maximum length: 255
descriptionstringRequired within parentField: description
Maximum length: 255
execute_onstringRequired within parentField: execute_on
Maximum length: 255
generated_typestringRequired within parentField: generated_type
Maximum length: 255
idstringRequired within parentField: id
Format: int64
Maximum length: 255
Minimum length: 1
Pattern: ^[0-9]+$
modified_byModelRequired within parentExpand Get a single Approval Process — response body — approval process approval process item modified by
modified_timestringRequired within parentField: modified_time
Maximum length: 255
moduleModelRequired within parentExpand Get a single Approval Process — response body — approval process approval process item module
namestringRequired within parentField: name
Maximum length: 255
rules_countJSONRequired within parent
rules_count (anyOf 1)integerAlternativeField: rules_count
Format: int32
rules_count (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
sequence_numberJSONRequired within parent
sequence_number (anyOf 1)integerAlternativeField: sequence_number
Format: int32
sequence_number (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Referenced models: Get a single Approval Process — response body — approval process approval process item created by, Get a single Approval Process — response body — approval process approval process item modified by, Get a single Approval Process — response body — approval process approval process item module

Get Approval Processes — response body — approval process, info approval process item Nested schema for approval process — GETApproval Process Nested2
FieldTypePresenceDescription and constraints
$objectRootNested schema for approval_process
Additional keys: not allowed
activebooleanRequired within parentField: active
created_byModelRequired within parentExpand Get a single Approval Process — response body — approval process approval process item created by
created_timestringRequired within parentField: created_time
Maximum length: 255
execute_onstringRequired within parentField: execute_on
Maximum length: 255
generated_typestringRequired within parentField: generated_type
Maximum length: 255
idstringRequired within parentField: id
Format: int64
Maximum length: 255
Minimum length: 1
Pattern: ^[0-9]+$
modified_byModelRequired within parentExpand Get a single Approval Process — response body — approval process approval process item modified by
modified_timestringRequired within parentField: modified_time
Maximum length: 255
moduleModelRequired within parentExpand Get a single Approval Process — response body — approval process approval process item module
namestringRequired within parentField: name
Maximum length: 255
rules_countJSONRequired within parent
rules_count (anyOf 1)integerAlternativeField: rules_count
Format: int32
rules_count (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
sequence_numberJSONRequired within parent
sequence_number (anyOf 1)integerAlternativeField: sequence_number
Format: int32
sequence_number (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Referenced models: Get a single Approval Process — response body — approval process approval process item created by, Get a single Approval Process — response body — approval process approval process item modified by, Get a single Approval Process — response body — approval process approval process item module

Get a single Approval Process — response body — approval process approval process item created by
FieldTypePresenceDescription and constraints
$objectRootNested schema for created_by
Additional keys: not allowed
idstringRequired within parentField: id
Format: int64
Maximum length: 255
Minimum length: 1
Pattern: ^[0-9]+$
namestringRequired within parentField: name
Maximum length: 255
Get a single Approval Process — response body — approval process approval process item modified by
FieldTypePresenceDescription and constraints
$objectRootNested schema for modified_by
Additional keys: not allowed
idstringRequired within parentField: id
Format: int64
Maximum length: 255
Minimum length: 1
Pattern: ^[0-9]+$
namestringRequired within parentField: name
Maximum length: 255
Get a single Approval Process — response body — approval process approval process item module
FieldTypePresenceDescription and constraints
$objectRootNested schema for module
Additional keys: not allowed
api_namestringRequired within parentField: api_name
Maximum length: 255
idstringRequired within parentField: id
Format: int64
Maximum length: 255
Minimum length: 1
Pattern: ^[0-9]+$

SDK function policy ID: zoho.getapprovalprocess. Catalog operation: getApprovalProcess. 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.