Skip to content
On this page

Displaying a List of Workflows

You can use the API to recreate a filterable list of Workflows found in the AlphaTrust Control Panel inside your own application.

Workflow List

csharp
var req = new WorkflowListRequestModel()
          {
              ProntoID = "MyAccountID"
          };

var api = new WorkflowsApi(myRestEndpointUrl);
var results = api.GetWorkflowList(req, apiKey, apiSecret, apiUsername, apiPassword);

if (results.IsSuccessful.Value)
{
    var listOfWorkflows = results.Workflows;
    
    // do work
}

The response to the API call will contain a list of workflows and each will have an ID. You can use that ID to get the rules for the Workflow in order to create your launch page.