/v1/messages api, WIP