← All articles
WordPress Plugins
EventON REST API Plugin Documentation
Complete guide to using the EventON REST API Plugin for programmatic access to events and calendar data.
Published February 10, 2024 · Updated October 14, 2025
eventonrest-apiwordpresseventscalendar
EventON REST API Plugin Documentation
Overview
The EventON REST API Plugin provides a comprehensive REST API interface for the EventON WordPress calendar plugin, enabling you to access and manage events programmatically.
Installation
- Ensure EventON plugin is installed and activated
- Purchase the EventON REST API Plugin from CodeCanyon
- Upload and activate the plugin
- Configure API settings in EventON > REST API
Authentication
Generate an API key in the plugin settings:
X-API-Key: your-eventon-api-key
Endpoints
Events
Get All Events
GET /wp-json/eventon/v1/events
Query parameters:
start_date: Filter by start date (YYYY-MM-DD)end_date: Filter by end date (YYYY-MM-DD)category: Filter by event category slugper_page: Number of events per page (default: 10, max: 100)page: Page number for pagination
Get Event by ID
GET /wp-json/eventon/v1/events/{id}
Create Event
POST /wp-json/eventon/v1/events
Content-Type: application/json
{
"title": "Annual Conference 2025",
"start_date": "2025-11-15 09:00:00",
"end_date": "2025-11-15 17:00:00",
"location": "Convention Center",
"description": "Annual industry conference"
}
Update Event
PUT /wp-json/eventon/v1/events/{id}
Content-Type: application/json
{
"title": "Updated Event Title",
"start_date": "2025-11-16 09:00:00"
}
Delete Event
DELETE /wp-json/eventon/v1/events/{id}
Event Categories
Get All Categories
GET /wp-json/eventon/v1/categories
Get Category by ID
GET /wp-json/eventon/v1/categories/{id}
Event Tags
Get All Tags
GET /wp-json/eventon/v1/tags
Custom Fields
Access event custom fields by including them in the response:
GET /wp-json/eventon/v1/events/{id}?include_meta=true
Recurring Events
Get all instances of a recurring event:
GET /wp-json/eventon/v1/events/{id}/instances
Calendar Data
Retrieve formatted calendar data for a specific month:
GET /wp-json/eventon/v1/calendar?year=2025&month=11
Error Codes
200: Success201: Created400: Bad Request401: Unauthorized404: Not Found500: Server Error
Integration Examples
JavaScript/Fetch
fetch('https://yoursite.com/wp-json/eventon/v1/events', {
headers: {
'X-API-Key': 'your-api-key'
}
})
.then(response => response.json())
.then(events => console.log(events));
cURL
curl -H "X-API-Key: your-api-key" \
https://yoursite.com/wp-json/eventon/v1/events
Support
Need help? Contact us:
- Support Form
- Request custom integration services