Developer Docs
OverviewGroupsPathways
  • Getting Started
  • Overview
    • API Manager
    • User Privacy
    • Responses
  • Groups
    • Concepts
    • Manage
    • Status
    • Insert
    • Remove
  • Data
    • Overview
    • List
    • Upload
    • Download
    • Delete
    • Insert
    • Remove
  • Pathways
    • Overview
    • Enrolments
      • List
      • Manage
    • Web Tracking
      • Serverless
      • Server-Side Platforms
    • Classroom & Events
      • List
      • Consume
    • Rewards
      • List
      • Consume
    • Webhooks
      • Enrolments
      • Classroom & Events
      • Rewards
    • Logs
      • Activity & Fulfilment Types
      • Activity & User Logs
  • Stories
    • Logs
      • Story Logs
      • User Story Logs
    • Certificates
    • Question Analysis
  • Streams
    • Subscriptions
    • Ratings
  • Analytics
    • Overview
    • Published
    • Realtime
    • Audience
      • Frequency
      • Demographics
      • Locations
      • Retention
    • Reviews
Powered by GitBook
On this page
  • Payload Example
  • Event Object
  • Attendee Object
  1. Pathways
  2. Webhooks

Classroom & Events

PreviousEnrolmentsNextRewards

Last updated 4 years ago

The Event Webhook delivers an event payload any time a user registers for a or activity on a . The payload contains an array of events in the data property and each event object contains a list of attendees that have registered (confirmed attendance).

Payload Example

{
  "type": "events",
  "data": {
    "pathway": {
      "name": "My Pathway",
      "ID": "FA-HCPG-06RF"
    },
    "events": [
      {
        "ID": "FABK-YVUU-89RU",
        "type": "event",
        "name": "Event",
        "start": "2020-10-15T16:15:00+02:00",
        "end": "2020-10-15T22:15:00+02:00",
        "venue": {
          "place": "Cable Car Station",
          "location": "Cape Town ZA"
        },
        "available": 4,
        "booked": 2,
        "attendees": [
          {
            "guid": "8bd0705f-c640-4191-9a1c-1a8cc73ad949",
            "state": "booked",
            "firstname": "Test",
            "lastname": "User",
            "email": "test@example.com",
            "country": "South Africa",
            "city": "Cape Town"
          },
          ...etc
        ]
      },
      ...etc
    ]
  }
}

Key

Type

pathway

Object. The name and SKU of the related pathway.

events

Array. A list of events.

Event Object

Key

Type

ID

String. ID or SKU reference of the event.

name

String. Name of the event.

start

String. Start time of the event.

end

String. End time of the event.

venue

Object. Venue information.

booked

String. Number of registered attendees.

available

String. Available capacity (Unlimited or Number)

attendees

Array. A list of registered attendees.

Attendee Object

The attendee object will contain a guid which is used in the consume endpoint for events. This will allow integrations to set the booking state if the intention is to manage attendance of events via external systems.

Key

Type

guid

String. A GUID of the attendee.

state

String. The state of the attendance (booked, absent, attended).

firstname

String

lastname

String

email

String

country

String

city

String

Classroom
Event
pathway
Consume