curl --request POST \
--url http://localhost/mogl/mogl-backend/api/saveMyNotificationPreference \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"group_id": 1,
"is_email_on": "Y",
"is_sms_on": "Y",
"is_inapp_on": "Y"
}
'curl --request POST \
--url http://localhost/mogl/mogl-backend/api/saveMyNotificationPreference \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"group_id": 1,
"is_email_on": "Y",
"is_sms_on": "Y",
"is_inapp_on": "Y"
}
'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.
JWT Bearer token authentication. Use the /api/login endpoint to obtain a token.
Preferences saved