Notification token

Use this (https://YOUR-SITE.COM/mobile_api/save_pnotif_token) API to access the Notification Token Management Endpoint


Post parameters

Field Value Remarks
session_id ​Access token ID E.g. de25cc16eb00960f076...
token Push notification token E.g. c625cc16eb0096...
type Client device type ios/android (Default is android)

Success response

{
    "err_code": "0",
    "code": 200,
    "message": "Notification token saved",
    "data": []
}

Error responses

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

{
    "err_code": "invalid_token",
    "code": 400,
    "message": "Incorrect token value",
    "data": []
}