Event Updated
The event.updated
event is triggered when an existing event is updated in the system.
Event Properties
Property | Type | Description |
---|---|---|
id | string | Unique identifier for the event (UUID) |
name | string | Name of the event |
state | string | Current state of the event |
started_at | string | Start date and time of the event |
ended_at | string | End date and time of the event |
created_at | string | Timestamp when the event was created |
updated_at | string | Timestamp when the event was last updated |
max_attendee_capacity | integer | Maximum number of attendees allowed |
description | string | Detailed description of the event |
slug | string | URL-friendly identifier for the event |
hosting_type | integer | Type of hosting for the event |
hosting_id | string | Identifier for the hosting platform or location |
join_url | string | URL for attendees to join the event |
published | boolean | Indicates whether the event is published (true) or draft (false) |
tickets | array | List of ticket types available for the event |
Ticket Properties
Each ticket in the tickets
array contains the following properties:
Property | Type | Description |
---|---|---|
id | string | Unique identifier for the ticket (UUID) |
level | integer | Ticket level or tier |
name | string | Name of the ticket type |
quantity | integer | Number of tickets available |
currency | string | Currency code for the ticket price (default: “TWD”) |
amount | number | Price of the ticket |
created_at | string | Timestamp when the ticket was created |
updated_at | string | Timestamp when the ticket was last updated |
Hosting Types
The hosting_type
property indicates the platform or method used to host the event. It can have the following values:
"zoom"
: The event is hosted using Zoom. In this case, thehosting_id
will contain the Zoom meeting ID."live_session"
: The event uses Teachify’s built-in live session feature. Thehosting_id
will be the internal identifier for the live session."custom"
: A custom hosting solution is used, such as Google Meet or any other platform. For custom hosting, thejoin_url
property will contain the link for attendees to join the event.
The hosting_type
determines how attendees will access the event and what kind of integration or preparation is needed on the organizer’s side.
Example Payload
{ "type": "event.updated", "data": { "id": "550e8400-e29b-41d4-a716-446655440000", "name": "Annual Tech Conference 2024 (Updated)", "state": "scheduled", "started_at": "2024-09-16T09:00:00Z", "ended_at": "2024-09-18T18:00:00Z", "created_at": "2024-03-01T10:30:00Z", "updated_at": "2024-03-15T14:45:00Z", "max_attendee_capacity": 600, "description": "Join us for the biggest tech conference of the year! Now with extended dates and increased capacity.", "slug": "annual-tech-conference-2024-updated", "hosting_type": "live_session", "hosting_id": "venue-123", "join_url": "https://example.com/events/annual-tech-conference-2024-updated", "published": true, "tickets": [ { "id": "550e8400-e29b-41d4-a716-446655440001", "level": 1, "name": "Early Bird", "quantity": 100, "currency": "TWD", "amount": 2500, "created_at": "2024-03-01T10:35:00Z", "updated_at": "2024-03-15T14:45:00Z" }, { "id": "f47ac10b-58cc-4372-a567-0e02b2c3d479", "level": 2, "name": "Regular", "quantity": 400, "currency": "TWD", "amount": 3500, "created_at": "2024-03-01T10:36:00Z", "updated_at": "2024-03-15T14:45:00Z" }, { "id": "a1b2c3d4-e5f6-4a5b-9c8d-7e6f5a4b3c2d", "level": 3, "name": "Last Minute", "quantity": 100, "currency": "TWD", "amount": 4000, "created_at": "2024-03-15T14:45:00Z", "updated_at": "2024-03-15T14:45:00Z" } ] }}