Latest stories

get_user_info

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

  • Errors
{
    "must_login": "user must be login",
    "null value not allowed": "invalid phone number"
}

  • Extra Description
Gets a list of users as explained below and returns a list of information about these users

  • Sample
  • Url:
https://api.pantel.me/a/get_user_info?users=[{"phone_number": "+11111111111"}]
  • Output:
                                {
    "result": [
        {
            "call_status": 1,
            "deleted_account": false,
            "deleted_account_method": 0,
            "description": null,
            "id": 1001919,
            "image_path": null,
            "image_server_id": null,
            "is_blocked": false,
            "is_bot": false,
            "last_active_time": 1546086542.865106,
            "name": "JohnDoe",
            "phone_number": "+11111111111",
            "user_name": null
        }
    ],
    "status": "success",
    "time": 1547464614.6492124
}