Skip to main content

Get Pipelines in a Layout

Purpose

To fetch the details of all or a specific pipeline in the Deals module.

Request Details

Request URL

All - {api-domain}/crm/{version}/settings/pipeline?layout_id={layout_id}
Specific - {api-domain}/crm/{version}/settings/pipeline/{pipeline_ID}?layout_id={layout_id}

Header

Authorization: Zoho-oauthtoken <access_token>

Scope

scope=ZohoCRM.settings.pipeline.READ

Parameters
  • layout_idstring, mandatory

    The unique ID of the layout in the Deals module you want to fetch the pipeline's details from. Note that this parameter is mandatory for fetching all pipelines and a specific pipeline. The system throws an error, otherwise.

Sample Request

Copied

Possible Errors

  • INVALID_DATAHTTP 400

    The layout ID is invalid.
    Resolution: Specify the correct layout ID. Use the Layouts Metadata API to get the ID of the layout.

  • REQUIRED_PARAM_MISSINGHTTP 400

    You have not included the mandatory parameter "layout_id" in your request.
    Resolution: "layout_id" is a mandatory parameter while fetching all or a specific pipeline from the Deals module.

  • NO_CONTENTHTTP 204

    You have either passed an incorrect value for the pipeline ID in the request, or you have not created a pipeline in that layout.
    Resolution: Specify the correct pipeline ID in the request.

Sample Response

Copied

Show full

Show less