Robocorp Cloud APIs

Robocorp Cloud aims to enable API-based use cases. We can't wait to see what our users come up with using the power of our APIs! So, expect more and more APIs to be made available in the near future.

Workspace-scoped APIs (beta)

The preferred way to control your processes and robots via API calls is now via the Workspace-scoped API. Authorized users can create API keys that are restricted to one workspace, and can have a number of permissions associated with them.

API key creation and access control

To create a new Workspace-scoped API key:

  1. Navigate to the workspace you want to create the API key for and click on the API tab in the toolbar: Workspace API access in Robocorp Cloud
  2. Click on the Add button. Provide a name for your key and select the operations that you want to associate with the key. In our example, we are allowing our key to be used to access information about robots, robot runs and run outputs, but not being able to trigger processes or write robots: Workspace API access: create key
  3. Your new key will appear in the listing. You can see which access permissions have been assigned to it and information about its usage. Click on the View button to see the value of the key. You can edit the key or delete it by clicking on the ... button. Workspace API access: create key

Remember to store the API key in a secure way!

Usage example

Here is an example that uses curl to get the information about the runs for a process in a workspace.

--request POST ""
--header  "accept: application/json"
--header  "Authorization: RC-WSKEY YOUR_APIKEY_HERE"
--header  "Content-Type: application/json"
--data "{}"
  • The request method must be POST.
  • The API key must be passed in a header using the format "Authorization: RC-WSKEY YOUR_APIKEY_HERE".
  • The Content-Type header must be set to application/json.
  • You can pass additional data to the process by passing a JSON object as the body of the request.

For this call to be successful, the API key that we are using would need to:

  • be associated with the correct workspace (YOUR_WORKSPACE_ID)
  • have the read_runs permission.

API documentation and testing

You can get all the details about the supported endpoints and parameters on each API's detail page:

Video Example

See an example of the Process API at work in this video:

User Access Credentials

User access credentials are associated with a specific user, and are used when setting up Robocorp Lab, Robocorp App, and RCC. You can see and maintain your access credentials by accessing your user profile in Robocorp Cloud, and clicking on the Access Credentials menu item.

Process-specific API

Robocorp Cloud also allows triggering and retrieving the status of a specific process using a process-scoped API. This will be deprecated in favor of the new Workspace-scoped API.