Please follow the link. I asked question in the forum.
https://forum.rasa.com/t/how-to-add-intent-and-entites-from-rasa-x-api/38201?u=sairam