Overview
The Events API allows you to create and manage events within workspaces. Events are the core entity in EventPalour and support various types, pricing models, and ticketing options.Create Event
Create a new event in a workspace.Parameters
Event title (1-255 characters)
Event description in HTML format (10-5000 characters of plain text)
ID of the workspace creating the event
Event type:
physical, online, or hybridPricing model:
free or paidEvent start date and time
Event end date and time (must be after startDate)
Physical venue name (required for physical and hybrid events)
Country where event takes place
City where event takes place
Event category name (auto-creates if doesn’t exist)
Custom category name to create
Existing category ID
Online meeting platform:
google-meet, zoom, teams, or customURL for online meeting (required for online and hybrid events)
URL to event image/banner
Whether event recurs
Recurrence pattern (e.g., “weekly”, “monthly”)
JSON string of ticket type configurations
JSON string of event partners/sponsors
Response
Whether the event was created successfully
ID of the created event
6-character short ID for the event (e.g.,
abc123)Error message if creation failed
Example Response
Event Types
EventPalour supports three event types:- Physical
- Online
- Hybrid
In-person events at a physical location.Required fields:
venuecountrycity
Pricing Models
Free Events
Free events allow open registration without payment:Paid Events
Paid events require ticket purchases:Validation Rules
The Events API validates:Title Validation
Title Validation
- Required: Cannot be empty
- Length: 1-255 characters
Description Validation
Description Validation
- Required: Cannot be empty
- Length: 10-5000 characters (plain text, excluding HTML tags)
- Format: HTML content
Date Validation
Date Validation
- Start Date: Required
- End Date: Required, must be after start date
- Format: ISO 8601 date string or Date object
Type-Specific Validation
Type-Specific Validation
Physical Events:
- Venue required
- Location (country, city) recommended
- Meeting platform required
- Meeting link required and must be valid URL
- All physical AND online requirements
Event Categories
Categories help organize events. You can:-
Use existing category:
-
Auto-create by name:
-
Create custom category:
Event Status Management
Events have four statuses:ACTIVE. Change status using updateEvent().
Permissions Required
Minimum Role: ModeratorTo create events, users must have at least Moderator role in the workspace.
Get Event Details
Retrieve event information:Unique event identifier
6-character short ID
Event title
Event description (HTML)
Current event status
Event type (physical/online/hybrid)
Pricing model (free/paid)
ID of workspace that owns the event
Event start date and time
Event end date and time
Physical venue name
Online meeting URL
Event creation timestamp
Last update timestamp
Error Handling
Common event creation errors:| Error | Cause | Solution |
|---|---|---|
"Authentication required" | No session | Sign in first |
"Workspace not found" | Invalid workspace ID | Verify workspace exists |
"Only moderators and above can create events" | Insufficient permissions | Upgrade role to Moderator |
"KYC verification required for paid events" | Organizer KYC not approved | Complete KYC process |
"End date must be after start date" | Invalid date range | Fix date values |
"Description must be at least 10 characters" | Description too short | Add more detail |
Complete Example
Creating a hybrid event with tickets:Next Steps
Tickets API
Add and manage event tickets
Payments API
Handle ticket payments
Workspaces API
Manage workspace settings
Event Management
Learn about event features