Notification token

Use this (https://twitoos.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

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

Error responses

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

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