Update api.php

Quote fix