Move to api_request utils