status is done (outcome in result) or failed (reason in error).wait to hold the request until the task has ended, so you need fewer polls; data.timed_out tells whether the wait ran out first.hosting:read, hosting-wordpress:read or vps:read. Tasks are kept for 30 days.API-key: ********************Authorization: Bearer ********************curl --location 'https://mijn.host/api/v2/tasks/3f9a1c0b7d2e4f6a8b1c2d3e4f5a6b7c?wait=30' \
--header 'Accept: application/json' \
--header 'User-Agent: my-application/1.0.0' \
--header 'API-key: <api-key>' \
--header 'Content-Type: application/json'{
"status": 200,
"status_description": "Request successful",
"data": {
"task": {
"id": "3f9a1c0b7d2e4f6a8b1c2d3e4f5a6b7c",
"action": "wordpress_install",
"status": "done",
"progress": 100,
"resource": {
"type": "hosting",
"id": 12345
},
"created_at": "2026-11-18T09:12:00+01:00",
"started_at": "2026-11-18T09:12:01+01:00",
"finished_at": "2026-11-18T09:12:40+01:00",
"result": {
"installation_id": "26_10383",
"url": "https://example.com",
"admin_url": "https://example.com/wp-admin/",
"warnings": []
},
"error": null,
"poll_url": "/tasks/3f9a1c0b7d2e4f6a8b1c2d3e4f5a6b7c"
},
"waited_seconds": 12.4,
"timed_out": false
}
}