> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Segment Groups

Get all configured segment groups for the specified tenant.

<Note>
  External Documentation

  To learn more, visit the [Zscaler Private Access documentation](https://help.zscaler.com/zpa/segment-group-controller#/mgmtconfig/v1/admin/customers/\{customerId}/segmentGroup-get).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter      | Description                                                                                                           |
  | -------------- | --------------------------------------------------------------------------------------------------------------------- |
  | Microtenant ID | The unique identifier of the Microtenant for the ZPA tenant. If you are within the Default Microtenant, insert **0**. |
  | Page Number    | The number of the pages to return.                                                                                    |
  | Page Size      | The size of each returned page. Valid range is 1-500.                                                                 |
  | Search         | An open search string to query the results by.                                                                        |
  | Tenant ID      | The unique identifier of the ZPA tenant.                                                                              |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter              | Description                                                       |
  | ---------------------- | ----------------------------------------------------------------- |
  | Skip Detailed App Info | Indicates whether to include complete application details or not. |
</div>

## Example Output

```json theme={"dark"}
{
	"list": [
		{
			"applicationNames": [
				{
					"id": 0,
					"name": "string"
				}
			],
			"applications": [
				{
					"adpEnabled": false,
					"autoAppProtectEnabled": false,
					"bypassType": "ALWAYS",
					"configSpace": "DEFAULT",
					"creationTime": 0,
					"defaultIdleTimeout": 0,
					"defaultMaxAge": 0,
					"description": "string",
					"domainName": "string",
					"domainNames": [
						"string"
					],
					"doubleEncrypt": true,
					"enabled": true,
					"healthCheckType": "DEFAULT",
					"icmpAccessType": "PING_TRACEROUTING",
					"id": 0,
					"inspectTrafficWithZia": true,
					"ipAnchored": true,
					"logFeatures": [
						"skip_discovery"
					],
					"matchStyle": "EXCLUSIVE",
					"modifiedBy": 0,
					"modifiedTime": 0,
					"name": "string",
					"passiveHealthEnabled": true,
					"microtenantId": 0,
					"microtenantName": "string",
					"selectConnectorCloseToApp": true,
					"serverGroups": [
						{
							"configSpace": "DEFAULT",
							"creationTime": 0,
							"description": "string",
							"enabled": true,
							"id": 0,
							"dynamicDiscovery": true,
							"modifiedBy": 0,
							"modifiedTime": 0,
							"name": "string",
							"microtenantId": 0,
							"microtenantName": "string"
						}
					],
					"sharedMicrotenantIds": [
						0
					],
					"tcpKeepAlive": 0,
					"tcpPortRange": [
						{
							"from": 0,
							"to": 0
						}
					],
					"tcpPortRanges": [
						0
					],
					"tcpPortsIn": [
						0
					],
					"tcpPortsOut": [
						0
					],
					"tcpProtocolsBitmasks": [
						0
					],
					"udpPortRange": [
						{
							"from": 0,
							"to": 0
						}
					],
					"udpPortRanges": [
						0
					],
					"udpProtocolsBitmasks": [
						0
					],
					"useInDrMode": true
				}
			],
			"configSpace": "DEFAULT",
			"creationTime": 0,
			"description": "string",
			"enabled": true,
			"id": 0,
			"modifiedBy": 0,
			"modifiedTime": 0,
			"name": "string",
			"policyMigrated": true,
			"microtenantId": 0,
			"microtenantName": "string",
			"tcpKeepAliveEnabled": 0
		}
	],
	"totalCount": 0,
	"totalPages": 0
}
```

## Workflow Library Example

[Get Segment Groups with Zscaler Private Access and Send Results Via Email](https://library.blinkops.com/workflows/get-segment-groups-with-zscaler-private-access-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/get-segment-groups-with-zscaler-private-access-and-send-results-via-email/canvas" />
</div>
