Webhooks Resources - Live Trainings
When you subscribe to ‘create’, ‘update’, or ‘delete’ events for Live Trainings in your account, Bridge will publish those events in real-time to API endpoints you specify. Payloads are published as JSON. See below for a sample.
Sample Payload
{
"resources":"live_course",
"trigger":"updated",
"author":{
"id":1,
"email":"jcool@acme.com",
"first_name":"Joe",
"last_name":"Cool"
},
"live_course":{
"id":1,
"title":"My Live Training",
"user_id":1,
"description":"A special live training course.",
"sessions_count":12,
"enrollments_count":1
},
"session":[
{
"id":1,
"start_at":"2016-08-25T00:00:00.000-06:00",
"end_at":"2016-08-25T01:00:00.000-06:00",
"location":"Seattle, WA",
"seats":10,
"registered_count":0,
"concluded_at":"2016-03-18T15:06:15.741-06:00"
},
]
}