message api and view