Skip to content

Settings API ​

General, email sender and email notification settings, the All Events page, and email previews.

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/settings/generalGet General SettingsReturns the general settings and the page chosen as the All Events page.
POST/settings/generalUpdate General SettingsSaves the general settings. Send only the fields of the box you save; the others keep their values.
GET/settings/pagesSearch PagesSearches published pages for a page setting, and says whether each page already holds the right shortcode or block.
POST/settings/create-pageCreate PageCreates a published page that holds the events block, and selects it for the setting.
GET/settings/emailGet Email SettingsReturns the sender name and address, reply-to and email footer used for guest emails.
POST/settings/emailUpdate Email SettingsSaves the sender, reply-to and footer for guest emails.
GET/settings/email-notificationsGet Email Notification SettingsReturns which guest emails are on, and when reminders go out.
POST/settings/email-notificationsUpdate Email Notification SettingsTurns the confirmation, cancellation and reminder emails on or off, and sets up to five reminder times.
GET/settings/email-notifications/preview/{type}Preview EmailRenders a guest email with sample data, so the settings screen can show it.

FluentEvent developer documentation