Using the HTTP Api - how to get Bearer token programmatically


I’d like to use the API in my CMS application and I need to know how to get a Bearer token without having to use the share functionality from the Conversations page in the application.


1 Like

HI @nickopris - you can get a token with a POST to rasa X’s /auth endpoint:

curl -XPOST http://localhost:5002/api/auth -d '{"username": "me", "password": <PW>}'
1 Like