api for messaging service
api for messaging service