api/v1/customer/messages/{id}/toggle-notifications

POST

/api/v1/customer/messages/{id}/toggle-notifications

This API method allows any member of the group to turn off notifications for themselves for this specific group.

Request Parameters

Parameter

Value / Type

Required

type

STRING (on/off)

true

Sample Response

{
  "status": true,
  "message": "Successfully updated the group notifications setting"
}
{
  "status": false,
  "message": "Message group could not be found"
}
{
  "status": false,
  "message": "You are not part of this chat group"
}
{
  "status": false,
  "message": "There was an issue updating the group notifications setting"
}