An unexpected error has been intercepted !

We are sorry for this bad experience and if you could send us the following error to correct it, it would be great !

Error in file "/var/www/site/Classes/CApi.Class.php" on line 182 :

Message : CURL : Error during processing the request to the API : Could not resolve host: api

Trace :
#0 /var/www/site/init/announcements.php(10): CApi->request() #1 /var/www/site/index.php(93): require_once('/var/www/site/i...') #2 {main}