👨🏫Instructor Availability Updated
instructor.availability.updatedv1.0
Triggered when an instructor updates their availability
Webhook Delivery
This event can be delivered to your webhook endpoint
Real-time Streaming
This event is available via WebSocket or SSE
Event Details
Schema definition and example payload
Event Properties
object
instructorIdstring
required
Instructor ID
changesobject
required
Availability changes
effectiveDatestring
required
date
Integration Examples
Example code for handling this event
// Handle instructor.availability.updated event
app.post('/webhook', async (req, res) => {
const event = req.body;
if (event.type === 'instructor.availability.updated') {
// Process the event
console.log('Received Instructor Availability Updated:', event.data);
// Your business logic here
}
res.status(200).json({ received: true });
});