Update api.php

Typo fix