Skip to content

Endpoint

  • Method: POST
  • Path: /profile/{username}/notification
  • Edition: PRO
  • Controller: FollowController@toggleNotification
  • Route source: fluent-community-pro/app/Http/Routes/api.php:114
  • Controller source: fluent-community-pro/app/Http/Controllers/FollowController.php

POST Toggle Profile Notification

POST
/profile/{username}/notification

Toggle Profile Notification for the FluentCommunity Profile API.

Controller: FollowController@toggleNotification
Route source: fluent-community-pro/app/Http/Routes/api.php:114

Authorizations

ApplicationPasswords

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

Type
API Key (header: Authorization)

Parameters

Path Parameters

username*

Username extracted from the URL path.

Type
string
Required

Responses

Successful response

application/json
JSON
{
  
"follow": {
  
  
"id": 0
  
},
  
"message": "string"
}

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI

FluentCommunity developer documentation