Risk Cloud API: View Applications, Workflows, and Steps
Updated on: January 17, 2022
API Authentication
Prior to any interaction with Risk Cloud's APIs we will need to obtain an Access Token for the Authorization header. Instructions on how the Access Token can be obtained can be found here.
Background
When working with the Risk Cloud via the API, it is common to require IDs for entities such as Applications, Workflows, and Steps.
The endpoint described below returns an array of all Applications in your environment, including their Workflows and Steps. The endpoint provides important ID data for Applications, Workflow, and Steps that can be used to interact with the API further, such as using a Step ID to Create Records or a Workflow ID to get a list of Fields.
Usage
To obtain a list of all Applications, Workflows, and Steps in your environment, make the following request.
curl --request GET 'https://your-company.logicgate.com/api/v1/applications?generic=true' \ --header 'Authorization: Bearer {ACCESS_TOKEN}'
The response will contain an array of all Applications. Application, Workflow, and Step IDs can be located as the values for id properties for usage in future API requests.
[ { "active": true, "color": "string", "copied": true, "created": "2019-08-24T14:15:22Z", "homeScreen": { "active": true, "application": {}, "created": "2019-08-24T14:15:22Z", "id": "string", "tableReports": [ null ], "updated": "2019-08-24T14:15:22Z" }, "icon": "fa-bookmark", "id": "string", "imported": true, "live": true, "name": "string", "permissionsEnabled": true, "type": "string", "updated": "2019-08-24T14:15:22Z", "workflows": [ { "active": null, "allowGroups": null, "application": null, "applicationId": null, "created": null, "fields": null, "id": null, "name": null, "primaryField": null, "priority": null, "recordPrefix": null, "requireGroups": null, "sequence": null, "sla": null, "steps": null, "updated": null, "userGroups": null, "workflowMaps": null, "workflowType": null, "xpos": null, "ypos": null } ] } ]