diff --git a/htdocs/api/index.php b/htdocs/api/index.php
index 660c90d3476bcf47d1962fec95e81154efa9f801..fc4f8bb8dfd60335d1ef5797303fae36098be703 100644
--- a/htdocs/api/index.php
+++ b/htdocs/api/index.php
@@ -58,7 +58,10 @@ if (empty($conf->global->MAIN_MODULE_API))
 
 $api = new DolibarrApi($db);
 
-$api->r->addAPIClass('Luracast\\Restler\\Resources'); //this creates resources.json at API Root
+// Enable the Restler API Explorer.
+// See https://github.com/Luracast/Restler-API-Explorer for more info.
+$api->r->addAPIClass('Luracast\\Restler\\Explorer');
+
 $api->r->setSupportedFormats('JsonFormat', 'XmlFormat');
 $api->r->addAuthenticationClass('DolibarrApiAccess','');