👨‍🏫Instructor Availability Updated

instructor.availability.updated
v1.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
instructorId
string
required

Instructor ID

changes
object
required

Availability changes

effectiveDate
string
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 });
});