Integrate Kisi with Singlewire Software
By integrating Kisi with Singlewire Software, you can utilize the InformaCast API Connector to initiate a lockdown when necessary and lift the lockdown once the emergency has concluded, all seamlessly managed through Kisi.
info
This is a partner-built integration, maintained and supported by the partner.
Prerequisites
- Kisi administrator rights
- An active Kisi subscription
- One or more configured Kisi places
- An active InformaCast subscription
Generate an API key
- Open the Kisi API explorer and navigate to the Create login
- In the Body section on the right side, insert the following data to generate the API key:
curl --request POST \
--url https://api.kisi.io/logins \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"login": {
"type": "api",
"name": "user@example.com",
"expire": false
},
"user": {
"domain": "string",
"email": "string",
"password": "string",
}
}'
- Click the Send API request and verify you get back a 200 OK response with the response data
- Store the API key, called
authentication_token
in the API response, and store it for use in a subsequent step
Obtain the Kisi place ID(s)
- Sign in to Kisi
- Navigate to your place
- Identify the place ID in the URL
- Store this ID (and any other place ID you'd like to integrate with) for use in a subsequent step
Configure a message template
- Sign in to Singewire Software
- Search for Message Templates in the left-hand navigation search bar or navigate to Notifications > Message Templates
- Create a new Message Template and give it a name that's easy to recognize later (e.g., Kisi Notification)
- In the Subject field, add some placeholder text. This will be overridden in the Scenario configuration step.
- Configure Audio, Image, and other elements in the Content section
- Enable every recipient's choice
- Save the Message Template
Configure a site role
- Search for Site Roles in the left-hand navigation search bar or navigate to Notifications > Command Center > Site Roles
- Create a new Site Role and give it a name to represent a group in your organization. This same Site Role name can be used for any number of locations, so you do not have to create a separate named group for every site.
Configure a site
- Search for Sites in the left-hand navigation search bar or navigate to Notifications > Command Center > Sites.
- Create a new Site and give it a name to represent one of your organization's locations (e.g., "Headquarters") and click Save. The new Site details page appears.
- Link the Site Role to this Site
- Click the Site Roles tab in the left-hand pane of the Site details page
- Click the + icon to add a Site Role to this Site
- Select the Site Role you created in the previous step from the dropdown menu in the Name section
- Add any InformaCast recipients that belong to this location that should receive the notification
- Click Save
- Click on the Buildings tab and create a new building. Search for the address, and the form will automatically populate with that information. Provide a name (e.g., "Main Building") and save. The new Building details page appears.
- Click the Floors tab and create a new floor. The new Floor details page appears after you save.
- We recommend you upload a floor plan at this step for additional visual context during an active event
- Refer to the InformaCast User Guide for more information: https://documentation.singlewire.com/fusion/en/about-sites.html#add-a-floor-plan--optional-
- Click the Rooms/Zones tab and create a new room after you save
- Repeat the steps above for any additional Sites, Buildings, Floors, and Rooms you need to configure
Configure the lockdown scenario
- Search for Scenarios in the left-hand navigation search bar or navigate to Notifications > Command Center > Scenarios
- Create a new Scenario and give it a name that's easy to recognize later (e.g. Kisi Lockdown)
- In the Scenario Setup section, add an Icon and color, and include the Sites and API Connector options. Due to technical limitations, you must create and save the Scenario before adding the API Connector component.
- Configure the Notification
- Scroll down to the Scenario Notifications section
- Give the notification a name that's easy to recognize, and select the Kisi Notification Message Template we created earlier from the dropdown
- Enable the Override Message Template option to input the Subject and Body of the notification. For this example, those values are:
- Subject: "Emergency Lockdown initiated at
location.description
!" - Body: "Emergency Lockdown initiated at
location.description
!"
- Subject: "Emergency Lockdown initiated at
- Select the Site Role (e.g., Staff) you configured earlier to receive this notification
- Save the Scenario, then immediately edit it to finish the configuration
- You may now check the API Connector option in the Scenario Setup section in the newly created Scenario
- Scroll down to the API Connectors section
Configure the API Connector
- Click the Add API Connector button to navigate to the configuration area
- Give the API Connector webhook a name (e.g., Kisi Lockdown Request)
- Select
POST
from the Method field dropdown - In the Webhook URL field, insert the following:
https://api.kisi.io/places/your-kisi-place-id/lock_down
- Finally, navigate to the Headers tab and insert the following Keys and Values
- Key: Authorization | Value: KISI-LOGIN
your-kisi-api-key
(Encrypt this value for additional security) - Key: Content-Type | Value:
application/json
- Key: Accept | Value:
application/json
- Key: Authorization | Value: KISI-LOGIN
- Save the API Connector. Note: while this example only initiates a single webhook, you may configure multiple on a single Scenario. This is useful for the case where you want to lock down / lift the lockdown at multiple places at once.
- Save the Scenario.
- Configure additional Lockdown Scenarios if you wish to lock down other Kisi places separately
For additional scenarios please visit the Singlewire Software documentation.