Skip to main content

Events & Payloads

Supported Events

Our webhooks implementation allows for a basic set of assessment-based events that you can capture. We are open to adding more event types as they are required by our customers. If you have a need for a new event type, please contact developers@smartermeasure.com with your request.

Event Formats

When event data is sent back in the HTTP POST, it can be sent as either JSON or XML. This setting can be configured for each event type. The sample event data below includes both formats.

Event Data Structure

When an event occurs that you have turned on, we will send an HTTP POST request to the URL specified for the given event. If we receive an HTTP Response code of 200, we deem the request as being successful; anything else will be considered a failure. If the request is considered a failure, the URL is unavailable, or the request takes too long to respond (more than 10 seconds), we’ll cancel the request and try again later. Retries will be sent for the next 48 hours at 15 minute intervals — effectively 192 attempts.
It cannot be assumed that webhook callbacks are sent in the proper order. Your application should check the request timestamp and act appropriately.
Each event will contain a callback_id to help you track the actual ID of the callback in our system and an event field that will allow you to track the type of event that was fired.

assessment.created

assessment.section-start

assessment.section-complete

assessment.completed

assessment.stopped

Section Code Mappings

Each section-specific payload will include a code key to let the target application know which section was started or completed.