Zscaler is a cloud-native zero trust platform that secures user-to-internet, user-to-application, and digital experience monitoring across a distributed workforce. OneAPI is Zscaler's unified programmatic interface: a single gateway (api.zsapi.net) fronting the API resources of every Zscaler service, with API clients registered centrally in Zscaler's identity service and authorized through role-based access control.
A single Zscaler OneAPI integration in Torq lets you connect to Zscaler Internet Access (ZIA), Zscaler Private Access (ZPA), and Zscaler Digital Experience (ZDX) with one set of credentials - no separate ZIA API key, ZPA client secret, or ZDX key pair required.
Torq enables quick and easy integration with Zscaler OneAPI, so you can automate anything and everything within moments.
If you don't see a step you need, you can create your own in various ways, such as using the Send an HTTP Request step or Torq's Step Builder, and share it across your organization.
Use Zscaler OneAPI steps in a Torq workflow
Generate a Zscaler OneAPI client
Navigate to API Clients: In the ZIdentity console, go to API > API Clients and click + Add API Client.
Create a client:
Enter a name and description for the client, and set the Access Token Validity.
Under Validation Type, select Secret, set the expiry and copy the secret that was generated. Zscaler displays the secret only once.
Under Resources, select the applicable scopes for the client.
Click Save to create the client.
Ensure the Status is Active and copy the Client ID.
Create a Zscaler OneAPI integration in Torq
Navigate to the integration: In Torq, go to Build > Integrations > Steps > Zscaler OneAPI, then click Add Instance.
Set up integration:
Instance name: Enter a unique and meaningful name for the integration.
Token URL: Enter the token URL for your console.
Client ID: Paste the Client ID you copied earlier.
Client secret: Paste the client secret you copied earlier.
(Optional) If using ZPA, enter your ZPA tenant customer ID.
Finalize: Click Add to save.


