Skip to main content
POST
/
followPartner
Follow/unfollow partner
curl --request POST \
  --url http://localhost/mogl/mogl-backend/api/followPartner \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": 123
}'

Documentation Index

Fetch the complete documentation index at: https://developer.mogl.online/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

JWT Bearer token authentication. Use the /api/login endpoint to obtain a token.

Body

application/json
id
integer
required

Partner user ID

Example:

123

Response

200

Follow: returns follow record data. Unfollow: returns empty body (backend bug — no return statement on unfollow path)