Cleartouch Integration


  1. In CatapultEMS, create a new integration for initiating alerts.
    1. Name: Displays (ClearTouch), Initiate
    2. Bearer Token: x-open-app-key:FILL_IN_KEY|x-open-timestamp|x-open-sign (Ask Cleartouch to fill in with the secret key)
    3. Payload URL: https://open.ifpserver.com/dms/api/v1/sendAlert
    4. Content of Payload:

      {

      "code": "00000",

      "groupIds": ["$$MAPPED_SITE_ID$$"],

      "url":

      "https://www.catapultems.com/downloads/cleartouch/$$ACTION_TYPE$$.jpg",

      "md5": "$$MAPPED_ACTION_TYPE_ID$$"

      }

    5. Event Trigger:
      1. Initiate Action Alert
      2. Initiate Drill
    6. Action Types: Select all (unless you want fewer). 
    7. Fill in the $$MAPPED_ACTION_TYPE_ID$$ with the md5 codes for each image. 
  2. In ClearTouch, gather the following details
    1. On the dashboard, look for the Organization Code. Copy and paste into the payload on the CatapultEMS side. It should replace the 0000 after “code”:
    2. In the left pane, choose Devices > Device groups.
    3. In the main pane, drop down menu, choose the device group you want. Copy the number from the end of the URL and paste into CatapultEMS under the MAPPED_SITE_ID section. Repeat for each site.
  3. In CatapultEMS create a second integration for resolving the alerts.
    1. Name: Displays (ClearTouch), Resolve
    2. Bearer Token: x-open-app-key:FILL_IN_KEY|x-open-timestamp|x-open-sign (Ask Cleartouch to fill in the secret key)
    3. Payload URL: https://open.ifpserver.com/dms/api/v1/cancelAlert
    4. Content of Payload:

      {

      "code": "00000",

      "groupIds": ["$$MAPPED_SITE_ID$$"]

      }

    5. Event Trigger:
      1. Resolve Action Alert
      2. Resolve Drill
    6. Action Types: Select all (or match the ones you selected for the initiation integration). 
    7. Fill in the MAPPED_SITE_ID section with the same values you specified for the initiation.