Latest stories

migrate_authentication

  • Inputs
{
    "phone_code": "string: length=5",
    "phone_number": "phone number: destination phone number: example: +18885559977"
}

  • Errors
{
    "must_login": "user must be login",
    "phone_code": [
        {
            "min length is 5": "minimum length of phone_code is 5"
        },
        {
            "max length is 5": "maximum length of phone_code is 5"
        }
    ],
    "phone_number": [
        {
            "null value not allowed": "invalid phone number"
        }
    ],
    "wrong_or_expired_phone_code": "phone code is not correct"
}

  • Extra Description
User must have a phone code received on the destination phone number from migrate with the code user can authenticate the migration to the new phone number

  • Sample
  • Url:
https://api.pantel.me/a/migrate_authentication?phone_code=23177&phone_number=+1**********
  • Output:
                                {
    "status": "success",
    "time": 1546086936.2571876
}