PROCESIO
OverviewPlatform ActionsIntegrations & DemosCustom ActionsDeveloperโ€™s Guide

Running a process with API Keys

To run the process using a API Key we will require:

Prerequisites

To run the process using a API Key we will require:

  • Generate a API Key in PROCESIO.
  • PROCESIO API endpoints can be foundย here. Additionally we also provide Swagger for our Web API endpoints which can be testedย here.
  • Postman for sending the request.

Running a process from PROCESIO using API keys

Step 1. After generating the PROCESIO API key, you need to copy and save the key name & key value. Key value will be hashedย after navigating off the page.

Step 2. From the PROCESIO API documentation, we will be looking for the POST method for running a process.

As observed in Swagger, the endpoint /api/Projects/{id}/run requires three parameters:

  • Process ID (the process ID, needs to be mentioned in the URL)
  • Workspace (needs to be mentioned in Headers)
  • Request body (JSON, you are required to use the one provided below)
{
  "connectionId": "string"
}

Step 3. From within your PROCESIO Workspace, in the process listing tab, obtain the process ID for the process that you intend to run (hit the copy to clipboard button).

Additionally we will need the name of the Workspace under which the process was created. In the example below the name of the Workspace is: "Demo".

Running a process from Postman using API keys

  • Selectย Postย Method mention the base URL and the endpoint
  • In Postman from Headers
    • include key & key name
    • value & key value
    • workspace & workspace name (example above "Demo")

  • In Postman from Body, raw
    • include:ย { ย "connectionId":ย "string"}
    • Select JSON

5) From Postman hit the Send button in order to trigger the process for which you configured the request.

On this page