Appendix H – Webhooks and Authentications

This topic provides REST APIs related to webhooks and authentications used in Infinity Playblocks automations.

Create Webhooks via API

  • Method: POST

  • URL: https://cloudinfra-gw.portal.checkpoint.com/app/playblocks/api/v3/configuration/webhooks

  • Request Body Schema:

    Copy
    {
      "name": string (required),
      "authenticationId": UUID (optional),
      "automationId": UUID (required),
      "expiration": Date (optional),
          "fieldsMapping": Object (optional)
    }
  • Request Body Example:

    Copy
    {
      "name": "My webhook",
      "authenticationId": null,
      "automationId": "8fcec37b-0aa4-41f8-9a10-bed73f5a1360",
      "expiration": "2027-11-03T14:19:19.079Z",
      "fieldsMapping": {"src":"data.src"}
    }

View Required Fields for Trigger Output

To view the required fields in the automation trigger output (set mappings if required), use:

  • Method: GET

  • URL: https://cloudinfra-gw.portal.checkpoint.com/app/playblocks/api/v3/ configuration/automations/automation/expectedTriggerOutput/{automationId}

Response includes:

  • output: Defines the expected trigger output structure.

  • fieldsInUse: Lists the fields from the trigger output that are used in subsequent steps.

    Copy
    {
        output:  {
            "src": "1.2.3.4", 
            "event_details": {"severity": "high"}
        }, 

        filedsInUse: ["src", "event_details.severity"]
    }

Retrieve your authentications via API

To retrieve your authentications, use these API:

  • Method: GET

  • URL: https://cloudinfra-gw.portal.checkpoint.com/app/playblocks/api/v3/configuration/automations/automation/expectedTriggerOutput/{automationId}

  • Response structure

    Copy
    {
      "success": true,
      "data": {
      "authentications": [
       {
        "id": "9824a0ee-eabe-48d6-aa14-43d4a1111111",
        "name": "My Authentication",
        "method": "Bearer Token",
        "type": "API Request",
        "parameters": {
          "token":  < MY BEARER TOKEN >
        },
       "createdBy": "Playblocks System",
       "comment": " Create tickets permissions",
       "createdAt": "2025-08-27T14:29:32.975Z",
       "updatedAt": "2025-08-27T14:29:32.975Z"
       }
      ] 
     }
    }