Latest stories

change_call_status

  • Inputs
{
    "call_status": "integer between 0 to 2: 0 is nobody, 1 is all, 2 is user's contact"
}

  • Errors
{
    "call_status": [
        {
            "max value is 2": "maximum valid value is  2"
        },
        {
            "min value is 0": "minimum valid value is  0"
        }
    ],
    "must_login": "user must be login"
}

  • Extra Description
Define call_status which means who can call the user

  • Sample
  • Url:
https://api.pantel.me/a/change_call_status?call_status=0
  • Output:
                                {
    "status": "success",
    "time": 1546089756.9236343
}