Skip to content

Events API ​

Create, read, update and delete events. An event is a fe_event post plus its fe_event_details row, written together.

Authentication ​

  • Every endpoint requires the manage_options capability. Send a cookie plus X-WP-Nonce, or use an Application Password.

Endpoints ​

MethodPathOperationWhat it does
GET/eventsList EventsReturns events with their post title, calendar and guest count, filtered and paginated, for the admin events list and calendar grid.
GET/events/by-slugGet Event by SlugReturns one event, looked up by its post slug, in the same shape as Get Event.
GET/events/{id}Get EventReturns one event with its description, post, calendar and guest count, plus its public URL and shortcode.
POST/eventsCreate EventCreates an event: the fe_event post and its fe_event_details row, in one transaction.
PATCH/events/{id}Update EventUpdates an event and its post. Send the full event: every required field is validated again.
DELETE/events/{id}Delete EventDeletes an event with its post, guests, meta and queued reminders.

FluentEvent developer documentation