Did You Know?

Stay Ahead In Digital Economy

Delete notifications

Author: admin 46 views

Please use this (https://talk.jooj.us/mobile_api/delete_notifs) API for access (notifications & mentions) deleting endpoint

POST PARAMETERS

Field Value Remarks
session_id ​Access token ID E.g. de25cc16eb00960f076…
scope ​Array of notification ID (Integer) E.g. [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, …]

SUCCESS RESPONSE

{
    "valid": true,
    "data": [],
    "code": 200,
    "message": "Notifications deleted successfully"
}

ERROR RESPONSES

{
    "code": 401,
    "data": [],
    "message": "Unauthorized Access"
}

{
    "code": 400,
    "err_code": "invalid_request_data",
    "message": "Notification IDs are missing or invalid",
    "data": []
}
Loading...