Skip to content

Get Event ​

Returns one event with its description, post, calendar and guest count, plus its public URL and shortcode.

event.description is the rendered HTML; event.meta.description_md is the Markdown the editor shows. event.guests_count counts every guest row, whatever its status, as the events list does. shortcode shows the event on any page, for example [fluent_event event="spring-meetup"].

Endpoint ​

  • Method: GET
  • Path: /fluent-event/v2/events/{id}
  • Controller: EventController@getEvent
  • Route source: fluent-event/app/Http/Routes/api.php:54
  • Controller source: fluent-event/app/Http/Controllers/EventController.php:62

Permissions ​

  • Requires the manage_options capability (a site administrator). FluentEvent has no separate staff roles: its admin API is for administrators only.

Hooks Fired ​

Live sample

The request and response below were recorded on a running FluentEvent site and then anonymised. Names, emails and event titles are fictional, and long lists are cut to a few items.

Get Event​

GET
/events/{id}

Returns one event with its description, post, calendar and guest count, plus its public URL and shortcode.

Controller: EventController@getEvent
Route source: fluent-event/app/Http/Routes/api.php:54

Authorizations​

ApplicationPasswords

A WordPress username and an Application Password.

Type
HTTP (basic)

Parameters​

Path Parameters

id*

Record ID.

Type
integer
Required
Minimum
1

Responses​

Success

application/json
JSON
{
  
"event": {
  
  
"id": 0,
  
  
"post_id": 0,
  
  
"calendar_id": 0,
  
  
"parent_event_id": "string",
  
  
"status": "string",
  
  
"start_at": "string",
  
  
"end_at": "string",
  
  
"timezone": "string",
  
  
"venue_type": "string",
  
  
"meta": {
  
  
  
"cover_url": "string",
  
  
  
"online_meeting_url": "string",
  
  
  
"venue": "string",
  
  
  
"address": "string",
  
  
  
"entry_type": "string",
  
  
  
"show_guest_count": "string",
  
  
  
"capacity": 0,
  
  
  
"show_spots_left": "string",
  
  
  
"start_display": "string",
  
  
  
"description_md": "string"
  
  
},
  
  
"created_at": "string",
  
  
"updated_at": "string",
  
  
"guests_count": "string",
  
  
"title": "string",
  
  
"start_at_local": "string",
  
  
"end_at_local": "string",
  
  
"start_at_site": "string",
  
  
"end_at_site": "string",
  
  
"description": "string",
  
  
"calendar": {
  
  
  
"id": 0,
  
  
  
"title": "string",
  
  
  
"status": "string",
  
  
  
"meta": {
  
  
  
  
"theme_color": "string"
  
  
  
}
  
  
}
  
},
  
"public_url": "string",
  
"shortcode": "string"
}

Playground​

Authorization
Variables
Key
Value

Samples​

Powered by VitePress OpenAPI

FluentEvent developer documentation