Keep getting "Forbidden" status trying to call the API

Please show your code.