Add /api to message resource