API for Sending Message