Latest stories

contact_search

  • Inputs
{
    "search_term": "string"
}

  • Errors
{
    "must_login": "user must be login"
}

  • Extra Description
Get a term and search among all user names, first names, last names etc of all registered users in Pantel for matches. returns true for a full_match if the term has complete match, otherwise returns false

  • Sample
  • Url:
https://api.pantel.me/a/contact_search?search_term=Ali Ebrahimi
  • Output:
                                {
    "result": [
        {
            "contact_id": 9870897,
            "contact_name": "Ali Ebrahimi",
            "first_name": "Ali",
            "full_match": true,
            "image_path": "*/*/*/*/*/*d4dc28805653e7145ad0b95b4c214f18d/i562cc9414f47cab0df2d7cee3a9834f1.jpg",
            "image_server_id": 1,
            "last_name": "Ebrahimi",
            "phone_number": "+***********",
            "user_name": "aliebrahimi"
        }
    ],
    "status": "success",
    "time": 1547460843.8743672
}