Latest stories

contact_unblock

  • Inputs
{
    "phone_number": "phone number: example: +18885559977: excludes other inputs",
    "user_id": "integer: optional: excludes other inputs",
    "user_name": "string between 4 to 40 characters: optional: excludes other inputs"
}

  • Errors
{
    "must_login": "user must be login",
    "phone_number": [
        {
            "null value not allowed": "phone_number is not valid"
        }
    ],
    "user_not_found": "input spec is wrong"
}

  • Extra Description
Unblock any user by one of the parameters listed as input if has been blocked before by the user

  • Sample
  • Url:
https://api.pantel.me/a/contact_unblock?phone_number=+***********
  • Output:
                                {
    "status": "success",
    "time": 1526966340.437936
}