# List workflows

Retrieves a list of workflow definitions available in your Zuora tenant.
### User Access Permission
You must be assigned the **Workflow View Access** permission to run this operation.

Endpoint: GET /workflows
Version: 2026-11-20
Security: bearerAuth

## Description:

  - `User Access Permission` ()
    You must be assigned the **Workflow View Access** permission to run this operation.

## Security:

  - `bearerAuth` (unknown)
    http bearer

## Query parameters:

  - `callout_trigger` (boolean)
    If set to true, the operation retrieves workflows that have the callout trigger enabled. If set to false, the operation retrieves workflows that have the callout trigger disabled. If not specified, the operation will not use this filter.

  - `interval` (string)
    A CRON expession that specifies a schedule (for example, `0 0 * * *`). If specified, the operation retrieves the workflow that is run based on the specified schedule.

  - `name` (string)
    If specified, the operation retrieves the workflow that is in the specified name.

  - `ondemand_trigger` (boolean)
    If set to true, the operation retrieves workflows that have the ondemand trigger enabled. If set to false, the operation retrieves workflows that have the ondemand trigger disabled. If not specified, the operation will not use this filter.

  - `scheduled_trigger` (boolean)
    If set to true, the operation retrieves workflows that have the scheduled trigger enabled. If set to false, the operation retrieves workflows that have the scheduled trigger disabled. If not specfied, the operation will not use this filter.

  - `page` (integer)
    If you want to retrieve only the workflows on a specific page, you can specify the `page` number in the query.

  - `page_length` (integer)
    The number of workflows shown in a single call. If the `page` parameter is not specified, the operation will return only the first page of results. If there are multiple pages of results, use it with the `page` parameter to get the results on subsequent pages. The maximum value is 50.

## Header parameters:

  - `Accept-Encoding` (string)
    Include the `Accept-Encoding: gzip` header to compress responses as a gzipped file. It can significantly reduce the bandwidth required for a response.
