TIS Training API Documentation
  • Welcome!
  • Quick Start
  • Managing Users
  • Single Sign On (SSO)
    • General Options
    • Role and Group Mappings
    • Connection Types
      • Microsoft Entra ID (Formerly Azure AD)
      • Google Workspace
      • OpenID Connect (OIDC)
      • SAML (Security Assertion Markup Language)
  • SCORM Packages
  • Webhooks
  • API Reference
    • Users
      • 🔵GET users
      • 🔵GET users/seats
      • 🟢POST users
      • 🟠PUT users
      • 🟢POST users/password
      • 🟡PATCH users/enable
      • 🟡PATCH users/disable
      • 🔴DELETE users
    • Results
      • 🔵GET results
      • 🔵GET results/group
    • Groups
      • 🔵GET groups
      • 🟢POST groups/users
      • 🔴DELETE groups/users
    • 🔵GET courses
    • 🔵GET filters
    • 🟢POST login
    • â›”Standard Error Format
  • Webhook Reference
    • Standard Structure
    • Course Complete
    • Multi-Course Complete
  • OpenAPI Specification
Powered by GitBook
On this page
  1. Webhook Reference

Standard Structure

All webhook events will follow this standard format.

When you receive a webhook event, this is the format that all events will have. Individual event types will have their information under the data property. All events are sent as a POST.

Name
Type
Description

eventId

string

An Id for the event. You can use this to check if you've already processed a specific event as it's possible for an event to be received more than once if our system attempts a retry. Formatted as a GUID.

eventType

string

The type of event being sent. You server must always handle the TEST_EVENT event to add the webhook.

organisationId

string

The Id of the organisation this event is for. Formatted as a GUID.

sent

string

The date and time this event was sent. Formatted in ISO 8601.

data

object

The data specific to the event type. This will be null for a TEST_EVENT.

{
  "eventId": "00000000-0000-0000-0000-000000000000",
  "eventType": "TEST_EVENT",
  "organisationId": "00000000-0000-0000-0000-000000000000",
  "sent": "2022-09-20T07:53:12.2664878+00:00",
  "data": null
}

sds

PreviousWebhook ReferenceNextCourse Complete

Last updated 9 months ago