added api for public messages