Latest stories

delete_contact

  • Inputs
{
    "contacts": "a list of dictionaries containing phone_number or contact_id as Dict-key and it's value as Dict-value: example: [{\"phone_number\": \"+11111111111\"}]"
}

  • Errors
{
    "invalid_contact": "input contact does not exist in the user's contacts",
    "must_login": "user must be login",
    "no_valid_phone_number": "phone_number is not valid"
}

  • Extra Description
Deletes all contacts listed in input from contacts of the user

  • Sample
  • Url:
https://api.pantel.me/a/delete_contact?contacts=[{"phone_number": "+11111111111"}]
  • Output:
                                {
    "delete_contacts": 1,
    "fully_cached": "False",
    "status": "success",
    "time": 1547466233.663033
}