Getting error 403 & JS challenge for an API call

Suddenly today I getting 403 error when calling my project web APIs.

This is only for one of the subdomains I have. Because it return a HTML page the API call fails and is not possible to progress.

I need to avoid nit behaviour.

This is a fragment of the HTML:

<!DOCTYPE html><html lang=\"en-US\"><head><title>Just a moment...</title><meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"><meta http-equiv=\"X-UA-Compatible\" content=\"IE=Edge\"><meta name=\"robots\" content=\"noindex,nofollow\"><meta name=\"viewport\" content=\"width=device-width,initial-scale=1\"><link href=\"/cdn-cgi/styles/challenges.css\" rel=\"stylesheet\"></head><body class=\"no-js\"><div class=\"main-wrapper\" role=\"main\"><div class=\"main-content\"><noscript><div id=\"challenge-error-title\"><div class=\"h2\"><span class=\"icon-wrapper\"><div class=\"heading-icon warning-icon\"></div></span><span id=\"challenge-error-text\">Enable JavaScript and cookies to continue</span></div></div></noscript></div></div><script>(function(){window._cf_chl_opt={cvId: '2',cZone: \"...moviles.net\",cType: 'managed',cNounce: '46552',cRay: '806bea9e2ad65c6c',cHash: '46186c25da957dd',cUPMDTk: \"\\/v1\\/api\\/login?__cf_chl_tk=OgBv3KhU....0JA-1694728969-0-gaNycGzNCns\",cFPWv: 'g',cTTimeMs: '1000',cMTimeMs: '0',cTplV: 5,cTplB: 'cf',cK: \"visitor-time\",fa: \"\\/v1\\/api\\/login?__cf_chl_f_tk=OgB....

</script></body></html>