adding send_message api