In this article, you will discover how to download a list of workflows in the Gamfi application using the API.
To download the list of workflows from the Gamfi application use the method and endpoint:
GET
+ /api/app_api_admin.php/v2/workflows/integration/workflow
Example cURL:
curl --location 'https://{app_name}.gamfi.io/api/app_api_admin.php/v2/workflows/integration/workflow' \
--header 'X-Samus-Authorization-Api-Key: {apiKey}' \
--header 'X-Samus-Authorization-Api-Secret: {apiSecret}' \
--header 'Content-Type: application/json'
In place:
- {app_name} - insert the name of your application
- {apiKey} - insert API key
- {apiSecret} - insert API secret
If the response is correct (200), you will receive a confirmation:
{
"items": [
{
"id": "3f9a81c3-132c-4660-b459-2226805b1d80",
"name": "Employee induction",
"category": "talent-and-onboarding",
"has_sms_actions": false,
"has_email_actions": false
},
]
}