Add initial functionality for API call.