fixed send grid api call