Skip to content

Endpoint

  • Method: POST
  • Path: /settings/snippets-settings
  • Edition: PRO
  • Controller: ProAdminController@updateSnippetsSettings
  • Route source: fluent-community-pro/app/Http/Routes/api.php:30
  • Controller source: fluent-community-pro/app/Http/Controllers/ProAdminController.php

POST Save Snippets Settings

POST
/settings/snippets-settings

Save Snippets Settings for the FluentCommunity Settings API.

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

Authorizations

ApplicationPasswords

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

Type
API Key (header: Authorization)

Request Body

application/json
JSON
{
  
"snippets": {
  
  
"custom_css": "string",
  
  
"custom_js": "string"
  
}
}

Responses

Successful response

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

Playground

Authorization
Body

Samples

Powered by VitePress OpenAPI

FluentCommunity developer documentation