Adding call to api