Add a message resource to the API