Skip to content

Endpoint

  • Method: POST
  • Path: /admin/webhooks
  • Edition: PRO
  • Controller: ProAdminController@saveWebhook
  • Route source: fluent-community-pro/app/Http/Routes/api.php:45
  • Controller source: fluent-community-pro/app/Http/Controllers/ProAdminController.php

POST Save Webhook

POST
/admin/webhooks

Save Webhook for the FluentCommunity Admin API.

Controller: ProAdminController@saveWebhook
Route source: fluent-community-pro/app/Http/Routes/api.php:45

Authorizations

ApplicationPasswords

WordPress Application Passwords — use Basic auth with username:application_password.

Type
API Key (header: Authorization)

Request Body

application/json
JSON
{
  
"title": "string",
  
"course_ids": [
  
  
"string"
  
],
  
"space_ids": [
  
  
"string"
  
],
  
"remove_course_ids": [
  
  
"string"
  
],
  
"remove_space_ids": [
  
  
"string"
  
],
  
"send_wp_welcome_email": "string",
  
"id": "string"
}

Responses

Successful response

application/json
JSON
{
  
"message": "string",
  
"webhook": "string"
}

Playground

Authorization
Body

Samples

Powered by VitePress OpenAPI

FluentCommunity developer documentation