1. Knowledge base
  2. Gamfi API Docs
  3. Process and workflow management

Closing processes

In this article, you will discover how to close a single process in Gamfi application using the API

Aby zamknąć pojednczy proces w aplikacji Gamfi skorzystaj z metody i endpointa:

POST + /api/app_api_admin.php/v2/workflows/integration/process/{proces_id}/done

Example cURL:

curl --location --request POST 'https://{app_name}.gamfi.io/api/app_api_admin.php/v2/workflows/integration/process/{proces_id}/done' \
--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
  • {proces_id} - - insert process ID from Gamfi application
  • {apiKey} - insert API key
  • {apiSecret} - insert API secret

If the answer is correct, you will receive a status (204).

⚠️ Closing processes involve changing the status to "Completed." The operation does not count the actions inside the process.