# API: List Queue tasks

# getQueueTasks

List all queue tasks in paginated fashion. Requires queue to be enabled in HostBill.

TIP

This API call uses pagination for results.

# Request

GET /admin/api.php?api_id=API_ID&api_key=API_KEY&call=getQueueTasks

# PHP Samples

# Response

{
    "success": true,
    "logs": [
        {
            "id": "3087",
            "rel_type": "None",
            "rel_id": "0",
            "parent_id": "0",
            "token": "bfd1c5950d5ff43d40f2700c0c469bbf",
            "status": "4",
            "added": "2023-04-19 00:42:57",
            "changed": "2023-04-19 00:42:58",
            "queue": "hb_mail_queue",
            "payload": "",
            "hash": "958c285dbad2bcf379422cc6e231d58e",
            "description": "adminlogin",
            "human_description": "",
            "env": "",
            "notify": {
                "info": [],
                "error": []
            },
            "info": [],
            "error": []
        }
    ],
    "call": "getQueueTasks",
    "sorter": {
        "perpage": "1",
        "totalpages": 448,
        "sorterrecords": "448",
        "sorterpage": 1
    },
    "server_time": 1681830847
}
Last Updated: 9/30/2024, 2:47:06 PM