Rest-ful API for decentralized messaging