Skip to main content
Creating an API client needs the API clients area of Workspace admin. If you cannot open it, ask whoever manages your Workato workspace to create the client for you.

Find your data center

The Data center is the region your Workato workspace runs in. A token works only against
the data center that holds the workspace, so pick the one that matches the address you sign
in to.

  • Sign in to Workato and read the host in your browser’s address bar.
  • app.workato.com: select US
  • app.eu.workato.com: select EU
  • app.jp.workato.com: select JP
  • app.sg.workato.com: select SG
  • app.au.workato.com: select AU
  • app.il.workato.com: select IL
  • app.uk.workato.com: select UK
  • app.kr.workato.com: select KR
  • app.workatoapp.cn: select CN
  • app.trial.workato.com: select Self-service (Trial), used by Workato Free and trial workspaces
  • Copy the matching region into StackOne Hub.
  • On a Workato Free or trial workspace, creating the client role and the API client works exactly as it does on every other data center - only the data center differs.

Create a client role

A client role lists the endpoints a token is allowed to call. Create one first, because every
API client has to be assigned a role when you create it.

1

Create the client role

Sign in to your Workato workspace at the address
of your data center, then open the client roles list. The navigation down the left of the
workspace is collapsed to icons with no labels, so widen it to read the labels and pick
Workspace admin:

  • Go to Workspace admin > API clients > Client roles. You are in the right place when the page is titled Workspace admin and shows the tabs Access control, API clients and Settings.
  • Select Add client role.
  • Select the pencil next to New client role and enter a name such as StackOne Integration.
The Client roles tab of Workspace admin with the Add client role button highlighted
2

Select the endpoints the role allows

Endpoints are grouped under Projects, Tools and Admin. Open a group and tick
the endpoints the actions you use need. Each action names the endpoint it calls in its
description, so tick those and leave the rest clear.

  • Under Admin > Workspace collaborators > Collaborators, tick Get collaborators GET /api/members. The connection test calls this endpoint.
  • Under Admin > Workspace details > Workspace details, tick Get details GET /api/users/me to read the workspace the token belongs to.
  • Tick any other endpoint an action you use calls.
  • Select Save changes.
The Collaborators group expanded on the Admin tab with the Get collaborators endpoint highlighted

Create an API client

The API client holds the token. Assign it the client role you created, then copy the token it
generates.

1

Create the API client

Go to Workspace admin > API clients > API clients, then select
Create API client and fill in the form. Workspace admin is the same page used for
the client role, reached the same way from the widened left navigation:

  • Name: any name that says what the client is for, for example StackOne Integration
  • Client role: the role you created
  • Project access: All projects, or the projects this token should reach
  • Allowed IPs: leave empty unless you restrict requests to known addresses
  • Select Create client.
The Create a new API client form showing the Name, Client role and Project access fields
2

Copy the API token

Workato shows the token as soon as the client is created, in a dialog titled
API client successfully created! carrying an API token field and a Copy
button. Take the token from that dialog before you close it:

  • Select Copy next to API token.
  • Copy the API token into StackOne Hub.
  • Select Done.
  • The dialog warns that you will not be able to view the token again. If it is lost you have to regenerate a new one.
3

Generate a new token for an existing client

Only needed when you are working with a client that already exists, or when the token was
lost. Open the client from Workspace admin > API clients > API clients, then
select the regenerate icon next to Cancel and confirm with Regenerate token. The
same API token field and Copy button appear.

  • Regenerating stops API calls that use the previous token, so update them with the new one.
The Regenerate API token dialog with the API token field and Copy button, token value hidden
1

Connect

  • Click Connect.
  • If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider’s authorization flow.
  • Once authorization is successful, you will see a confirmation popup.
2

Use Actions

Connect an AI platform to the linked account’s actions. See AI Platforms.Other ways to call actions are listed in Protocols & SDKs.