Handle the API 'status' response in the same way as the HTTP status code.