Skip to main content
J. J. Keller Support Center

Safety Management Suite API Process

This feature is only available to Enterprise-level subscribers. 

API stands for 'Application Programming Interface.' Simply put, it is a method for completing a site function without the need to log in and do that manually in SMS. Examples include viewing an incident record, adding a chemical product, enrolling a learner in online training, and updating monthly hours worked.

When another system (e.g. HRIS, Insurance Carrier, Purchasing software, LMS) additionally offers their own APIs, the two systems can work together to perform automated functions.

The client writes a simple-stepped process to call first the host system, determines what data has been updated, then calls SMS to update the records on our side (or vice versa.) This job runs on some predetermined frequency (e.g. every day) to keep the two systems aligned.

 

Our Safety Management Suite API Management Portal (https://developerportal.jjkellerportal.com) will allow you to obtain additional information regarding our API products, which includes the option to see a sample request for an API product or request a subscription to an API product.

 

Requesting an API Product Subscription

Once you have reviewed our APIs and have decided to purchase a subscription to an API, you can navigate to the Products page within the Portal (https://developerportal.jjkellerportal.com/products) to select the API you are interested in. Once you select the specific Product, you can request a subscription to the product. For example, in the screenshot below, the “Company Data” API product is selected.

clipboard_e42ae2de0f046f45ea64663b44c421d78.png

product select.png

Selecting the “Subscribe” button will prompt a few subsequent processes:

product subscribe button.png

  • You will be prompted to login with your SMS credentials
    • SMS credentials are required here
    • The user that logs in does not necessarily need to be an admin, although JJK will confirm that the account is the main contact on the subscription
  • You will also be prompted to create a profile and enter some data (email, first name, last name)

create profile.png

  • Once confirmed, your subscription request will be submitted to J. J. Keller and you will receive a welcome email and a subscription request email
  • J. J. Keller will review and approve your request. J. J. Keller may reject your request if your Safety Management Suite subscription does not allow for use of the API management portal.
  • After your subscription has been activated on J. J. Keller's side, you will receive a subscription key, a 32-digit string—this will be available to you anytime under your Profile in the Portal, and will be used later on when configuring the API connection.
    • View of Subscriptions in the User Profile (can be found in the Profile menu)

sub key profile.png

 

 

Obtaining an Auth Token

Once your subscription has been approved, J. J. Keller will provide you with an Auth Code for your account. This Auth Code is used to obtain your Auth Token, which will be active for 24 hrs.

 

When the user receives their Auth Code, the user will need an Auth Token generated:

  1. Sign in to the Portal. (https://developerportal.jjkellerportal.com
  2. Select the desired API Product from the Products list.
  3. Select the “Auth” API from the list under "APIs in the product".

click auth.png

On the GetAuthToken page, click Try It in the top right.

clipboard_e341353a58cb321dd386c8eab2d1f68f7.png

  • Under Authorization, enter your Subscription Key (If you do not know your subscription key, it can be found in the Portal under the Profile menu option)
  • In the Parameters list, enter the following:
    • authCode: The Auth Code that was provided by J. J. Keller
    • Version: This will always be “1”
  • When complete, click Send at the bottom. This will generate your auth token, which will be used for subsequent API calls. This auth token expires after 24 hours.

clipboard_e0b99734200794f0b31c68a75bf7256eb.png

clipboard_ef5ce2f72a8272ba7c5163cbd5eefac66.png

Submitting Request for Features Within SMS

After receiving your Auth Token, you can use this to send subsequent API requests.

 

Navigate back to the Products page. Select the Product you have subscribed to.

clipboard_e547230bb4bc8d9955e229a1855a49324.png

Select the corresponding collection from the APIs in the Product list. (Company Data, as an example)

API Product Comp Data.png

 

Once selected, you are able to see a variety of functions and features that are available against the API you have chosen. Select an API endpoint from the list on the left, then click Try It on the top right to input parameters and see a sample output.

clipboard_ea4f0b3488fc8ee814d98c2513343d46d.png

 

  • You will need your subscription key and auth token for this.
  • Version will always be "1".
  • A parameter will also need to be added to the Headers section, titled “Authorization”.
    • The value you will input here is “bearer”, followed by a space, then your auth token.
Subscription Key & Version Parameter Header "Authorization" & Auth Token
clipboard_efbd16e81498f3492163574affa8862ae.png

clipboard_e37e3af66c68df3f72454e9340d3449ad.png

clipboard_eb86caac6d6662d2407fb927c6cc432bc.png

 

Click Send when all required fields have been entered; this will submit the request and you will receive a response with your data.

clipboard_efcfe587b28309f30f6f841eb4ee24b47.png

  • Was this article helpful?