Returns the paginated list of inbound webhooks, and on the first page also the spaces and courses available as enrolment targets.
The courses key is only present when the course_module feature is enabled. Pass search to filter by webhook title.
Endpoint
Method:
GETPath:
/admin/webhooksEdition: PRO
Controller:
ProAdminController@getWebhooksRoute source:
fluent-community-pro/app/Http/Routes/api.php:50Controller source:
fluent-community-pro/app/Http/Controllers/ProAdminController.phpRequires the FluentCommunity community-admin permission (or a WordPress super admin).
Requires FluentCommunity Pro.
Live sample
The request and response below were recorded against a running FluentCommunity install and then anonymised — member names, emails, avatars and post content are fictional, and long collections are trimmed to a few entries.
GET List Webhooks
Returns the paginated list of inbound webhooks, and on the first page also the spaces and courses available as enrolment targets.
Controller: ProAdminController@getWebhooks
Route source: fluent-community-pro/app/Http/Routes/api.php:50
Authorizations
WordPress Application Passwords — use Basic auth with username:application_password.
Parameters
Query Parameters
Search read via $request->getSafe() in getWebhooks().
Page read via $request->get() in getWebhooks().
Responses
Successful response