If specified, Zuora automatically compresses responses that contain over 1000 bytes of data, and the response contains a `Content-Encoding` header with the compression algorithm so that your client can decompress it.

  - `Content-Encoding` (string)
    Include the `Content-Encoding: gzip` header to compress a request. With this header specified, you should upload a gzipped file for the request payload instead of sending the JSON payload.

  - `Zuora-Entity-Ids` (string)
    An entity ID. If you have [Zuora Multi-entity](https://docs.zuora.com?resourceId=platform-multi-entity-overview) enabled and the OAuth token is valid for more than one entity, you must use this header to specify which entity to perform the operation in. If the OAuth token is only valid for a single entity, or you do not have Zuora Multi-entity enabled, you should not set this header.

  - `Zuora-Org-Ids` (string)
    Comma separated IDs. If you have Zuora Multi-Org enabled,
you can use this header to specify which orgs to perform the operation in. If you do not have Zuora Multi-Org enabled, you should not set this header.
The IDs must be a sub-set of the user's accessible orgs. If you specify an org that the user does not have access to, the operation fails. This header is important in Multi-Org (MO) setups because it defines the organization context under which the API should operate—mainly used for read access or data visibility filtering. If the header is not set, the operation is performed in scope of the user's accessible orgs.

  - `Zuora-Track-Id` (string)
    A custom identifier for tracing the API call. If you set a value for this header, Zuora returns the same value in the response headers. This header enables you to associate your system process identifiers with Zuora API calls, to assist with troubleshooting in the event of an issue.
The value of this field must use the US-ASCII character set and must not include any of the following characters: colon (`:`), semicolon (`;`), double quote (`"`), and quote (`'`).

## Response 200:

  - `200` (unknown)
    OK

## Response 200 fields (application/json):

  - `data` (array)
    The list of workflows retrieved.

  - `data.active_version` (object)
    Information of the active version.

  - `data.active_version.calloutTrigger` (boolean)
    Indicates whether the callout trigger is enabled for the retrieved workflow.

  - `data.active_version.createdAt` (string)
    The date and time when the workflow is created, in the `YYYY-MM-DDThh:mm:ss.sssZ` format.

  - `data.active_version.created_by` (object)
    Information about the user who created the workflow version.

  - `data.active_version.created_by.created_at` (string)
    The date and time when the user is created. Returns `N/A` if the user is no longer available.

  - `data.active_version.created_by.updated_at` (string)
    The date and time when the user is updated the last time. Returns `N/A` if the user is no longer available.

  - `data.active_version.created_by.work_email` (string)
    The work email of the user. Returns `N/A` if the user is no longer available.

  - `data.active_version.definitionId` (integer)
    The unique ID of the workflow definition that this version belongs to.

  - `data.active_version.definitionName` (string)
    The name of the workflow definition that this version belongs to.

  - `data.active_version.description` (string)
    The description of the workflow.

  - `data.active_version.id` (integer)
    The unique ID of the workflow.

  - `data.active_version.inputFields` (array)
    The input fields that are configured for the workflow version.

This field is only returned if input fields are configured for the workflow version.

  - `data.active_version.interval` (string)
    The schedule of the workflow, in a CRON expression. Returns null if the schedued trigger is disabled.

  - `data.active_version.name` (string)
    The name of the workflow.

  - `data.active_version.ondemandTrigger` (boolean)
    Indicates whether the ondemand trigger is enabled for the workflow.

  - `data.active_version.priority` (string)
    The priority of the workflow version.

  - `data.active_version.scheduledTrigger` (boolean)
    Indicates whether the scheduled trigger is enabled for the workflow.

  - `data.active_version.status` (string)
    The status of the workflow version.

  - `data.active_version.timezone` (string)
    The timezone that is configured for the scheduler of the workflow. Returns null if the scheduled trigger is disabled.

  - `data.active_version.type` (string)
    The type of the workflow. Currently the only valid value is 'Workflow::Setup'.
    Enum: "Workflow::Setup", "Workflow::Instance"

  - `data.active_version.updatedAt` (string)
    The date and time when the workflow is updated the last time, in the `YYYY-MM-DDThh:mm:ss.sssZ` format.

  - `data.active_version.updated_by` (object)
    Information about the user who updated the workflow version last time.

  - `data.active_version.updated_by.created_at` (string)
    The date and time when the user is created. Returns `N/A` if the user is no longer available.

  - `data.active_version.updated_by.updated_at` (string)
    The date and time when the user is updated the last time. Returns `N/A` if the user is no longer available.

  - `data.active_version.updated_by.work_email` (string)
    The work email of the user. Returns `N/A` if the user is no longer available.

  - `data.active_version.version` (string)
    The version number of the workflow.

  - `data.callType` (string)
    The call type of the active version.

This field is only returned for workflows that are configured as UI actions.

  - `data.calloutTrigger` (boolean)
    Indicates whether the callout trigger is enabled for the retrieved workflow.

  - `data.createdAt` (string)
    The date and time when the workflow is created, in the `YYYY-MM-DDThh:mm:ss.sssZ` format.

  - `data.description` (string)
    The description of the workflow definition.

  - `data.id` (integer)
    The unique ID of the workflow definition.

  - `data.interval` (string)
    The schedule of the workflow, in a CRON expression. Returns null if the schedued trigger is disabled.

  - `data.latest_inactive_versions` (array)
    The list of inactive workflow versions retrieved. Maximum number of versions retrieved is 10.

  - `data.name` (string)
    The name of the workflow definition.

  - `data.ondemandTrigger` (boolean)
    Indicates whether the ondemand trigger is enabled for the workflow.

  - `data.priority` (string)
    The priority of the active version.

  - `data.scheduledTrigger` (boolean)
    Indicates whether the scheduled trigger is enabled for the workflow.

  - `data.status` (string)
    The status of the workflow definition.

  - `data.timezone` (string)
    The timezone that is configured for the scheduler of the workflow. Returns null if the scheduled trigger is disabled.

  - `data.uiPages` (object)
    The UI pages that are configured for the active version.

This field is only returned for workflows that are configured as UI actions.

  - `data.ui_page_roles` (array)
    The roles that are allowed to access the UI pages of the workflow definition.

This field is only returned for workflows that are configured as UI actions.

  - `data.updatedAt` (string)
    The date and time when the workflow is updated the last time, in the `YYYY-MM-DDThh:mm:ss.sssZ` format.

  - `data.zuora_org_ids` (array)
    The IDs of the organizations that the workflow definition belongs to.

  - `pagination` (object)
    An object containing pagination information for the list of workflows returned by the api

  - `pagination.next_page` (string)
    A string containing the URL where the next page of data can be retrieved.

  - `pagination.page` (integer)
    An integer denoting the current page number.

  - `pagination.page_length` (integer)
    An integer denoting the number of workflows in this response. The maximum value is 50.

## Response 200 headers (application/json):

  - `Content-Encoding` (string)
    This header is returned if you specify the `Accept-Encoding: gzip` request header and the response contains over 1000 bytes of data.
Note that only the following MIME types support gzipped responses:
- `application/json`
- `application/xml`
- `text/html`
- `text/csv`
- `text/plain`

  - `RateLimit-Limit` (string)
    The request limit quota for the time window closest to exhaustion. See [rate limits](https://developer.zuora.com/docs/guides/rate-limits/) for more information.

  - `RateLimit-Remaining` (number)
    The number of requests remaining in the time window closest to quota exhaustion. See [rate limits](https://developer.zuora.com/docs/guides/rate-limits/) for more information.

  - `RateLimit-Reset` (number)
    The number of seconds until the quota resets for the time window closest to quota exhaustion. See [rate limits](https://developer.zuora.com/docs/guides/rate-limits/) for more information.

  - `Zuora-Request-Id` (string)
    The Zuora internal identifier of the API call. You cannot control the value of this header.

  - `Zuora-Track-Id` (string)
    A custom identifier for tracing the API call. 
If you specified a tracing identifier in the request headers, Zuora returns the same tracing identifier. 
Otherwise, Zuora does not set this header.

## Response 200 examples:

  - `response` (unknown)

